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

shared calendar and ajax

6 Answers 74 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Roy
Top achievements
Rank 1
Roy asked on 05 Aug 2008, 08:36 AM
i have the following scenario:
<asp:Button...>
<asp:Panel id="refresh"..>
<telerik:RadDatePicker SharedCalendarID="SharedCalendar"...>
</asp:Panel>
<telerik:RadCalendar id="SharedCalendar"...>

the panel is being refreshed with telerik's ajax panel and manager.
problem is, after refreshing the panel, a javascript error occurs, saying he cannot find the control 'SharedCalendar'.
thus, the radDatePicker doesn't work anymore...
is this a familier problem? what could i be doing wrong?

6 Answers, 1 is accepted

Sort by
0
Missing User
answered on 07 Aug 2008, 07:20 AM
Hello Roy,

I tried to reproduce the problem locally, but to no avail. Attached, please find a sample project for your reference.
What am I missing?


Kind regards,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Roy
Top achievements
Rank 1
answered on 07 Aug 2008, 11:09 AM
in your example, the refreshing panel is the radajax panel, which includes all the controls. in my scenario, the refreshing panel is the inner panel, the one which host only the RadDatePicker.
The scenario is that the ajax script is invoke from outside the refreshing panel (like a menu changing the current displayed page or web control), and in order to achive better performens, i built one radCalendar, which all pages/controls use.
As such, the calendar is outside the refreshing panel, and rendered only once, as the main page is loaded at first, before any inner page is even selected.
Unfortunatly i can't add my source here, but if any more question occure, i'll be happy to explain in order to paint a better picture...
For now, i've added the radCalendar inside the refreshing panel, and therefore render the calendar each time a selection has been made...
0
Missing User
answered on 11 Aug 2008, 01:04 PM
Hello Roy,

We still cannot reproduce the problem locally. Could you please isolate a small working subproject demonstrating the issue, so we can compile the project and see the problem? You cannot attach them to a forum thread, so please open support tickets. Once we can reproduce the problem locally, we will do our best to help.

All the best,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kiki
Top achievements
Rank 1
answered on 16 Jun 2009, 07:45 AM
Hi,

  I see that this is a old post, but we are using lastest version of Calendar and have same issue as described here. Is there a solution for this issue ?

Thanks.
0
Yavor
Telerik team
answered on 18 Jun 2009, 08:31 AM
Hello Kiki,

The issue was not replicated locally. If you have a similar problem, you can open a formal support ticket, and send us the problematic implementation, in the form of a small working project. We will review it locally, and get back to you with additional information.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Denis Susac
Top achievements
Rank 1
answered on 18 Jun 2009, 09:07 AM
Hi,

 we have managed to create a workaround (simple, not so great). We have put a shared calendar on the master page used for edit forms and surrounded it with update panel which is updated always.

<

 

asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Always">

 

 

<ContentTemplate>

 

 

<telerik:radcalendar id="sharedCalendar" runat="server" skin="WebBlue" />

 

 

</ContentTemplate>

 

</

 

asp:UpdatePanel>

Thanks.

 

Tags
Calendar
Asked by
Roy
Top achievements
Rank 1
Answers by
Missing User
Roy
Top achievements
Rank 1
Kiki
Top achievements
Rank 1
Yavor
Telerik team
Denis Susac
Top achievements
Rank 1
Share this question
or