RaisePostBackEvent Method
Collapse the table of content
Expand the table of content

DetailsView.RaisePostBackEvent Method (String)


Raises the appropriate events for the DetailsView control when it posts back to the server.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

abstract RaisePostBackEvent : 
        eventArgument:string -> unit
override RaisePostBackEvent : 
        eventArgument:string -> unit


Type: System.String

The event argument from which to create a CommandEventArgs for the event or events that are raised.

The page calls the RaisePostBackEvent method when a postback event occurs that raises the appropriate events for a DetailsView control. This call occurs in the page life cycle after loading and change notification are complete, but before prerendering occurs. This method has been implemented to create a CommandEventArgs object for the events that are raised.


This method is used primarily by control developers to extend the DetailsView control.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft