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

    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 ?".

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

    Posted 09 Nov 2011 Link to this post


    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

    Jayesh Goyani
  3. DevCraft R3 2016 release webinar banner
Back to Top