Sorting in Grid View using AJAX
-
Hi How can we perform sorting in GridView While using SqlDataSource and AJAX. I m using these and just write in Html **Allow Sorting="True".**But this doesnot work. Can anybody give me code to perform sorting functionality. Thanks in advance. Kartik Rathi
-
Hi How can we perform sorting in GridView While using SqlDataSource and AJAX. I m using these and just write in Html **Allow Sorting="True".**But this doesnot work. Can anybody give me code to perform sorting functionality. Thanks in advance. Kartik Rathi
U will also have to give the sortexpression to the bound and template column. Use Atlas framework for using AJAX. Put the GridView inside an updatepanel and that will do the job Here is a post showing how to add atlas control to your toolbox http://vikramlakhotia.com/Post.aspx?postID=8 Hope this helps Vikram Lakhotia
-
U will also have to give the sortexpression to the bound and template column. Use Atlas framework for using AJAX. Put the GridView inside an updatepanel and that will do the job Here is a post showing how to add atlas control to your toolbox http://vikramlakhotia.com/Post.aspx?postID=8 Hope this helps Vikram Lakhotia
Still not got solution. Can U explain This. kartik rathi
-
Still not got solution. Can U explain This. kartik rathi
Here is a code snippet of the code that works for sorting. Please change the Connection string and the querys. If you are using Atlas for ajax put the full thing inside the . That will do the job. :-O vikram lakhotia