Get selected row in Gridview (dxexprince 10 aspx.net)?
-
26-09-2019 - |
Question
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
Solution
Have you tried the FocusedRowIndex property?
Documentation: FocusedRowIndex
OTHER TIPS
Use the
ASPxGridView.GetRow(ASPxGridView.FocusedRowIndex)
method for this purpose.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow