[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Blur Event on Footer TxtBox - Save Grid

Posted on 2009-02-23
Medium Priority
Last Modified: 2012-05-06
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
Question by:tbaseflug
1 Comment

Accepted Solution

souvik2008 earned 2000 total points
ID: 23714376
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


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question