Hi
I have a webhierahicalDataGrid, so when user click on a row , i would write some data in a textbox, but nothing append. I mean the rowEventSelection event change , I read the data and write into the textbox, but nothing. So i created a new component called textbox1 and when clicked on a row i try to write test on it but nothing???
Does any body have some idea what is happenig.
Thank's
Chris
protected void WebHierarchicalDataGrid2_RowSelectionChanged(object sender, SelectedRowEventArgs e)
{
if (e.CurrentSelectedRows.Count > 0)
TextBox1.Text ="Pipo";
}
Hello,
Thanks for using Infragistics controls!
Have you enabled the selection behavour?
Regards,
Hello
tank's for answer but i am afraid to not understand your answer. Here is my configuration of the WebHierarchicalDataGrid.
For the moment i use the version 13.2
<ig:WebHierarchicalDataGrid ID="WebHierarchicalDataGrid2" runat="server" Height="350px" InitialDataBindDepth="-1" Width="400px"
oninitializerow="WebHierarchicalDataGrid2_InitializeRow"
onrowselectionchanged="WebHierarchicalDataGrid2_RowSelectionChanged"
EnableDataViewState="True">
<behaviors>
<ig:RowSelectors>
</ig:RowSelectors>
<ig:Selection CellClickAction="Row" RowSelectType="Single">
<AutoPostBackFlags RowSelectionChanged="True" />
</ig:Selection>
</behaviors>
</ig:WebHierarchicalDataGrid>
Yes it solve my problem thank's
Hello,I am still following your case. Have you been able to resolve the issue?If you have any concerns or questions, please feel free to contact me, I will be glad to help you.Thank you for choosing Infragistics components!
Best Regards,
I have tried with 15.1 and it's working. You need to wrap the content in UpdatePanel and set the EnableAjax to false in order to update the change async. This is required because when you did the selection, it was happend async and the text box is not updated.