Rowupdating


11-Dec-2019 18:37

If I call the Bind Grid() at the start of Row Updating then the Drop Down List is available, but the selected Value is lost.

From what was said in the other comment, should I be calling the Build Grid from somewhere other than Page_Load()?

Is there a way I can pass this value back to the server and use it?

generate a javascript function with the name "__do Post Back".

rowupdating-74

Free webcam sex with girls without signing up

Get String("Grid View_Unhandled Even t", new object[] { this.

We have an application which creates maintenance screens based on an xml configuration file. This all works However, we have a new requirement to add Drop Down Lists to some columns to enforce data integrity.

I have therefore added the relevant xml, and when creating the grid, create the column as a Template Field and the Edit Item as a Drop Down List with its own Sql Data Source.

This allows you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

This allows you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs I get the same problem.So far so good, this all works, the grid is displayed, the Drop Down List appears, filled with the correct data, shows the correct initial item and lets the user select another. The when trying to get the value from the Drop Down List in the Row Updating event, I cant find it. I create a Recursive Find Control method that ran through every control on the page, and it cant find it.