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
550
Sorting on grid
posted
Currently i am binding my datasource on  page_load (!this.IsPostBack) alone  but sorting seems to only work when i bind the grid each time even on post back ? Is there an alternative  to enable sorting  when i dont bind my  grid on post back ?

 <igtbl:Sorting Enabled="True" SortingMode="Single" >
</igtbl:Sorting>


protected void Page_Load(object sender, EventArgs e)
{

if (!this.IsPostBack)
{

 grid.DataSource = dataTable;
 grid.DataBind();
}
}