Stuart Hemming
Top achievements
Rank 2
Stuart Hemming
asked on 02 Feb 2011, 10:24 AM
I have a custom add/edit appointment form and on it I have an All Day checkbox.
I'd like to use the functionality that appears in the more standard forms in that when the checkbox is checked, the time pickers disappear.
Being naturally lazy, I didn't want to have to write the code myself. Is it possible to tie in to the script that the standard forms use?
--
Lazy of Grantham
I'd like to use the functionality that appears in the more standard forms in that when the checkbox is checked, the time pickers disappear.
Being naturally lazy, I didn't want to have to write the code myself. Is it possible to tie in to the script that the standard forms use?
--
Lazy of Grantham
5 Answers, 1 is accepted
0
Hello Stuart,
I am not sure how and if this can be done. At worst, you can reuse the code from the Advanced Templates demo. I hope this is not going to push your natural instincts to the limit. :)
All the best,
Peter
the Telerik team
I am not sure how and if this can be done. At worst, you can reuse the code from the Advanced Templates demo. I hope this is not going to push your natural instincts to the limit. :)
All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Stuart Hemming
Top achievements
Rank 2
answered on 02 Feb 2011, 02:44 PM
Peter,
Thanks for this.
I'm making sure that the date & time pickers have the correct class names associated with them as I'm guessing that this is how they're identified in the jQuery.
I note that in the advanced templates demo, the AdvancedForm.js script is explicitly loaded. As I'm running a setup more akin to the External Edit in RadDock demo I'm guessing that I need to load the script in the edit page. Do I need to include that script explicitly in my project, or will it be loaded from the telerik DLL?
--
Stuart
Thanks for this.
I'm making sure that the date & time pickers have the correct class names associated with them as I'm guessing that this is how they're identified in the jQuery.
I note that in the advanced templates demo, the AdvancedForm.js script is explicitly loaded. As I'm running a setup more akin to the External Edit in RadDock demo I'm guessing that I need to load the script in the edit page. Do I need to include that script explicitly in my project, or will it be loaded from the telerik DLL?
--
Stuart
0
Stuart Hemming
Top achievements
Rank 2
answered on 02 Feb 2011, 02:54 PM
Never mind, I've looked properly at the demo now and see that I need to load the script myself.
--
Stuart
--
Stuart
0
Stuart Hemming
Top achievements
Rank 2
answered on 02 Feb 2011, 03:07 PM
Hmmm. I'll leave this for a bit, I think. I'm not sure my JavaScript is up to sorting this one out.
--
Stuart
--
Stuart
0
Well, I will be glad to help. Just be more specific what problems in particular you experience.
Best wishes,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.