This is a migrated thread and some comments may be shown as answers.

Know if I press Add Record button in NeedDataSource

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 09 Nov 2011, 11:55 AM
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

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 09 Nov 2011, 12:09 PM
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
Tags
Grid
Asked by
lupotana
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or