When you create True Web Parts, you have the option of adding a help menu option to the Web Part. You can set two properties related to help:
If you set HelpMode to the value Modal, then the help page opens in a modal window that you must close before returning to the original Web Part page. This option works only with Internet Explorer because it uses the Microsoft proprietary ShowModalDialog() statement. The Web Part in Listing 28.30 displays a modal help page (see Figure 28.9). Figure 28.9. Displaying Help for a Web Part.Listing 28.30. App_Code\ConfusingPart.vb
Notice that the Web Part in Listing 28.30 overrides both the HelpUrl and HelpMode properties. Note You can't use the HelpUrl and HelpMode properties with a Generic Web Part. However, you can simulate the same user experience by adding a custom Help verb, which opens a new browser window, to the Generic Web Part. |