This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid ViewState off (CommandArgument)

2 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 27 Mar 2009, 10:24 AM
Hi,

I want to use RadGrid with ViewState set to false.  Each of my grid row has some text of data, a serverside hyperlink and button?
How can I subscribe to these events as  the CommandArgument that is  retrieved on ItemCommand is null?

What's the workaround for this?  Any pointers in this direction is greatly appreciated?

Regards,
Rajesh

2 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 31 Mar 2009, 09:03 AM
Hi Rajesh,

Even with view state disabled, the command event arguments should be set to the values corresponding the command called.

Could you provide more information on your scenario or at best post your aspx and code behind (please, use the Format Code Block toll of the editor).

Thank you.

All the best,
Tsvetoslav
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Rajesh
Top achievements
Rank 1
answered on 07 Apr 2009, 05:46 AM
Thanks.  I will upload the sample code soon.
Tags
Grid
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Rajesh
Top achievements
Rank 1
Share this question
or