G
Guest
Hi,
I have a page that has a datagrid bound to a dataset. Items are added to
the dataset at particular times (ie the click event of an item in a tree
control) then bound to the grid. The grid has an image button in a Template
column that is used to remove an item (dataset row). I can't re-bind the
grid on the postback or I lose the event handler for the button. I also have
a column that contains a textbox that I need to handle the TextChanged event,
but because of not being able to bind on the postback, I lose the binding to
the grid before I get to the event handler. How can I either prevent or work
around this?
I have a page that has a datagrid bound to a dataset. Items are added to
the dataset at particular times (ie the click event of an item in a tree
control) then bound to the grid. The grid has an image button in a Template
column that is used to remove an item (dataset row). I can't re-bind the
grid on the postback or I lose the event handler for the button. I also have
a column that contains a textbox that I need to handle the TextChanged event,
but because of not being able to bind on the postback, I lose the binding to
the grid before I get to the event handler. How can I either prevent or work
around this?