TreeView::RaisePostBackEvent Method
Enables the TreeView control to process an event that is raised when a form is posted to the server. The RaisePostBackEvent method is a helper method for the RaisePostBackEvent method.
Assembly: System.Web (in System.Web.dll)
Parameters
- eventArgument
- Type: System::String
A string that represents an optional event argument to pass to the event handler.
The page passes the value of the eventArgument parameter to the RaisePostBackEvent method of the control that implements the System.Web.UI::IPostBackEventHandler interface. This TreeView control also renders the HTML element that causes the postback event to occur. If the control renders client-side script to post back to the server, the argument from the script is passed in the eventArgument parameter. If the postback event is caused by a simple submit to the server, the eventArgument parameter is nullptr.
The RaisePostBackEvent method provides the functionality for many events that are implemented by HTML and Web server controls.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.