Forum
17:28
24/08/2011
Hello,
We are experiencing a very odd issue that only occurs in IE 8. We are using cell edit. When a user clicks to activate a cell with a text input inside, this focuses the cell and the text in the text input is highlighted. If the user decides to immediately click a link that causes a form submission and page refresh, this results in IE 8 kicking us out of the application. It seems as if something is happening, or maybe not happening, that crashes the current IE tab (our page). The request seems to complete, but IE 8 trys to recover the tab and sends an empty GET request. This fails our request filter because the GET request lacks necessary parameters.
The problem seems to miraculously disappear if we ensure no text is highlighted in the editable text input. Our proposed hack/fix is to bind the blur event on the input and change the selection to 0,0 so that no text is highlighted.
jQuery(elem).blur(function(){
//For IE, make sure nothing is selected
if(elem.createTextRange){
var range = elem.createTextRange();
range.collapse(true);
range.moveEnd('character', 0);
range.moveStart('character', 0);
range.select();
}
});
I should note that we stripped away any custom events/properties that we have applied to the grid and this problem seems to persist. We would rather not apply our hack to fix this. Has anyone else seen this issue? Are there any suggestions?
Thanks!
Most Users Ever Online: 715
Currently Online:
45 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66