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

RadXmlHttpPanel class

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[RequiredScript(typeof(TouchScrollExtender))]
[RequiredScript(typeof(jQueryPlugins))]
[ClientScriptResource("Telerik.Web.UI.RadXmlHttpPanel", "Telerik.Web.UI.XmlHttpPanel.RadXmlHttpPanel.js")]
[TelerikToolboxCategory("Miscellaneous")]
[ToolboxBitmap(typeof(RadXmlHttpPanel), "Toolbox.Icons.XmlHttpPanel.png")]
public class RadXmlHttpPanel : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, ICallbackEventHandler

Inheritance: objectControlWebControlRadWebControlRadXmlHttpPanel

Implements: IAttributeAccessorICallbackEventHandlerIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIParserAccessorIPostBackDataHandlerIScriptControlISkinnableControlIUrlResolutionService...

Inherited Members WebControl.AddAttributesToRender(HtmlTextWriter)WebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.RenderContents(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.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(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.ClientIDModeControl.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()...

Constructors

C#
public RadXmlHttpPanel()

Properties

The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()

C#
protected override string CssClassFormatString { get; }

Overrides: RadWebControl.CssClassFormatString

Example:
C#
protected override string CssClassFormatString
{
       get
       {
           return "RadDock RadDock_{0} rdWTitle rdWFooter";
       }
}

Gets or sets a boolean value indicating whether or not the client scripts loaded by the RadControls hosted inside the RadXmlHttpPanel should be executed.

C#
[ClientControlProperty]
public bool EnableClientScriptEvaluation { get; set; }

Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.

C#
public override bool EnableEmbeddedBaseStylesheet { get; }

Overrides: RadWebControl.EnableEmbeddedBaseStylesheet

If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.

Gets or sets the value, indicating whether to render links to the embedded skins or not.

C#
public override bool EnableEmbeddedSkins { get; }

Overrides: RadWebControl.EnableEmbeddedSkins

If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.

Gets or sets the ID of the RadAjaxLoadingPanel control that will be displayed over the control during the partial page update.

C#
[TypeConverter("Telerik.Web.Design.AjaxLoadingPanelIDConverter")]
public string LoadingPanelID { get; set; }

Property to define the maximum length of the Value for the XmlHttpPanel. The default is 2097152 characters, which is equivalent to 4 MB of Unicode string data.

C#
public int MaxJsonLength { get; set; }
C#
[Obsolete("Please use the OnClientResponseEnding event instead")]
[Browsable(false)]
public virtual string OnClientResponseEnd { get; set; }
C#
[ClientPropertyName("responseEnded")]
[ClientControlEvent]
public virtual string OnClientResponseEnded { get; set; }
C#
[ClientPropertyName("responseEnding")]
[ClientControlEvent]
public virtual string OnClientResponseEnding { get; set; }
C#
[ClientPropertyName("responseError")]
[ClientControlEvent]
public virtual string OnClientResponseError { get; set; }

Gets or sets a value that indicates how the content of an RadXmlHttpPanel control will be wrapped on a page. In-line means the content will be wrapped in a span tag (Default), while Block means that the content will be wrapped in a div.

C#
public XmlHttpPanelRenderMode RenderMode { get; set; }
C#
protected override HtmlTextWriterTag TagKey { get; }

Overrides: WebControl.TagKey

Gets or sets a string value depending on which a certain content is loaded in the RadXmlHttpPanel.

C#
[ClientControlProperty]
public string Value { get; set; }

Gets or sets the request method for WCF Service used to populate content GET, POST, PUT, DELETE

C#
[ClientControlProperty]
public XmlHttpPanelWcfRequestMethod WcfRequestMethod { get; set; }

Gets or sets a string value that indicates the WCF Service method used by the RadXmlHttpPanel.

C#
[ClientControlProperty]
public string WcfServiceMethod { get; set; }

Gets or sets a string value that indicates the virtual path of the WCF Service used by the RadXmlHttpPanel.

C#
[ClientControlProperty]
public string WcfServicePath { get; set; }

Gets or sets a string value that indicates the WebService method used by the RadXmlHttpPanel.

C#
[ClientControlProperty]
public string WebMethodName { get; set; }

Gets or sets a string value that indicates the virtual path of the WebService used by the RadXmlHttpPanel.

C#
[ClientControlProperty]
public string WebMethodPath { get; set; }

Methods

Code moved into this method from OnPreRender to make sure it executed when the framework skips OnPreRender() for some reason

C#
protected override void ControlPreRender()

Overrides: RadWebControl.ControlPreRender()

C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadWebControl.DescribeComponent(IScriptDescriptor)

C#
protected virtual void OnServiceRequest()
C#
public static string RenderView(string path, object data)
Parameters:pathstringdataobjectReturns:

string

C#
public static string RenderView(string path)
Parameters:pathstringReturns:

string

Events

ServiceRequest

XmlHttpPanelEventHandler

The event to raise when the XmlHttpPanel gets updated, does a callback or has a Value.

C#
public event XmlHttpPanelEventHandler ServiceRequest