Detailsview 1 itemupdating
This was the only way I got things to worked for me.The Item Updated event never fired but I got the Details View to works how I wanted.If user clicks on paging link at bottom of Detail View control, then Page Index Changing event fires.Another important property of Detail View control is Pager Settings.Back Color=”Light Goldenrod Yellow” Border Color=”Tan” Border Width=”1px” Cell Padding=”2″ Data Key Names=”ID” Fore Color=”Black” Grid Lines=”None” Height=”50px” onitemdeleting=”Details View1_Item Deleting” onitemupdating=”Details View1_Item Updating” onmodechanging=”Details View1_Mode Changing” onpageindexchanging=”Details View1_Page Index Changing” Width=”125px” Now, After doing this next step to bind the Details View control from Database.Here, we first insert record in to database and fetch record from database and display it to Details View control in ASP. write below code on SAVE button for insert and bind data to Details View in
When I select an item in Grid View, that item shows up on my Details View. We're a friendly computing community, bustling with knowledgeable members to help solve your tech questions.Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.I solved this problem by changing the mode in the Mode Changing event handler and then rebinding the Details View control.Problem 2: When clicking the update button I handle the updating of the order in the Item Updating event but the Item Updated never fires and the Details View never change the mode to Read Only after the data was updated.