I am working on a application where i am using rowupdating event of the gridview.
I am using templatefield in my columns so i am not able to get the new values from the textboxws that i am having in the gridview. Following is my code in rowupdating: i want to get the new values form these textboxes but it is always giving me old values.
It has events and methods to find the selected rows.
Hello Teunis, Thank you for sending the code snippet to me.
I've examined it and suggest that you modify it in the following manner: 1) The ID property of a dynamically added control should be specified before adding the control to the hierarchy of controls: 2) The dynamically added control should be added to the hierarchy of controls before binding the control; 3) References to the dynamically added control can be obtained via the ASPx Grid View's Find Edit Form Template Control method: Please take a look at the ASPx Grid View - Row Updating - Example article in our documentation for more information.
Thanks, Mike -------------------- Check if Search Engine is able to answer questions faster than I do!
Upon modifying the values in textbox which come from Edit Item Template , the new values dont show in the event handler rowupdating(), instead I get the values which appear when the page was rendered.
-------------------- Mike, Thanks for the quick response. Table with table Rows and table Cells in these rows. Do you think the Find Edit Form Template Control still is able to get these controls in th eabove situation? Teunis Hello Teunis, We are glad to hear that you found a solution.
But the Find Edit Form Template Control keeps on returning null. If you need any further assistance on this subject, please feel free to reactivate this ticket.
BORefered Table Dim Obj Controller Release As Controller. Is Post Back = False Then Try Fill Tables In Drop Down() Bind Data() 'ddl_Table Name.
Message) End Try End If End Sub Protected Sub Drop Down List1_Selected Index Changed(By Val sender As System.