Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Multiple requests sent to server in IE 8 when editable cell has highlighted text
14/09/2011
17:28
Avatar
agenaille
New Member
Members
Forum Posts: 2
Member Since:
24/08/2011
sp_UserOfflineSmall Offline

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!

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information