Hi,
i have a page to insert, edit, update my user in the database.
Therefore i use a radgrid with an inform usercontrol for the editform and to insert a new user.
It already worked editing, but it wont work now...
I get an out of range exception, which gets created because of following code:
to get to the editform i call the codebehind via a click event with a "context" radmenu working fine.
radGridUser.Items[pIndex].Edit = true;
the index is correct, but when i watch the radGridUser for the Items the count is always one below the pIndex (the selected griditemindex).
after enabling Item.Edit i just do: radGridUser.Rebind()
which also works fine in all other grids of my websolution.
are there any ideas or known issues?
How is the grid able to loose its items?
Also i watched the RadGridUser_NeedDatasource eventmethod, which gets called correctly befor the grid sets the Items.Edit property.
thx Mario
i have a page to insert, edit, update my user in the database.
Therefore i use a radgrid with an inform usercontrol for the editform and to insert a new user.
It already worked editing, but it wont work now...
I get an out of range exception, which gets created because of following code:
to get to the editform i call the codebehind via a click event with a "context" radmenu working fine.
radGridUser.Items[pIndex].Edit = true;
the index is correct, but when i watch the radGridUser for the Items the count is always one below the pIndex (the selected griditemindex).
after enabling Item.Edit i just do: radGridUser.Rebind()
which also works fine in all other grids of my websolution.
are there any ideas or known issues?
How is the grid able to loose its items?
Also i watched the RadGridUser_NeedDatasource eventmethod, which gets called correctly befor the grid sets the Items.Edit property.
thx Mario