Using the AllDay Checkbox script

6 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 02 Feb 2011 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Feb 2011 Link to this post

    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
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 02 Feb 2011 Link to this post

    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
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 02 Feb 2011 Link to this post

    Never mind, I've looked properly at the demo now and see that I need to load the script myself.

    -- 
    Stuart
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 02 Feb 2011 Link to this post

    Hmmm. I'll leave this for a bit, I think. I'm not sure my JavaScript is up to sorting this one out.

    -- 
    Stuart
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 03 Feb 2011 Link to this post


    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017