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

ajaxManager.ajaxRequest doesn't fire in OnClientAppointmentMoveEnd

2 Answers 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Nyceane
Top achievements
Rank 1
Nyceane asked on 08 Jul 2008, 01:08 AM
Hey, I've made application and ajaxManager.ajaxRequest(argument) fires other places except OnClientAppointmentMoveEnd.

I've set alert that it is hitting the function, but it will not hit ajaxManager.ajaxRequest no matter what I put in the argument.  My other functions hits ajaxRequest just fine, except for this one.  can someone help me out?


OnClientAppointmentMoveEnd
="ScheduleMoved"

                    function ScheduleMoved(sender, eventArgs)  
                    {     
 
                        var start = formatDate(eventArgs.get_newStartTime());  
                        var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");  
                        var index = eventArgs.get_appointment().get_id();                          
                        ajaxManager.ajaxRequest(index.toString() + '+'  + start.toString());  
       
                    
                          
                    }                      
                     

2 Answers, 1 is accepted

Sort by
0
Nyceane
Top achievements
Rank 1
answered on 08 Jul 2008, 04:16 PM
any1?
0
Peter
Telerik team
answered on 09 Jul 2008, 11:35 AM

Hello,

This is expected for client events which are followed by postback. Besides OnClientAppointmentMoveEnd, OnClientAppointmentInserting for example brings about the same result.

I am not sure what exactly you try to achieve, but usually for client events which are followed by postback you don't need to use the approach with ajaxRequest. You can simply ajaxify RadScheduler.

If I am missing something, please don't hesitate to let me know.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Nyceane
Top achievements
Rank 1
Answers by
Nyceane
Top achievements
Rank 1
Peter
Telerik team
Share this question
or