Gets or sets the URL to a Help file for a WebPart control.
Assembly: System.Web (in System.Web.dll)
The internal validation system has determined that the URL might contain script attacks.
To enable a verb menu with a help verb in the verbs menu of a WebPart control, you must provide a value for the property. The manner in which the Help content is displayed in the browser is determined by the value of the HelpMode property.
The following code example demonstrates the use of the TextDisplayWebPart, which is found in the Example section of the WebPart class overview.property. This example assumes the use of a custom control,
The code example also includes an HTML page that contains fictitious Help content for the TextDisplayWebPart control. For this example to work, you must save the following code in a file named Textwebparthelp.htm and place it in the same directory of your site as the .aspx page.
<html> <head runat="server"> <title>Text Content WebPart Help</title> </head> <body> <div> <h1>Text Content WebPart Help</h1> To make the WebPart control work... </div> </body> </html>
The final part of the example is a Web page that shows how to reference the TextDisplayWebPart control. Note that in the declarative markup, the HelpMode property value is set to Navigate, and the code also sets the value of the property to the name of the HTML file that contains the Help content. Load the page into a browser, and click the help verb on the verbs menu of the WebPart control.
Available since 2.0