New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

RadAjaxPanel is one of the two major controls of the Telerik RadAjax suite. The other one is RadAjaxManager. The RadAjaxPanel control provides the easiest way to AJAX-enable ASP.NET web control(s). To do this you simply need to place the controls that you want ajaxified into RadAjaxPanel and Telerik RadAjax takes care of the rest. Best of all this happens transparently to the framework and the controls that are being ajaxified.

You can find information on the server API of RadAjaxPanel at the Server-Side Programming article here: .

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TelerikToolboxCategory("Miscellaneous")]
[ToolboxBitmap(typeof(RadAjaxPanel), "Toolbox.Icons.Ajax.png")]
[ClientScriptResource("Telerik.Web.UI.RadAjaxPanel", "Telerik.Web.UI.Ajax.Ajax.js")]
public class RadAjaxPanel : RadAjaxControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, IScriptControl

Inheritance: objectControlWebControlRadAjaxControlRadAjaxPanel

Implements: IAttributeAccessorIComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorIParserAccessorIPostBackEventHandlerIScriptControlIUrlResolutionService...

Inherited Members RadAjaxControl.OnAjaxSettingCreating(AjaxSettingCreatingEventArgs)RadAjaxControl.OnAjaxSettingCreated(AjaxSettingCreatedEventArgs)RadAjaxControl.OnAjaxRequest(AjaxRequestEventArgs)RadAjaxControl.OnCommand(CommandEventArgs)RadAjaxControl.OnBubbleEvent(object, EventArgs)RadAjaxControl.Redirect(string)RadAjaxControl.Alert(string)RadAjaxControl.GetAjaxEventReference(string)RadAjaxControl.FocusControl(Control)RadAjaxControl.FocusControl(string)RadAjaxControl.OnLoad(EventArgs)RadAjaxControl.OnInit(EventArgs)RadAjaxControl.EnableEmbeddedScriptsRadAjaxControl.PostBackControlsRadAjaxControl.ShowLoadingPanelForPostBackControlsRadAjaxControl.RestoreOriginalRenderDelegateRadAjaxControl.EnableAJAXRadAjaxControl.EnableHistoryRadAjaxControl.EnableAriaSupportRadAjaxControl.ResponseScriptsRadAjaxControl.ClientIDModeRadAjaxControl.EnablePageHeadUpdateRadAjaxControl.RequestQueueSizeRadAjaxControl.IsAjaxRequestRadAjaxControl.AjaxSettingCreatingRadAjaxControl.AjaxSettingCreatedRadAjaxControl.AjaxRequestRadAjaxControl.CommandWebControl.AddAttributesToRender(HtmlTextWriter)WebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.SaveViewState()WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Properties

This property specifies the image that should be displayed as background in the AjaxPanel. If left blank, no background image is applied.

C#
public virtual string BackImageUrl { get; set; }

Gets a reference to AjaxClientEvents, which holds properties for setting the RadAjaxPanel client-side events.

C#
[PersistenceMode(PersistenceMode.Attribute)]
public override AjaxClientEvents ClientEvents { get; }
Property Value:

A reference to AjaxClientEvents, which holds properties for setting the RadAjaxPanel client-side events.

Overrides: RadAjaxControl.ClientEvents

This property specifies the horizontal alignment of the RadAjaxPanel contents.

C#
public virtual HorizontalAlign HorizontalAlign { get; set; }

Gets or sets the ID of the RadAjaxLoadingPanel control that will be displayed over the control during AJAX requests.

C#
[TypeConverter("Telerik.Web.Design.AjaxLoadingPanelIDConverter, Telerik.Web.Design, Version=2026.3.812.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4")]
public string LoadingPanelID { get; set; }
Property Value:

The ID of the RadAjaxLoadingPanel control that will be displayed over the control during AJAX requests.

Gets or sets the render mode of the the RadAjaxPanel. The default value is Block.

C#
public UpdatePanelRenderMode RenderMode { get; set; }
Property Value:

The render mode of the the RadAjaxPanel. The default value is Block.

C#
protected override HtmlTextWriterTag TagKey { get; }

Overrides: WebControl.TagKey

Set class attribute to UpdatePanel that will wrap the UpdatedControl

C#
public virtual string UpdatePanelCssClass { get; set; }

This property specifies the layout of the AjaxPanel. When this is set to FALSE, the AjaxPanel contents will not be wrapped to a new line no matter how wide the control is.

C#
public virtual bool Wrap { get; set; }

Methods

C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs

Overrides: Control.OnPreRender(EventArgs)

C#
protected override void Render(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WebControl.Render(HtmlTextWriter)

C#
protected override void RenderChildren(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: Control.RenderChildren(HtmlTextWriter)

C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WebControl.RenderContents(HtmlTextWriter)