Find control in rowupdating event


It's how the values of regular Template Fields end up in e. There is a chance it is called when going to Edit mode if you set Conflict Detection="Compare All Values" on your Data Source Control. For Data Binding in code-behind, I don't think that will work. When all you've got is a Hammer, Every Problem looks like a Nail. My dropdownlist is created and initialized at run time in the template base class inside the grid.

The grid attaches to a static datatable which is created by selections from user input.

find control in rowupdating event-62

Find control in rowupdating event Free horny girls on cam no reg

It's probably just example code, so no getting knickers in a bunch over a typo, OK? If this post contains any code, I may or may not have tested it.

If this post contains any code, I may or may not have tested it.

This is full test code, using Northwind, showing binding the drop down list and showing that the event Row Editing is actually still looking at the item template, not edit item template.

I thought that might be the case when I noticed (breakpoints and tracing) that the Grid View did not yet have an edit row set.

It's probably just example code, so no getting knickers in a bunch over a typo, OK?