Blur Event on Footer TxtBox - Save Grid

Posted on 2009-02-23
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
    LVL 2

    Accepted Solution

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    Using Spire.PDF In ASP.NET 3 31
    How to count json data 2 41
    ASP.NET MVC Edit ViewModel Data 6 24
    How to perform calculation 2 21
    I have developed many web applications with asp & and to add and use a dropdownlist was always a very simple task, but with the new, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now