Blur Event on Footer TxtBox - Save Grid

Is there a way to put a blur event on a textbox, within a gridview footer - so that when the user moves focus, etc. off said textbox - a server-side event is called - like save the grid/datasource, etc. - similar to a button click event
tbaseflugAsked:
Who is Participating?
 
souvik2008Commented:
The simple onBlur event should work . Just add the onBlur event declaration in the textbox declaration like this :  <asp:textbox id="textbox1"  runat="server" onBlur="my_event"></asp:textbox>
Now write the event in the .cs page as :

protected void my_event(object sender, System.EventArgs e)
{
    //your code here

}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.