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
580
How to get sorting to work...
posted

I'm not sure how to get sorting to work in the WebDataGrid.  No matter what I do, if I have AJAX enabled, I always get a one of those "object doesn't support this property" errors from scriptresource.axd. 

If I have ajax turned off, I get no error; clicking on the header posts the page but it doesn't resort.

My standard way of loading the data is to load it into a DataTable and set it as the DataSource of the grid in OnLoad.    I tried a SqlDataSource - setting the ConnectingString and SelectCommand in OnLoad - but that didn't make a difference.

 

Parents
No Data
Reply
  • 580
    posted

    As usual, as soon as I ask I find the answer.  It looks like the problem is that the web site also has Ext JS included.  When I remove it, everything works fine!

     

Children