skip to content »

specbooks.ru

Rowupdating event not

Thanks, Marion Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.

Continue = True End If End Sub Note The feedback system for this content will be changing soon. If content within a comment thread is important to you, please save a copy.

Now you can ask questions directly to me on my new site ASPForums.

Sql Command("sp_insert_cpt_code_master", Sql Conn) ' Cmd.

Please refer to the Dev Website Terms of Use for more information.

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.

rowupdating event not-26

If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.

rowupdating event not-27rowupdating event not-18rowupdating event not-43rowupdating event not-26

' Protected Sub Grid_Row Updated(By Val sender As Object, By Val e As Dev Express. Message End If End Sub // Assumes that connection is a valid Sql Connection object. Row Updating -= new Sql Row Updating Event Handler(On Row Updating); cust Adapter. Add(New Object() _ ) ' Set the Row Error containing the value for the third column. For more information on the upcoming change, we invite you to read our blog post.I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. 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.When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires. Yes, I did put the breakpoint at the Row Updating line (and not in the function). Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.