System.Web
2.0.0.0
System.Object
The class allows controls to emit client-side script that initiates a postback event. The class also provides a reference to the control that initiated the postback event through the property. The postback event is created based on the options specified in the object passed in to the method.
Normally, a postback to the server is initiated by elements such as a Submit button or an Image button. However, by emitting client-side JavaScript, different controls can initiate a postback event.
Specifies how client-side JavaScript is generated to initiate a postback event.
Constructor
To be added.
Initializes a new instance of the class with the specified target control data.
The that receives the postback event.
2.0.0.0
Constructor
To be added.
Initializes a new instance of the class with the specified target control and argument data.
The that receives the postback event.
The optional parameter passed during the postback event.
2.0.0.0
Constructor
To be added.
Initializes a new instance of the class with the specified values for the instance's properties.
The that receives the postback event.
The optional parameter passed during the postback event.
The target of the postback.
true to automatically post the form back to the server in response to a user action; otherwise, false.
true if the javascript: prefix is required; otherwise, false.
true if the postback event should return the page to the current scroll position and return focus to the target control; otherwise, false.
true if the postback event can be raised by client script; otherwise, false.
true if client-side validation is required before the postback event occurs; otherwise, false.
The group of controls for which causes validation when it posts back to the server.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.String
To be added.
The property of the class specifies the URL for the action attribute of a Web Forms page. The property can be used to specify which Web Forms page to post data back to, causing a cross-page post. For more information on cross-page posting, see Cross-Page Posting in an ASP.NET Web Page.
Gets or sets the target URL for the postback of a Web Forms page.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.String
To be added.
The property specifies an optional argument that is transferred in a postback event. This property is used to represent the EVENTARGUMENT parameter of the _doPostBack method of the client-side JavaScript.
Gets or sets an optional argument that is transferred in the postback event.
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
You can use the property to indicate that a Web Forms page should automatically post back to the server in response to a user action such as selecting an item from a drop-down list. The JavaScript setTimeout method is used with the _doPostBack method to ensure that the user action completes before the postback occurs.
Gets or sets a value that indicates whether the form will automatically post back to the server in response to a user action.
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
The property indicates whether the postback event should occur from client-side script. If you set the property to false, then no JavaScript is generated. You might assign false to the property if you want to call the __doPostBack method yourself.
Gets or sets a value indicating whether the postback event should occur from client-side script.
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
The property is used to specify whether client-side validation is required before the postback event can occur. When the value of the property is set to true, you can also use the property to specify the name of the validation group for which validation is required before the postback event occurs.
Gets or sets a value indicating whether client-side validation is required before the postback event occurs.
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
The javascript: prefix is needed with some HTML attributes such as the href attribute of the <a> tag to distinguish a JavaScript property from a URL. An attribute like onclick does not need the javascript: prefix because it is automatically associated with JavaScript.
Gets or sets a value indicating whether the javascript: prefix is generated for the client-side script.
2.0.0.0
Property
System.ComponentModel.DefaultValue(null)
System.Web.UI.Control
To be added.
The property returns a object that represents the control that receives the postback event. This property is passed as the EVENTTARGET parameter to the __doPostBack method of the client-side JavaScript.
Gets the control target that receives the postback event.
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
The property indicates whether the postback event should return the page to the current scroll position and return focus to the control after the postback event has occurred.
Gets or sets a value indicating whether the postback event should return the page to the current scroll position and return focus to the current control.
2.0.0.0
Property
System.ComponentModel.DefaultValue("")
System.String
To be added.
Use the property to specify the validation group to validate when a postback event is generated. Only the validation controls in the specified validation group are validated.
Gets or sets the group of controls for which the object causes validation when it posts back to the server.
2.0.0.0