Skip to main content

How to: Dynamically Display the Focused Row's Values Outside the ASPxGridView

This example illustrates how to dynamically display a focused employee’s photo and details outside the grid.

Follow the steps below:

  1. Declare the OnGridFocusedRowChanged() function that queries the server to return the employee ID and Notes. This function handles the ASPxClientGridView.FocusedRowChanged event.

  2. Pass the returned array to the OnGetRowValues(values) function that defines values for the corresponding HTML elements.

The image below shows the result:


<dx:ASPxGridView ID="ASPxGridView1" ClientInstanceName="grid">
    <ClientSideEvents FocusedRowChanged="OnGridFocusedRowChanged" />