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

General Ajax Question RE: Panel & Manager

1 Answer 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Alan T
Top achievements
Rank 1
Alan T asked on 25 Jul 2011, 08:24 PM
This is a very general question so i'm sure it could be answered, but i do tend to get myself confused when using the radajaxmanager. 

Basically, my question is,  If i have a radcombobox for example, which say performs some functions on some other controls on the page. 

Can I : Wrap everything in a RadAjaxPanel then simply state that the RadAjaxPanel updates itself and is also the Ajax Control. 

Or is the RadAjaxPanel ONLY for ajaxifying standard .NET controls, and i have to reference each telerik control in the RadAjaxManager.

I guess an example would help

<telerik:RadComboBox ID=combo1... >
<telerik:RadComboBox ID=combo2 .. >
<asp:label id=label1 ...> 

Say these 2 update each other / the label. Would i therefore need to add both combo1 & 2 into my radajaxmanager or could i wrap the entire lot in a radajaxpanel e.g. the top 2, or the bottom 1
  <telerik:AjaxSetting AjaxControlID="combo1">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="combo2" />
</UpdatedControls>
</telerik:AjaxSetting>
  
  <telerik:AjaxSetting AjaxControlID="combo2">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="combo1" />
</UpdatedControls>
</telerik:AjaxSetting>
  
  
  <telerik:AjaxSetting AjaxControlID="RadAjaxPanel1">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>


1 Answer, 1 is accepted

Sort by
0
Alan T
Top achievements
Rank 1
answered on 27 Jul 2011, 02:32 PM
Ok done a bit of reading, and it seems that i should be using really only radajaxmanager or radajaxpanel. I've decided that the panel would be the better of them in this circumstance.

So what i've got now is a radajaxpanel encompassing pretty much all my page; radmultipage, radtabstrip, radinputs, as well as some standard .net controls.

This seems to work ok, the controls taht would usually require a postback are now ajaxified. However, i cannot get the ajaxloading panel to display.

It's worth noting that this is on acontent page within a master page.

    <telerik:RadAjaxLoadingPanel ID="ralp_property" runat="server"></telerik:RadAjaxLoadingPanel>

    <telerik:RadAjaxPanel ID="rap_property" runat="server" LoadingPanelID="ralp_property">
   ........
   </telerik:RadAjaxPanel>

Any suggestions?
Tags
Ajax
Asked by
Alan T
Top achievements
Rank 1
Answers by
Alan T
Top achievements
Rank 1
Share this question
or