Detailsview itemupdating not firing
I have a Details View with a number of Template Fields, (plus other types of fields). Another has Drop Down List, which has its selected value initialised when editing, (from a session variable source). Image Protected With Events Encrypt Button As System. Unfortunately I've found that to get the click event to fire I need to re-bind the Details View when posting back the page, but this loses the newly selected option in the Drop Down List. Then in the On Data Bound event for the dropdownlist (dd Edit Category_Data Bound) I have this code: protected void dd Edit Category_Data Bound(object sender, Event Args e) Now some people may scream a this so if that is the case you can add a property of your to a control that you create that inhertis from the dropdownlist and go through all the hoops, but this is a quick and dirty (and i mean Dirty) way to do what you want! Hi all, I have an image button control and button control on same page. So when i press enter then the click event of the image button gets called. I already checked that there is an event handler (Tried both in the html and the code behind) When I debug I can see that the page does not even go to the event handler. Here is the code with necessary abbreviations: Thanks for any reply, Toro.
Did you try debugging the code by putting a break point in that method with F9 and then running the site by pressing F5? Hi Imar, I have some sort of result by adding Date_Authorised = Get Date() on the command control. When I try pressing F10 to advance the code nothing happens in the browser and I am not returned VWD. Click the button below this post to show your appreciation! From here I can insert a new Name but the Your_Age column is not updated via the Details View1_Item Inserting method. I'm starting to be a little fed up with :-( Thanks in advance, Br, Mark.
Button Protected With Events Decrypt Button As System. If I set the button's causes validation event they do still validate the Required Field Validators so at least something about them is working :) Anyone with a idea of what is going on with this project?
What I want is to redirect the user back to the list page if they click on Cancel as well.