M
Mark
I've created a datagrid programatically, and added it a placeholder control.
The datagrid contains an edit button for each record. I need to capture
this event some how. However, seeing as the placeholder control appears to
nuke its contents (the DataGrid) on postback, I can't seem to capture
anything. I'm under the assumption that for an event to be raised like
(MyDataGrid_SelectedIndexChanged) to fire, that the placeholder is going to
have to maintain its contents between postbacks - perhaps I'm wrong?
Any suggestions on how to make this work assuming:
1. The datagrid must be created programmatically and added to the
placeholder the first time this page is loaded.
Thanks in advance!
Mark
The datagrid contains an edit button for each record. I need to capture
this event some how. However, seeing as the placeholder control appears to
nuke its contents (the DataGrid) on postback, I can't seem to capture
anything. I'm under the assumption that for an event to be raised like
(MyDataGrid_SelectedIndexChanged) to fire, that the placeholder is going to
have to maintain its contents between postbacks - perhaps I'm wrong?
Any suggestions on how to make this work assuming:
1. The datagrid must be created programmatically and added to the
placeholder the first time this page is loaded.
Thanks in advance!
Mark