Hi:
I believe you can handle the client-side Click event of the button, and iterate through all visible rows of the grid to check if they are selected. For the selected row, you can get required values using the GetRowValue method, and use these values according to your scenario.
Here is the sample code:
protected void ASPxButton1_Click(object sender, EventArgs e)
{
string[ fieldNames = {"CategoryID","CategoryName","Description"};
for (int i = 0; i < ASPxGridView1.VisibleRowCount; i++)
{
if (ASPxGridView1.Selection.IsRowSelected(i))
{
object val = ASPxGridView1.GetRowValues(i, fieldNames);
}
}
}
Thanks, Kate.
Support Team, Developer Express Inc.
P.S. If you wish to receive direct assistance from our Support Team, use Support Center.