Rowupdating is not firing in gridview asp net
The exact situation I faced is like this – I have a Grid View with a column which contains an edit button.
The button is associated with the Command Name property as “Edit”.
So the code of my Rad Grid looks as follows: The problem is that the Item Command event doesn't get fired unless I enable the "Enable Post Back On Row Click" property on the Client Settings.
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.
I don't like to do this however since then, every click on the row causes a postback which I don't really like.
Can somebody give me a hint of what I'm doing wrong?So when we change the Command Name property of the buttons to some other text then it will work fine.