NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.It seems like the Java Script can get mangled otherwise.We will bind C1Combo Box in each row using the Row Data Bound event of C1Grid View.Selected Value property is set to make the C1Combo Box show the value for that particular row from datasource.We can achieve the same functionality using Datakeys. In this example, I am going to retrieve values from categories table of Northwind database. Drag a Grid View into the Web Form and assign Data Key Names property with the primary key column i.e. In the gdview_Row Editing and gdview_Row Deleting event, we have used the below code to retrieve categoryid from datakey of Grid View, int catid = int. I put a breakpoint on the Row Updating event handler and found that the event is not fired. I put a breakpoint on the Row Updating event handler and found that the event is not fired. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.
You have to make sure that you aren't setting your Grid View's data when it is not postback.
For a change, C1Combo Box has been used in this blog unlike Drop Down List used in the previous one.
C1Grid View is bound to Now as you can see from the above HTML code, C1Combo Box dl Country, is not bound to any datasource at design time.
On Row Deleting - can call registered event handlers" I couldnt figure out how to continue this thread, but the issues in it are related so i'm including it as a reference.
In my custom grid View control I cannot raise the Row Updated event.