Detailsview itemupdating not firing
What I want is to redirect the user back to the list page if they click on Cancel as well.There are several issues regarding Itemupdating and Itemupdated event firing twice and I can't find any solution on the web to my problem.This article will show you how to use Details View control without using of SQLData Source data control.In my previous article Details View Rich Data Control we have learned how to use Details View using SQLData Source data control... The “ed” events, on the other hand, should perform the actual task of the button. We saw such an event handler when we handled the Protected Sub grid_Selected Index Changing(By Val sender As Object, ➥ By Val e As Grid View Select Event Args) ➥ Handles grid.
Click the button below this post to show your appreciation!
Anyway, the column I am updating is in the page behind I thought this would do the trick, as it is the same format as your example on page 472 Yes, I believe that should work.
I was really hoping to get at least one of the events working on the Details view as they look very handy. The breakpoint has moved down one line but its colour remains red with no arrow.
If you don’t like their default edit mode appearances, you can customize them using templates.
Before we write any code, let’s see what this edit mode looks like. The events that end in “ing” are fired just before their past-tense counterparts, and should be handled only if you want to implement some logic to determine whether the action in question should be performed.