Welcome Guest Search | Active Topics | Sign In | Register

grid button Options
Jim Nelson
Posted: Friday, March 11, 2011 6:05:04 PM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 28
I have noticed that if you have a button or link or checkbox on your grid and the grid enabled=false

you can still click/check those fields.

But the text boxes are disabled.

Is there another way to disable the button?

thx
eo_support
Posted: Friday, March 11, 2011 6:27:36 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Those should be automatically disabled on IE but not automatically disabled on other browsers. The reason is those browser does not automatically disable a child element when a parent element is disabled. Unfortunately there is no easy way for you to disable them on those browsers (you can write some JavaScript to disable all elements recursively but I am not sure whether it worth the effort). I would recommend you to either hide the Grid or hide a specific column when you want to disable the Grid. For example, "Delete" column would not be necessary when the Grid is in read-only mode. A checkbox column can be replaced with a static column (you can have both columns in the Grid and then dynamically set the column's Visible property to hide one and show another).

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.