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

Telerik Radgrid: Image button not working when enableviewstate=false

1 Answer 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shirish Lokhande
Top achievements
Rank 1
Shirish Lokhande asked on 07 Jul 2011, 10:39 AM
Hi

I have a radgrid of which I have made the EnableViewstate=false and added the OnNeedDatasource event. One column of the grid has delete buttons which is  image button. After disabling the view state the delete button is not working properly. The command argument and command name are not getting set properly. When the delete button is clicked its "OnCommand" event is fired but the command argument sets as empty there.

But it is set properly in the Onitemdatabound event. Under the same changes if i use linkbutton instead, it works fine. Please help.


Regards
Shirish 

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 12 Jul 2011, 03:40 PM
Hello Shirish,

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

All the best,
Mira
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Shirish Lokhande
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or