PostBackButtonBase
RadPostBackButtonBase class provides the PostBack functionality for the RadPushButton, RadImageButton, RadToggleButton, RadRadioButton and RadCheckBox controls.
Definition
Namespace:Telerik.Web.UI.ButtonBase
Assembly:Telerik.Web.UI.dll
Syntax:
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(RadButtonBase))]
[ClientScriptResource("Telerik.Web.UI.PostBackButtonBase", "Telerik.Web.UI.Button.RadButtonScripts.js")]
public abstract class PostBackButtonBase : RadButtonBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, INamingContainer, IButtonControl, IPostBackEventHandler
Inheritance: objectControlWebControlRadWebControlRadButtonBasePostBackButtonBase...
Derived Classes:
Implements:
Inherited Members
Constructors
protected PostBackButtonBase()
Properties
Gets or sets a bool value indicating whether the Button control automatically posts back to the server when clicked.
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("autoPostBack")]
public virtual bool AutoPostBack { get; set; }
Gets or sets a value indicating whether validation is performed when the Button control is clicked.
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("_causesValidation")]
public virtual bool CausesValidation { get; set; }
Implements:
Gets or sets an optional parameter passed to the Command event along with the associated CommandName.
[Bindable(true)]
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("commandArgument")]
public string CommandArgument { get; set; }
Implements:
Gets or sets the command name associated with the Button control that is passed to the Command event.
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("commandName")]
public string CommandName { get; set; }
Implements:
Gets or sets the URL of the page to post to from the current page when the Button control is clicked.
[Themeable(false)]
public string PostBackUrl { get; set; }
Implements:
Gets or sets a bool value indicating whether the Button control will be immediately disabled after the user has clicks it. (i.e. enables/disables "Single Click" functionality)
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("singleClick")]
public virtual bool SingleClick { get; set; }
Gets or sets the text displayed in the Button control after the button is being clicked and disabled. (i.e. the text used for the 'Single Click' functionality)
[Bindable(true)]
[ClientControlProperty]
[ClientPropertyName("singleClickText")]
public string SingleClickText { get; set; }
Gets or sets a value indicating whether the Button control uses the client browser's submit mechanism or the ASP.NET postback mechanism.
[Themeable(false)]
public virtual bool UseSubmitBehavior { get; set; }
Gets or sets the group of controls for which the Button control causes validation when it posts back to the server.
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("_validationGroup")]
public virtual string ValidationGroup { get; set; }
Implements:
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
Creates a PostBackOptions object that represents the RadButton control's postback behavior, and returns the client script generated as a result of the PostBackOptions.
protected virtual string GetPostbackEventReference()
The client script that represents the RadButton control's PostBackOptions.
Executed when post data is loaded from the request
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Overrides:
protected virtual void RegisterForEventValidation()
Events
public event EventHandler Click
Implements:
public event CommandEventHandler Command
Implements: