views:

347

answers:

0

Lemme preface this by saying I'm relatively new to AJAX.NET, but I've done some classic AJAX, so I am familiar with how it's supposed to work. Anyway, I have a control that inherits from DataGrid which I've put into an update panel. The rows in the grid are sorted based on the status of the item they contain. You can change the status of each item by clicking a button in the row. When I first load this page up, it works as expected (i.e. clicking the button causes a partial postback and the rows are repainted in the correct sorted order). However, if I try to update another item, a full postback occurs and the item's status is not updated. The ID of the first row is changed after the partial postback, so I suspect this might be part of the problem, but I'm not sure. Any ideas?

BTW, I cannot modify the DataGrid-derived control at this point in time, but might be able to in the future. I'm just hoping that this is possible with the current implementation. Thanks in advance.