The BasePart type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BasePart |
Constructor.
|
Methods
Name | Description | |
---|---|---|
AddCustomTags |
Post processes the tags in the tagObjectMappingCollection to allow users to have their own tags in the content.
|
|
AddDefaultTags(String, String, Hashtable) |
Used to add default template tags. Override to add additional tags.
Built-in tags: TemplateImageFolder (e.g. "AppName/App_Templates/TemplateNameImages/") TemplateCssFolder (e.g. "AppName/App_Templates/TemplateNameCss/") App_ThemesFolder (e.g. "AppName/App_Themes/ThemeName/") |
|
AddDefaultTags(String, StringBuilder, Hashtable) |
Used to add default template tags. Override to add additional tags.
Built-in tags: TemplateImageFolder (e.g. "AppName/App_Templates/TemplateNameImages/") TemplateCssFolder (e.g. "AppName/App_Templates/TemplateNameCss/") App_ThemesFolder (e.g. "AppName/App_Themes/ThemeName/") |
|
AppliedPersonalizationState |
Raised after personalization data is applied to the specified System.Web.UI.WebControls.WebParts.WebPart
control when requested to do so by the parent System.Web.UI.WebControls.WebParts.WebPartManager control.
|
|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
ApplyingPersonalizationState |
Raised before personalization data is applied to the specified System.Web.UI.WebControls.WebParts.WebPart
control when requested to do so by the parent System.Web.UI.WebControls.WebParts.WebPartManager control.
|
|
BuildEditSourceUrl |
Builds the URL for the UI popup window.
|
|
CreateEditorParts |
Creates editor parts.
|
|
Dispose |
Dispose.
(Overrides Control..::..Dispose()()()().) |
|
GetCatalogIconImageUrl |
Gets the catalog icon image url.
|
|
GetCurrentLanguageId |
Gets currently active language id.
|
|
GetCurrentPagerTemplate()()()() |
Gets current pager template
|
|
GetCurrentPagerTemplate(String) |
Gets currently active pager template.
|
|
GetCurrentTemplateHtml |
Gets currently active template.
|
|
GetPagerTemplateList |
Gets list of available pager templates
|
|
GetPagerTemplates()()()() |
Gets list of available pager templates
|
|
GetPagerTemplates(String) |
Gets list of available pager templates
|
|
GetTemplateList |
Gets list of available templates.
|
|
GetTemplates()()()() |
Gets list of available templates.
|
|
GetTemplates(String) |
Gets list of available templates in the specified path.
|
|
ManageVerbs |
Use this method to add custom verbs to Web parts.
|
|
OnError |
OnError overrides Page.OnError, logs errors.
(Overrides TemplateControl..::..OnError(EventArgs).) |
|
OnInit |
Overridden OnInit: support for Web part exporting.
(Overrides UserControlBaseOnInit(EventArgs).) |
|
OnLoad |
Raises the System.Web.UI.Control.Load event.
(Overrides Control..::..OnLoad(EventArgs).) |
|
OnPreRender |
OnPreRender.
(Overrides Control..::..OnPreRender(EventArgs).) |
|
OnWebPartClose |
Raised when Web part is closed.
|
|
OnWebPartDelete |
Raised when Web part is deleted.
|
|
Render |
Overriden Render method: adding support for CSS styling and part header/footer.
(Overrides Control..::..Render(HtmlTextWriter).) |
|
RenderTemplatedPart(Control, String, Hashtable) |
Renders part according to the supplied template.
Available built-in tags: 'TemplateImageFolder' |
|
RenderTemplatedPart(Control, String, String, Hashtable) |
Renders part according to the supplied template.
Available built-in tags: 'TemplateImageFolder' |
|
RenderTemplatedPart(Control, String, String, Hashtable, VelocityContext) |
Renders part according to the supplied template.
Available built-in tags: 'TemplateImageFolder' |
|
RenderTemplatedPart(Control, String, String, Hashtable, VelocityContext, VelocityEngine) |
Renders part according to the supplied template.
Available built-in tags: 'TemplateImageFolder' |
|
RenderTemplatedPart(Control, String, StringBuilder, Hashtable, VelocityContext, VelocityEngine) |
Renders part according to the supplied template.
Available built-in tags: 'TemplateImageFolder' |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
TemplatedItemCountKey |
Templated item count key parameter used to identify the templated items count number.
|
|
TemplatedItemIndexKey |
Templated item index key parameter used to identify the templated item index number.
|
Properties
Name | Description | |
---|---|---|
BaseSiteFullUrl |
Gets site full url with machine and protocol.
|
|
BaseSiteUrl |
Gets site url without the machine and protocol part.
|
|
CacheDuration |
Web part's cache time duration in seconds, if set to 0 Web part is not cached.
|
|
CacheText |
Text that is overlayed on the Web part when it is cached and in admin mode, informing the user on the last
cache datetime etc.
|
|
CatalogIconImageUrl |
Catalog icon image url.
|
|
ControlSpecificTemplateSubPath |
Gets or sets control specific template sub path.
|
|
CssClass |
Web part CSS class.
|
|
CurrentLanguageId |
Gets currently selected language id.
|
|
CurrentPagerTemplate |
Gets currently selected pager template control.
|
|
CurrentPagerTemplateITemplate |
Gets ITemplate for currently selected pager template.
|
|
CurrentTemplateHtml |
Gets HTML content of the currently selected template.
|
|
DefaultLanguageId |
Gets default language id.
|
|
DependencyInjectionFactory |
Gets or sets the dependency injection factory instance.
|
|
Description |
Web part description.
|
|
EditRoles |
Array of Guids that identify the roles which are allowed to edit this part.
|
|
EditRolesString |
Gets or sets edit roles string (role names separated by commas or semicolons) with the role names that are
authorized to make changes on the part.
|
|
FooterHtml |
Holds the HTML code for the footer of the module.
|
|
HeaderHtml |
Holds the HTML code for the header of the module.
|
|
IsEditable |
Indicates if the active user can edit this Web part.
|
|
IsOrphaned |
Gets a value indicating whether the WebPart is orphaned.
|
|
IsTemplated |
Indicates if the Web part is templated.
|
|
log |
Log is used for logging purposes (Errors, Warnings, Messages, etc.)
|
|
ParseCustomTags |
List of comma separated template tags to be pre-parsed for custom tags ([tag]value[/tag]). This additional
processing step can introduce unlimited number of custom tags which can be further used in the template HTML.
|
|
ReloadOnAction |
Property used in parts with actions (delete, add buttons, etc) that affect other parts on the same page
(most notably, social networking modules). When set to true, a page reload action is performed to allow
other modules to refresh their contents where ordinary postback cycle is not enough (since some events are
being called too late).
|
|
Subtitle |
Web part subtitle (Default: String.Empty).
|
|
Template |
Gets or sets a part template ('Default' is default template name).
|
|
TemplateCssFullVirtualPath |
Gets the template css folder virtual path.
|
|
TemplateFullVirtualPath |
Gets template virtual path.
|
|
TemplateImageFullVirtualPath |
Gets the template image folder virtual path.
|
|
TemplatesPath |
Gets or sets yemplates path.
|
|
ThemePath |
Gets ASP.Net theme path.
|
|
Title |
Web part title.
|
|
TitleIconImageUrl |
Web part title icon image url.
|
|
TitleUrl |
Web part title Url.
|
|
ValidationGroup |
Gets or sets module validation group.
|
|
VelocityEngine |
Gets the Velocity engine instance for the WebPart.
|
|
Verbs |
Implementation of the Verbs property required by the IWebActionable interface. Calls virtual ManageVerbs
method that can be overridden to add custom verbs.
|
|
VerbsDisplayStatus |
Display status for Web part verbs.
|
|
VerbsList |
Used to modify the list of verbs for the part, as WebPartVerbCollection is not modyfiable.
|
|
ViewRoles |
Gets or sets view roles - array with Guids of the roles that are authorized to view the part.
|
|
ViewRolesString |
Gets or sets view roles string (separated by commas or semicolons) with the names of roles that are
authorized to view the part.
|
|
Visible |
Gets or sets the visibility of the part. Inherits the base functionality, and disallows the setting
visibility to false in the editable admin modes (unvisible parts must still be visible in these admin modes
to allow for configuration tasks).
(Overrides Control..::..Visible.) |
|
WebBrowsableObject |
Gets the web browsable object.
|