Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3788
getting the selected rows?
posted

Hi,

     i am using WebDataGrid.

i have a form(child.aspx) which is inherit from a master form.

in my child form has a grid.

i have a selected row in the grid. i have a edit button in my master form.

and edit button event i am handling at my child form

when i click on edit button to edit the selected row. then my

grid.behaviour.selection.SelectedRows.count is showing me

the 1 row is selected, but when i am trying to access

grid.behaviour.selection.SelectedRows[0]

then it gives me input string was not in correct format error, but when i

expand SelectedRows then GridIDpairCollection has some value .

my grid EnableViewState and EnableDataVieState is true, but still same problem.

i have a this question from long time please reply soon.

why is this coming, how to resolve this problem?