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

Problem with Calendar and AJAX 'prometheus'

3 Answers 133 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
BlackStar
Top achievements
Rank 1
BlackStar asked on 10 Dec 2007, 09:45 AM
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?

3 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 11 Dec 2007, 09:43 AM
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
0
Andrey
Top achievements
Rank 1
answered on 11 Dec 2007, 05:26 PM
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.
0
Pavel
Telerik team
answered on 12 Dec 2007, 08:04 AM
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
Tags
Calendar
Asked by
BlackStar
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Andrey
Top achievements
Rank 1
Share this question
or