How to get post back on webdatagrid when selected row is changed ?
Webdatagrid have that even ?
Jiten,
Yes, Infragistics WebdataGrid do have server side event called WebDataGrid1_RowSelectionChanged, ColumnSelectionChanged & CellSelectionChanged event. These events can be visible after you have enabled the Selection Behavior using Smart Tag -> Edit Behavior and then check the checkbox of Selection and you will find in property window the SelectionChanged events.
You can also refer help article from Infragistics:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html%5CWebDataGrid_Enabling_Selection.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html%5CInfragistics35.Web.v9.1~Infragistics.Web.UI.GridControls.WebDataGrid~RowSelectionChanged_EV.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html%5CInfragistics35.Web.v9.1~Infragistics.Web.UI.GridControls.WebDataGrid~CellSelectionChanged_EV.html
Thank you.
Bunty :)
Thanks for reply
But still not get it , I added that selection tag and also add that rowchanged event but page did't post back
pelase Give me any working exmple
WebDataGrid1.RowSelectionChanged
Sub
<ig:WebDataGrid ID="WebDataGrid1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" Height="350px" Width="400px"
EnableDataViewState="True">
<Columns>
<ig:BoundDataField DataFieldName="FIRST_NAME" Key="FIRST_NAME">
<Header Text="FIRST_NAME" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="MIDDLE_NAME" Key="MIDDLE_NAME">
<Header Text="MIDDLE_NAME" />
<ig:BoundDataField DataFieldName="LAST_NAME" Key="LAST_NAME">
<Header Text="LAST_NAME" />
</Columns>
<Behaviors>
<ig:Selection RowSelectType="Single">
</ig:Selection>
<ig:RowSelectors RowNumbering="True">
</ig:RowSelectors>
<ig:Paging PagerMode="NumericFirstLast">
</ig:Paging>
</Behaviors>
</ig:WebDataGrid>