OnRowSelectionChanged wont run if EnableDataViewState ="true" any ideas why?
I thought EnableDataViewState ="true" stops having to rebind on a postback?
<ig:WebDataGrid ID="WebDataGrid1" runat="server" DataKeyFields="Doc_Id"
OnRowSelectionChanged="WebDataGrid1_RowSelectionChanged"
EnableDataViewState ="true"
AutoGenerateColumns="False" Width="100%" Height="86%" EnableAjax="True">
Regards,
Graham.
Hello,
The EnableDataViewState property gives you the option to store the WebDataGrid control's data in ViewState. Since WebDataGrid uses Aikido (Ajax) frame work, it does not post back all the data on every post back. As such, I would recommend you to bind grid on every post back. The below link from our website will give more details on EnableDataViewState Property:
<http://help.infragistics.com/NetAdvantage/ASPNET/2010.3/CLR4.0/?page=WebDataGrid_Getting_Started_with_WebDataGrid_EnableDataViewState_Property.html>
Hope this helps.
Thanks,
Bhadresh
I am following up to see if you have any further questions with this matter.