Rank: Newbie Groups: Member
Joined: 10/19/2009 Posts: 5
|
Hello,
I want to get a value from a cell in a grid on selection. So I use your example-code with java-funcion onItemselected(grid) to raise a server-itemcommandevent.
In the event the argument e.Commandname is set to "select" e.item is allways null.
Whats wrong
Friendly regards
Rolf Plate
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please make sure:
1. You pass the correct itemIndex when call raisesItemCommandEvent; 2. On the server side you did not clear the Grid (such as data bind the grid again);
Let us know if the problem continues. In that case we may need you to provide a test page so that we can take a look.
Thanks!
|