GridView Sorting
-
Hi, I have created my grid view using the asp:TemplateField for all the columns. Now I wish to Sort the corresponding Column wise, when I click on the respective Column Header (Its LinkButton Control). How efficiently I can able to do this? Suggest me the idea behind this.
Regards, Jay :)
-
Hi, I have created my grid view using the asp:TemplateField for all the columns. Now I wish to Sort the corresponding Column wise, when I click on the respective Column Header (Its LinkButton Control). How efficiently I can able to do this? Suggest me the idea behind this.
Regards, Jay :)
You have to give SortExpression for each template. SortExpression="USER_MASTER.USER_LEVEL_ID desc" And on event sorting you have to use it in sorting event like : e.SortExpression
Regards, Mayank Parmar Senior Software Engineer Amba Tech Gandhinagar, India
-
You have to give SortExpression for each template. SortExpression="USER_MASTER.USER_LEVEL_ID desc" And on event sorting you have to use it in sorting event like : e.SortExpression
Regards, Mayank Parmar Senior Software Engineer Amba Tech Gandhinagar, India
hi mayank could u give me that sorting event full code Thanks in Advance