This is a migrated thread and some comments may be shown as answers.

Calendar in ajax request

3 Answers 43 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 10 Jun 2010, 02:00 PM
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.

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 15 Jun 2010, 12:28 PM
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.
0
Pierre
Top achievements
Rank 1
answered on 15 Jun 2010, 01:57 PM
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.
0
Maria Ilieva
Telerik team
answered on 17 Jun 2010, 02:40 PM
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
Tags
Calendar
Asked by
Pierre
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Pierre
Top achievements
Rank 1
Share this question
or