shared calendar and ajax

7 posts, 0 answers
  1. Roy
    Roy avatar
    36 posts
    Member since:
    Jun 2008

    Posted 05 Aug 2008 Link to this post

    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?
  2. Plamen Peshev
    Admin
    Plamen Peshev avatar
    886 posts

    Posted 07 Aug 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roy
    Roy avatar
    36 posts
    Member since:
    Jun 2008

    Posted 07 Aug 2008 Link to this post

    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...
  5. Plamen Peshev
    Admin
    Plamen Peshev avatar
    886 posts

    Posted 11 Aug 2008 Link to this post

    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.
  6. Kiki
    Kiki avatar
    16 posts
    Member since:
    Feb 2007

    Posted 16 Jun 2009 Link to this post

    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.
  7. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 18 Jun 2009 Link to this post

    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.
  8. Denis Susac
    Denis Susac avatar
    2 posts
    Member since:
    Aug 2005

    Posted 18 Jun 2009 Link to this post

    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.

     

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017