Rev
Rev

Reputation: 2275

Get selected row in Gridview (dxexprince 10 aspx.net)?

Im new on Dxpreince 10.(and don't think im expert on this)
I wrote simple webpage. For setting values in grid view i use list and bind that to Aspxgridview.Datasouce. so how access to the selected row ?(plz help with sample code)
I want to get this value in my self defined method not in Selection-changed method! and access to all part of this record no one part of that

should use client-side event

Upvotes: 0

Views: 22663

Answers (2)

DevExpress Team
DevExpress Team

Reputation: 11376

Use the

ASPxGridView.GetRow(ASPxGridView.FocusedRowIndex)

method for this purpose.

Upvotes: 0

stiduck
stiduck

Reputation: 510

Have you tried the FocusedRowIndex property?

Documentation: FocusedRowIndex

Upvotes: 2

Related Questions