Rowupdating event not
I have tried to add an event handler to the Row Updated event of my custom control but it is not called.
I have tried to override On Row Updated in my custom control, but the breakpoint never gets hit.
I have tried to not override in control and instead use delegates like I described in ...
Hi all, I can't seem to find a post relating to the Row Updated event not firing. i ve written code like this Drop Down List ddl1= (Drop Down List)grd Validations. I've tried Image Button (which has known issues), Link Button, and just plain old vanilla Button.
Yes, I did put the breakpoint at the Row Updating line (and not in the function).
You have to make sure that you aren't setting your Grid View's data when it is not postback.
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.
Dim cust Adapter As Sql Data Adapter = New Sql Data Adapter( _ "SELECT Customer ID, Company Name FROM Customers", connection) ' Add handlers. Row Updating, New Sql Row Updating Event Handler( _ Address Of On Row Updating) Add Handler cust Adapter. Row Updating, _ New Sql Row Updating Event Handler(Address Of On Row Updating) Remove Handler cust Adapter. Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.-Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? It's quite common that people create the data source and bind this source to the Grid View in their Page_Load() method.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.