I am trying to hide the dateinput of the radcalendar control but when I do I get a javascript error (Invalid Operation) telling me that the dateinput does not exist. Have someone experienced this ? Is there a workaround? All I do is setting the datinput-visible to false. Thanks.
4 Answers, 1 is accepted
0
Hi Ricardo,
Excuse us for this inconvenience.
Please, hide the DateInput control by the following code.
Your Telerik points are updated.
Regards,
Petja
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Excuse us for this inconvenience.
Please, hide the DateInput control by the following code.
<telerik:RadDatePicker ID="RDP1" runat="server" Width="20px"> |
<DateInput style="display:none"></DateInput> |
</telerik:RadDatePicker> |
Your Telerik points are updated.
Regards,
Petja
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
John Brownell
Top achievements
Rank 1
answered on 03 Mar 2008, 10:57 PM
This same thing happens in the DateTimePicker control when control.TimeView.Visible = false
Is there a way to set the visibility of the TimeView part dynamically in a codebehind without throwing a javascript error?
Thanks!
John
Pyron Technologies
Is there a way to set the visibility of the TimeView part dynamically in a codebehind without throwing a javascript error?
Thanks!
John
Pyron Technologies
0
Hello John,
You can dynamically show or hide the TimeView element client-side:
http://www.telerik.com/demos/aspnet/Calendar/Examples/DateTimePicker/ClientAPI/DefaultCS.aspx
I hope this is an applicable solution for you.
All the best,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can dynamically show or hide the TimeView element client-side:
http://www.telerik.com/demos/aspnet/Calendar/Examples/DateTimePicker/ClientAPI/DefaultCS.aspx
I hope this is an applicable solution for you.
All the best,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
John Brownell
Top achievements
Rank 1
answered on 04 Mar 2008, 08:14 PM
This doesn't really answer my question/problem - but I didn't really explain very well. I started a new thread to more accurately describe the issue.
Click here to go to the new thread.
Thank you.
John
Pyron Technologies
Click here to go to the new thread.
Thank you.
John
Pyron Technologies