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

Does the Enabled property work on RadGrid?

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
russ
Top achievements
Rank 1
russ asked on 25 Jun 2010, 06:08 PM
I'm trying to programatically allow a user to select a row in a RadGrid, then disable the grid completely and edit information (outside of the Grid), then rebind it and allow the user to be able to select, sort and filter data.  However, when I set the radgrid.Enabled to false, it still allows me to select rows and interact with the grid.  It doesn't matter if I am doing it through code, or directly in the properties for the grid.  I've even tried to put the grid in a panel, and disable the panel, but the grid still functions. 

The only way that I've found that I can disable the ability to select a row (the only thing that I really need to do), is to set the RadGrid.ClientSettings.Selecting.AllowRowSelect to false while I'm doing the editing, then set it back to true.  However, I can still sort on the table.

Also, the version that I'm using is 2009.2.701.35 if that makes a difference.  I looked through the forums and did not see any mention of this.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Jun 2010, 10:50 AM
Hai,

RadGrid is a complex ASP.NET control and like with the Microsoft MS GridView sometimes requires additional coding when its table structure should be deactivated client/server side (due to the nested control definitions and features switched on).

You can find out information on how to disable/enable radgrid from the online documentation.
Enabled/Disabled conventions


-Shinu.
Tags
Grid
Asked by
russ
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or