Calendar in ajax request

4 posts, 0 answers
  1. Pierre
    Pierre avatar
    138 posts
    Member since:
    Feb 2006

    Posted 10 Jun 2010 Link to this post

    Hi,

    I need to use the rad calendar in one update request page using prototype or jquery. The calendar is added in one external page and loaded in one genericcontrol; is not in the main page as usercontrol but added on fly. Exist some way to manage the calendar in this scenario?
    Could you explian in the radCalendar cycle what are the needs to obtain one fonctional calendar in this scenario.

    Regards.
    Romi.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Jun 2010 Link to this post

    Hello Pierre,

    Could you please elaborate a little bit more on your scenario? I'm not completely sure what functionality you need to achieve and how do you need to use the RadCalendar in this scenario.
    Some part of your code which represents your scenario will help us provide more to-the-point answer.


    Greetings,
    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Pierre
    Pierre avatar
    138 posts
    Member since:
    Feb 2006

    Posted 15 Jun 2010 Link to this post

    Hi Maria,

    I have ove full ajax solution using prototype Ajax.Updater or Ajax Request to inject runtime contents in div items from external pages. If you add one simple calendar in one page and you add as Ajax.Updater in main page this calendar is not fonctional you need to subscribe AjaxManager of this page main and re instantiate others scripts. The only scenario working is pre registrer one calendar in the main page and hide or unhide, same for usercontrols but my page is very big and i need more lightweigthed.
    Other scenarios adding RadControls runtime?.

    var ajaxRequest = new Ajax.Request(url, {
        method:       'get', 
        parameters:   pars, 
        asynchronous: true,
        onComplete:   showResponse
    });
    
    thanks.
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 Jun 2010 Link to this post

    Hello Pierre,

    After getting simply the Inner HTML of the Calendar control it is expected to have problems with the RadCalendar functionalities. Without having the client script for the control it will not works as expected. The only available option in this scenario is to keep using the one you already implement- pre registrar one calendar in the main page and hide or unhide

    Sincerely yours,
    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top