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

Problem RadAjax refresh,postback

1 Answer 71 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rubihno
Top achievements
Rank 1
Rubihno asked on 21 Oct 2008, 07:45 PM
I have some problem with the radajax

When i click on radscheduler, i click week,day,month or another click on radscheduler, the radtreeview every time is duplicate, if i make 4click on radscheduler, i have in my page 4 radtreeview identical

My radtreeview is generate by code-behind ---> GenerateTreeview()

my code:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxSettingCreating="RadAjaxManager1_AjaxSettingCreating" 
                OnAjaxRequest="RadAjaxManager1_AjaxRequest"
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="RdTreeViewAule"
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"/> 
                             <telerik:AjaxUpdatedControl ControlID="LabelType" /> 
                          </UpdatedControls> 
                    </telerik:AjaxSetting> 
                    <telerik:AjaxSetting AjaxControlID="DDLCategotoriaPrenotazione"
                        <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="LabelType" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                    <telerik:AjaxSetting AjaxControlID="RadScheduler1"
                    <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RdTreeView" /> 
                    </UpdatedControls> 
                    </telerik:AjaxSetting> 
                    <telerik:AjaxSetting AjaxControlID="RadCalendar1"
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                </AjaxSettings> 
            </telerik:RadAjaxManager> 

The radcontrol are inside updatepanel and contetemplate...


1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 22 Oct 2008, 12:38 PM
Hi Rubihno,

Could you please elaborate a little bit more on your scenario. What do you mean by "The radcontrol are inside updatepanel" ? Please note that it is not supported to add in the AjaxManager settings controls that are already added in UpdatePanels.
It will be very helpful if you could open a regular support ticket and send us sample runnable project which replicates this problem. We will test it locally and provide accurate solution for your scenario.

Sincerely yours,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Rubihno
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or