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

Using Loading Panel Found Javascript Error

0 Answers 31 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 05 May 2009, 06:38 AM
Hi All,


          I am using a tree view and a scheduler. I use RadAjaxManager to use Loading Panel. I wanna do is while drag a node from treeview to scheduler the Loading panel should be visible.

         This is my code


        

 

<

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

 

<AjaxSettings>

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RadScheduler1">

 

 

 

 

<UpdatedControls>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RadTreeView1">

 

 

 

 

<UpdatedControls>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</telerik:AjaxSetting>

 

 

 

<%

--<telerik:AjaxSetting AjaxControlID="ContMenuAppointmentClick">

 

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>--

%>

 

 

</AjaxSettings>

 

 

 

 

</telerik:RadAjaxManager>

 

 



By using this code i struck in Javascript Error. The error is below

First time i found
Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element.

Second Time i do the same action i found
Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'RadScheduler1Panel'. If it is being updated dynamically then it must be inside another UpdatePanel.


So kindly help me to overcome this.



Regards,
Leo.



         

 

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Leo
Top achievements
Rank 1
Share this question
or