Web Forms Properties – PB Docs 120


Web Forms Properties

In addition to PowerScript properties that are converted to .NET properties and JavaScript attributes, a .NET Web Forms application has global properties that you can set at design time, and several built-in control properties that are not valid for other types of PowerBuilder targets.

Surround the calls to the built-in control properties in a conditional compilation block for .NET Web Forms. You can set these properties to reduce postbacks, embed hyperlinked Web pages, or remove the display of file, mail, print, and theme manager icons from specific windows when a global display property is set.

  • Global Web Configuration Properties
    Global properties are properties that you set at design time on the Configuration tab of the Project painter, or after deployment in the generated Web.Config file for your application.
  • Creating Custom Global Properties
    Create custom global properties for a Web Forms project from the Configuration tab page of the Project painter.
  • AutoPostBack
    Reduce postbacks and improve performance by setting the AutoPostBack property for certain controls to false.
  • Embedded
    Set the Embedded property to true to use the IFRAME element for a Web page defined in the URL property of a StaticHyperLink control. This causes the Web page to appear inline on the Web Forms page (window) containing the StaticHyperLink control.
  • HasFileManager
    Set this property to false to hide the File Manager on a particular page in a Web Forms application.
  • HasMailManager
    Set this property to false to hide the Mail Profile Manager on a particular page in a Web Forms application.
  • HasPrintManager
    Set this property to false to hide the Print Manager on a particular page in a Web Forms application.
  • HasThemeManager
    Set this property to false to hide the Theme Manager on a particular page in a Web Forms application.
Parent topic: Web Forms Targets

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x