Know if I press Add Record button in NeedDataSource

2 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 09 Nov 2011 Link to this post

    Hi...
    When I press the button "Add new record" integrated in the RadGrid I enter (1°position in the Call Stack) in the NeedDataSource method.

    My question is "is it possible know which event run before? If I press the Add Button or a simply Autopostaback of other control in the page? Exist a property of RadGrid that indicate me that the Add Button is pressed ?".

     Thanks
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 09 Nov 2011 Link to this post

    Hello,

    Yes, for that Please check below links.

    Event sequence : "On edit/update/insert/delete action or paging/sorting/grouping/filtering operation"
    Commands that invoke Rebind() implicitly

    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top