GeekDork.WebSkeleton Reference

IProperties Properties

The properties of the IProperties interface are listed below. For a complete list of IProperties interface members, see the IProperties Members topic.

Public Instance Properties

ApplicationName Gets or sets the Skeleton's Application name. The value provided here is the value that will appear in the title tag of the head section of the final HTML.
BodyAttributes Attribute collection of the internal body tag.
BodyOnLoad If not empty, property's value will be written into the body tags's "onLoad" client event. Use the Add() method to add items to the StringBuilder object. It's recommended that a semi-colon is used at the end of all entries to avoid client-side errors.
CheckForDebug Gets or sets the status of automatic debug checking. Debug checking consists of checking for the existence of the debug querystring parameter as specified by the DebugParameter property. If the debug parameter is present and the value can be resolved to a Boolean "true" then tracing is activated and the DebugState property is set to true.
DebugParameter Gets or sets the parameter name to check for WebSkeleton debug status. CheckForDebug must be set to true for this value to be useful.
DebugState Gets or sets the current status of WebSkeleton debugging. This value will be true if this property was set to True programmatically or if there is a DebugParameter that evaluates to true on the querystring of the URL.
DocTypeDeclarations A StringList of document type declarations to be written out at the beginning of the HTTP response stream.
Framing Provides access to the framing properties as defined in IFramingProperties.
Header The PlaceHolder in the WebSkeleton that holds any items intended for the head section of the HTML. Useful for dropping dynamic javascript or meta tags into the head section.
MainContent The PlaceHolder in WebSkeleton where all controls from within a page's form tag will be moved when the page is parsed. This is the one object that needs to be added to the basepage layout in order to place the page "content" where it's desired.
MainForm The WebSkeleton's internal HtmlForm. This is the HtmlForm that will actually be rendered to HTML. Programmatic access is provided so that it's properties can be modified to facilitate flexible use of that control.
PageName Gets or sets the current name of the page. This value is also automatically extracted from the title tag of the web form. Value used as replacement value for ApplicationName.
RegionsRegions collection of Region objects. Add controls to this collection to make them Regions for extra "common content" areas in the main site layout.
SectionName Gets or sets the site "section" the page is in. Value used as replacement value for ApplicationName.
UseRawHTML Gets or sets a value which affects the rendering of the page. If true, the standard Skeleton is not rendered. Instead, the raw literal HTML from the ASPX is rendered. Useful for create ASPX framesets which still need to be part of the Skeleton for programmatic access to common application information.
UseSmartScroll Gets or sets a value which tells the WebSkeleton to activate SmartScrolling. When browsing the application with Microsoft Internet Explorer the WebSkeleton turns on SmartNavigation. Otherwise, a slightly more primitive form is implemented using javascript scroll position capture and auto scrolling after a page is posted back.

See Also

IProperties Interface | GeekDork.WebSkeleton Namespace