|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Have you tried to set the DatePicker's Enabled to false?
Thanks
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|
|