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

Scheduler not updating after RadAjaxManager AjaxRequest

7 Answers 151 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 05 Apr 2009, 10:01 PM
Hi,

I am using radwindow to provide a custom appointment setup (it is sufficiently complex, using tab strip, several radEditors, etc) that trying to do it inline would have been a problem. It works fine and updates a dataset. On radwindow close, I am calling AjaxRequest, and then trying without success to update the appointments.

I am getting a datasource on ajaxrequest and have tried rebind, etc. without success. Even though the data has changed, the subject, times, etc of the appointments do not update. Only if I do something such as a drag drop which fires AppointmentUpdate and then the data gets refreshed in the modified appointment. Does anyone have a suggestion on how to force the just modified appointment to update when using an Ajax callback? Thanks.

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Apr 2009, 12:25 PM
Hello Karl,

Do you use RadAjaxManager? If yes, could you please make sure that you have configured it so that RadAjaxManager updates RadScheduler:

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 



Regards,
Peter
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Doug Beard
Top achievements
Rank 2
answered on 22 Jul 2009, 03:49 PM
I do, indeed, use the RadAjaxManager, I have also added the AjaxSetting as described in your post. Stepping through the code I see  the code update the datasource and call rebind, I watch the AppointmentDataBound event fire and discover the objects are in the state I expect (updated). But the grid does not update reflecting the new bind.

It is odd, because I'm struggling with Ajax updates causing the scrollbar in the scheduler to go wonky.  Sometimes is retains its position, other times it snaps back to the top.  But that's for another topic.
0
Doug Beard
Top achievements
Rank 2
answered on 23 Jul 2009, 01:04 PM
Even though I use a RadAjaxManager, trying AjaxRequest and adding the Manager as a AjaxSetting Trigger to the Scheduler, I could not get the rebind to refresh the scheduler.

I wrapped the scheduler in an additional RadUpdatePanel and called the panel update and it worked.
While I'm confused as to why manager can not refresh the scheduler on ajax call, I'm happy to report I have a work around.
0
Rune
Top achievements
Rank 2
answered on 07 Sep 2009, 11:33 AM
Hi,

I just had this problem. So it is still there. Your solution luckily worked fine for me as well. Let's hope they will fix it in upcomming versions.
0
Jeremy Mann
Top achievements
Rank 1
answered on 03 Dec 2009, 10:53 PM
Thanks for posting the RadAjaxPanel trick.... I'm running the latest version of Q3 2009 and still needed this hookey fix.  Wrapping the Scheduler in a RadAjaxPanel and then changing all my AjaxManagers AjaxUpdatedControl ControlID to the ajaxpanel's ID fixed it.
0
JFoulk
Top achievements
Rank 1
answered on 10 Jan 2010, 03:04 AM
I'm using a RadAjaxManagerProxy (RadAjaxManager on my master page), and I have this issue with updating a datagrid from an AJAXPanel through the AjaxManagerProxy.  This fix worked for me to get the radgrid updating correctly from the AJAXPanel, but broke my RadGrid -> RadGrid Ajax update.

Any suggestions?

Joshua Foulk
0
Iana Tsolova
Telerik team
answered on 12 Jan 2010, 09:31 AM
Hi Joshua,

Please review this online help topic on how to ajaxify controls wrapped in RadAjaxPanel with RadAjaxManager and see if it works for you.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Peter
Telerik team
Doug Beard
Top achievements
Rank 2
Rune
Top achievements
Rank 2
Jeremy Mann
Top achievements
Rank 1
JFoulk
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or