HasMailManager

Set this property to false to hide the Mail Profile Manager on a particular page in a Web Forms application.

Applies to

Window controls

Usage

In scripts, surround the HasFileManager property in a conditional compilation code block for Web Forms applications:
   #IF DEFINED PBWEBFORM THEN
      w_mywindow.HasMailManager = false 	  
   #END IF

This property is valid for .NET Web Forms applications only when the PBMailManager global property is set to true. The global property allows the Mail Profile Manager icon to appear on all window forms in your Web Forms applications. The Mail Profile Manager icon gives users access to a mail profile manager on the Web Forms server.

By default, the HasMailManager property is set to true and the PBMailManager is set to false. When you change the PBMailManager global property to true, all window forms show the Mail Profile Manager icon unless you set the HasMailManager for a particular window to false.

Note: In MDI applications, manager icons appear on the frame window. To hide the Mail Profile Manager icon when the PBMailManager global property is set to true, you must set the HasMailManager property of both the frame and the active sheet to false.