Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Does the onblur event still work in IE7?

Thread Tools

Does the onblur event still work in IE7?

John Kotuby
Posts: n/a
Hi all,

I am integrating some 3rd party grids into a large ASPX form page in VS 2008
using VB.

I have 4 different grids on the page. The object is to not allow the user to
leave a grid if he/she is in the middle of editing a row and has not
selected the button to "save" the changes to the client-mode grid. BTW, none
of these "changes" are actually saved to the database until the entire page
is posted back (I am not using Callbacks on each row edit).

So I am trying to apply the onblur event to the Table element that contains
the Grid. Even though I have read much documentation that states onblur will
operate with Table and Div elements, the JavaScript function I have created
as a handler is not firing.

Thus I pose the question.

I notice that intellisense does not allow onblur to be entered for a Table
element but does allow it for an input type="text".

I have created the attribute in server code for this reason.
Me.Grid1.Attributes.Add("onblur", "isGrid1Editing()")

The onblur attribute appears in the generated HTML but it does not seem to
be firing.
Can anyone explain why this might be the case?
Thanks for any response...

Reply With Quote
Posts: n/a

On blur suppose to fire when you enter in to the element...
okay you can use onmouseover instead of onblur.

Best of luck

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can you use the onblur event with an ajax control Paul ASP .Net 0 10-28-2008 03:38 PM
Does the tab key override the onblur event? Rithish Saralaya Javascript 2 11-04-2004 01:06 PM
BODY onBlur event? D. Alvarado Javascript 2 10-25-2004 07:36 AM
Onblur() event cause infinite loop Bartosz Wegrzyn Javascript 2 09-08-2003 12:48 AM
onblur event Luthor Javascript 0 08-11-2003 12:03 AM