Hi,
I have a WDG behind an update panel with a button outside the update panel. I have selection behavier enabled. When I select a row and click the button, the update panel fires and the selection is lost when the grid is repainted. Can i please be given the code on the server side (C#) that will give me the selected row and then code that will allow me to tell the grid which selected row needs to be highlighted after post back (and at which function should these be placed in)?
Thanks.
Hello Shane,
Please let me know if you still need help with this issue.
Dear Shane,
Thank you for contacting Infragistics!
We have received your support request concerning displaying the Selected Row after postback, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and my first question is have you seen our documentation on the SelectedRows property of the Selection behavior?
You can find information on the property here:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Infragistics4.Web.v12.1~Infragistics.Web.UI.GridControls.Selection~SelectedRows.html
It is necessary to be mindful of the page-lifecycle for knowing where to place these calls. It should do fine in Page_Load depending on how the rest of your page is set up.
Please let me know if you have any further questions or concerns with this.