PostBackOptions::ActionUrl Property
Gets or sets the target URL for the postback of a Web Forms page.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::StringThe URL for the postback of a Web Forms page. The default value is an empty string ("").
The ActionUrl property of the PostBackOptions class specifies the URL for the action attribute of a Web Forms page. The ActionUrl 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 ASP.NET Web Pages.
The following code example demonstrates using the ActionUrl property of a PostBackOptions object to cause a cross-page postback if a user positions the mouse pointer on a Label control.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.