Problem with Calendar and AJAX 'prometheus'

4 posts, 0 answers
  1. BlackStar
    BlackStar avatar
    15 posts
    Member since:
    Jul 2006

    Posted 10 Dec 2007 Link to this post

    Hello!
    I have a problem when i use DateTimePicker inside second UpdatePanel.

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">

        <telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server"></telerik:RadDateTimePicker>
        <
    asp:Button ID="Button1" runat="server" Text="Button" />

        <
    telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" >

            <
    telerik:RadDateTimePicker ID="RadDateTimePicker2" runat="server"></telerik:RadDateTimePicker>
            
    <asp:Button ID="Button2" runat="server" Text="Button" />

        </telerik:RadAjaxPanel>

    </telerik:RadAjaxPanel>

    After Button2 is clicked, RadDateTimePicker2 will be broken. But if you click on button1 it will work.

    Please, can anybody help me?

  2. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 11 Dec 2007 Link to this post

    Hi BlackStar,

    Unfortunately it seems that this is unsupported scenario with the 'Prometheus' controls. We have logged it in our bug tracking system and will investigate it. We are not sure though, why you would need nested AjaxPanels. The parent one will take care of the ajaxification of all controls within it and the second one is not needed - can you elaborate on this? Your Telerik points have been updated for pointing this out.

    To get this working you can use either of the following:
    • remove the nested AjaxPanel
    • use AjaxManager to ajaxify the controls
    Looking forward to your reply.

    Regards,
    Pavel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Andrey
    Andrey avatar
    1 posts
    Member since:
    Sep 2007

    Posted 11 Dec 2007 Link to this post

    Thank you, Pavel.

    Can you suggest me acceptable way to realize this functionality in nested controls.

    I have first control that contains RadTabStrip with PostBack effect to change MultiVew. I used AjaxManager to ajaxificate it. And i have a second control with own ajax logic nested in one of the Views. And i need to update DateTimePicker in second control, without updating any other part of the page. I tried to use second AjaxManager in nested control but was dissapointed that only one AjaxManager can be on the page. I think that it's very simple scenario, and will be definitly useful and necessary.
  4. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 12 Dec 2007 Link to this post

    Hi Andrey,

    The reason why only single AjaxManager should be present on the page is that you can use it to ajaxify many controls. Read this help article for more information:
    http://www.telerik.com/help/aspnet/ajax/?ajxAJAXManager.html

    Let me know if you have further questions.

    Best regards,
    Pavel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top