|
Rank: Member Groups: Member
Joined: 10/13/2010 Posts: 11
|
Hey
I'm using the DatePicker Control and have a little issue... If I set enabled to false <input type="text"> css style cannot get modified for internet explorer.
I already tried inherit datepicker to render the control different if readonly property (my Property) is active but then i get problems with javascript.
I just want to replace html enabled threw readonly
Thanks in advance
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am not sure if I understand your question correctly. For DatePicker you do not need to style the textbox directly. You would need to modidy the DatePicker's PickerStyle property. Styles set in that property is applied to the textbox.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/13/2010 Posts: 11
|
Hey,
It's ok right now but my question was how I could get the possibilty to set the input box readonly="readonly" and not enabled = "false", the reason is in internetexplorer enabled = "false" ignores css style for background of input box.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can not set readonly="readonly on a DatePicker's textbox. However if you set Enabled to false, then set the DatePicker's PickerStyle, you will be able to change the textbox's background color.
Thanks!
|
|