Rowupdating is not firing in gridview asp net
If the commandname is delete, then delete the row, from radgrid and by calling the webservice method to delete as shown in demo. But I guess this would lead to problems with the postback Viewstate architecture...having a button that posts back but wasn't there before.. Update: Alternatively, do you know how to retrieve the current row without using the On Row Selected event.
Basically if I have a Grid Template Column inside my grid (an edit button on each row for instance) like this Hi Riddhi, I reviewed the setup, and the code looks correct.
The HTML code for the Grid View is as follow : Till now everything looks fine but the problem arises when you run this application.
Scenario: Button inside Grid Button Column with Command Name which when fired does some logic.
Problem: The method that supposed to execute on button event(click) was not executing at all.
The Grid View is associated with the On Row Command event.
Then in the code behind I have handled the On Row Command event.
I don't like to do this however since then, every click on the row causes a postback which I don't really like.