473,382 Members | 1,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Does the onblur event still work in IE7?

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...
Jun 27 '08 #1
2 2745
Hi,

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

Best of luck

Munna

www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
Jun 27 '08 #2
"Munna" <mu******@gmail.comwrote in message
news:02**********************************@f36g2000 hsa.googlegroups.com...
On blur suppose to fire when you enter in to the element...
This event is supposed to fire when you exit from the element...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bartosz Wegrzyn | last post by:
I use onblue event to validate fields in my form. I do this onblur="return isname()" and so so ... I have one form with 20 fields. My problem is that when the focus is for example on the...
2
by: D. Alvarado | last post by:
Hi, I'm having some trouble with the "onBlur" event in the BODY tag. Ideally, what I want to happen is that when someone leaves window A, window A executes a command. I had put <body...
4
by: Rithish Saralaya | last post by:
Does the tab key override the onblur event? I have a text field whose input I validate on blur, and set the focus back again if invalid. Effectively, I do not want the user to move out of the...
5
by: Dave Hammond | last post by:
Hi All, I have a web form which performs certain actions upon moving focus away from a field. However, if the user clicks the top corner 'X' icon to close the window, the onBlur event still...
1
by: neil S via DotNetMonster.com | last post by:
I have a custom control with a textbox and dropdown list. The dropdown list is hidden and acts as a data source for the textbox. When the user enters text in the textbox, an onKeyup event is...
1
by: Mahesh | last post by:
Hi all, Can any one advice what can be a work around here? When i run the code below, its showing the alert msg twice onfocus out of tf1 Thanks in advance, Maheshkumar <html>
1
by: Duncan | last post by:
Hi all, I'm tearing my hair out on this! I have a simple ASP.NET 2 page with a TextBox control, in the PreRender I set ClientSide events:- Response.Attributes.Add("onchange",...
2
by: wolverine | last post by:
Hi All, In Mozilla Firefox, to onblur and onfocus event of each and every html element, the browser itself will attach a native event handler. I mean if you type,...
9
by: aashishn86 | last post by:
Hi!! i want to validate a list box onthe onblur event and if no value is selected , display a message on the left using <span> and innerHTML here's what i have written <html> <head>...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.