RadXmlHttpPanel
RadXmlHttpPanel class
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[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:
Inherited Members
Constructors
public RadXmlHttpPanel()
Properties
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Gets or sets a boolean value indicating whether or not the client scripts loaded by the RadControls hosted inside the RadXmlHttpPanel should be executed.
[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.
public override bool EnableEmbeddedBaseStylesheet { get; }
Overrides:
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.
public override bool EnableEmbeddedSkins { get; }
Overrides:
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.
[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.
public int MaxJsonLength { get; set; }
[Obsolete("Please use the OnClientResponseEnding event instead")]
[Browsable(false)]
public virtual string OnClientResponseEnd { get; set; }
[ClientPropertyName("responseEnded")]
[ClientControlEvent]
public virtual string OnClientResponseEnded { get; set; }
[ClientPropertyName("responseEnding")]
[ClientControlEvent]
public virtual string OnClientResponseEnding { get; set; }
[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.
public XmlHttpPanelRenderMode RenderMode { get; set; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets a string value depending on which a certain content is loaded in the RadXmlHttpPanel.
[ClientControlProperty]
public string Value { get; set; }
Gets or sets the request method for WCF Service used to populate content GET, POST, PUT, DELETE
[ClientControlProperty]
public XmlHttpPanelWcfRequestMethod WcfRequestMethod { get; set; }
Gets or sets a string value that indicates the WCF Service method used by the RadXmlHttpPanel.
[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.
[ClientControlProperty]
public string WcfServicePath { get; set; }
Gets or sets a string value that indicates the WebService method used by the RadXmlHttpPanel.
[ClientControlProperty]
public string WebMethodName { get; set; }
Gets or sets a string value that indicates the virtual path of the WebService used by the RadXmlHttpPanel.
[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
protected override void ControlPreRender()
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected virtual void OnServiceRequest()
Events
ServiceRequest
XmlHttpPanelEventHandler
The event to raise when the XmlHttpPanel gets updated, does a callback or has a Value.
public event XmlHttpPanelEventHandler ServiceRequest