Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
646
AJAX Selected Row Wrong
posted

Super simple setup:

One webgrid attached to an ObjectDataSource, which retrieves the data via Linq from a database. I enabled AJAX for the webgrid.

Now I want the user to select a row, click a button and work with the selected row on Postback. This works fine, as long as the user downt scroll down. When the user does scroll down and new rows are loaded via AJAX and the user selects one of those rows, the returned row on postback is wrong. It is always the last row in the table before the AJAX async callback.

 Is use myGrid.DisplayLayout.ActiveRow to retrieve the selected row.

Any tips on what I am doing wrong? Again: if the user selects one of the first rows, it works just fine..... 

 

Parents
  • 646
    posted

     This seems to be a bug. Even the online demo under http://samples.infragistics.com/2008.1/webfeaturebrowser/default.htm doesnt seem to work. When you select a row in the AJAX example grid the customer is not selected....

    Oh man. Now I have to code paging again. this REALLY sucks bigtime. I really wonder why I bought the Infragistics controls.....

    Isnt this fraud? Selling stuff that obviously doesnt work? 

Reply Children