G
Guest
Hi,
I have a datagrid containing a number of item templates, inside of these
item templates I have various controls like the textbox. The user is able to
edit all the fields on the datagrid at once and then click an update button.
I'm trying to use the OnTextChanged event to capture which rows where updated
before I update the DB. I have added the line OnTextChanged="RowChanged" to
my text box control in the HTML and added the event handler called RowChanged
to the code behind. Is there something else I need to do to make this event
work?
My understanding is that this event does not get called until the page is
posted back, so I'm hoping that when I click the update button this event
will fire for all rows that have changed and then the update event will fire,
is this correct? I'm following the example
http://msdn.microsoft.com/library/d...QuestionsAboutASPNETDataGridServerControl.asp
Thanks
N
I have a datagrid containing a number of item templates, inside of these
item templates I have various controls like the textbox. The user is able to
edit all the fields on the datagrid at once and then click an update button.
I'm trying to use the OnTextChanged event to capture which rows where updated
before I update the DB. I have added the line OnTextChanged="RowChanged" to
my text box control in the HTML and added the event handler called RowChanged
to the code behind. Is there something else I need to do to make this event
work?
My understanding is that this event does not get called until the page is
posted back, so I'm hoping that when I click the update button this event
will fire for all rows that have changed and then the update event will fire,
is this correct? I'm following the example
http://msdn.microsoft.com/library/d...QuestionsAboutASPNETDataGridServerControl.asp
Thanks
N