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

This example shows how to dynamically display a focused employee's photo and details outside the ASPxGridView.

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

In the example, handle the ASPxClientGridView.FocusedRowChanged event to call the OnGridFocusedRowChanged() function. This function queries the server to return the employee's ID and Notes. Pass the returned array to the OnGetRowValues() function that specifies values for corresponding HTML elements.

The image below shows the result:

exSimpleSelection

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