Welcome Guest Search | Active Topics | Sign In | Register

Set Mask Edit and DatePicker as Read-Only Options
Avtar Seehra
Posted: Friday, December 19, 2008 8:26:49 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2008
Posts: 6
Hello,
I am using a masked editor and a date picker. When the application loads, I want the controls to be in read-only mode and make them editable if the user clicks on edit on the page. I cannot find a way to set the controls to be read only. I thought the masked edit implements text box and if a text box has an attribute of readonly, so should the mask editor, shouldnt they?
If not, is there a way I can set the mask editor to be read-only?
Thanks,
Avtar
eo_support
Posted: Friday, December 19, 2008 8:31:11 AM
Rank: Administration
Groups: Administration

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

Have you tried to set the DatePicker's Enabled to false?

Thanks
Avtar Seehra
Posted: Friday, December 19, 2008 8:40:16 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2008
Posts: 6
the only problem with disable is that they get greyed out. I was looking for a read-only method so that the text does not get greyed out. Greyed out makes it harder to read.
eo_support
Posted: Friday, December 19, 2008 8:51:28 AM
Rank: Administration
Groups: Administration

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

Unfortunately I do not think there is such an option. The benefit of graying out is that it gives user a clear clue that it can not be edited. Otherwise it can confuse user. If you indeed want it to be read only, you may wish to consider using static HTML text, such as a Label control to present the value.

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.