hi i have a radgrid which is populated with ListA (generated from database) within OnNeedDataSource,
The radgrid has command a command button. the command button trigers a radajaxloading panel. In RadGrid1_ItemCommand I take out some record from database, and call RadGrid1.Rebind() to reflect the change.
During debug i can step through all these code and even in the OnNeedDataSource method called by RadGrid1.Rebind() method after item command i can see ListA has changed (with some records removed).
However when I proceed to the end the RadGrid still got the original ListA with the records that should be removed.
any idea what I am doing wrong?
thanks in advance
The radgrid has command a command button. the command button trigers a radajaxloading panel. In RadGrid1_ItemCommand I take out some record from database, and call RadGrid1.Rebind() to reflect the change.
During debug i can step through all these code and even in the OnNeedDataSource method called by RadGrid1.Rebind() method after item command i can see ListA has changed (with some records removed).
However when I proceed to the end the RadGrid still got the original ListA with the records that should be removed.
any idea what I am doing wrong?
thanks in advance