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
1280
Webdatagrid - How to make a row active?
posted

Hi,

How to make a row active?

Please provide sample in C# code behind.

Any help is highly appreciated. Please advice urgently.




Parents
  • 17590
    Offline posted

    Hello Jeevitha,

    Thank you for posting in our community.

    When Activation behavior is enabled a cell is considered active when it is the current cell - the last to receive an action, such as a mouse click. The row or column that an active cell belongs to is considered active as well.

    An elemnt can be activated by setting it in code. For example:

    this.WebDataGrid1.Behaviors.Activation.ActiveCell = this.WebDataGrid1.Rows[0].Items[1];

    Some further reference about Activation behavior could be found at the following link:

    http://help.infragistics.com/doc/ASPNET/2014.2/CLR4.0/?page=WebDataGrid_Activation.html

    I hope you find this information helpful.

    Please let me know if you have any additional questions regarding this matter.

Reply Children
No Data