The BasePart type exposes the following members.

Methods

  Name Description
Public method AddCustomTags
Post processes the tags in the tagObjectMappingCollection to allow users to have their own tags in the content.
Public method 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/")

Public method 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/")

Public method 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.
Public method 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.

Public method 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.
Public method Static member BuildEditSourceUrl
Builds the URL for the UI popup window.
Public method CreateEditorParts
Creates editor parts.
Public method Dispose
Dispose.
(Overrides Control..::..Dispose()()()().)
Protected method GetCatalogIconImageUrl
Gets the catalog icon image url.
Protected method GetCurrentLanguageId
Gets currently active language id.
Public method GetCurrentPagerTemplate()()()()
Gets current pager template
Public method GetCurrentPagerTemplate(String)
Gets currently active pager template.
Public method GetCurrentTemplateHtml
Gets currently active template.
Public method Static member GetPagerTemplateList
Gets list of available pager templates
Public method GetPagerTemplates()()()()
Gets list of available pager templates
Public method GetPagerTemplates(String)
Gets list of available pager templates
Public method Static member GetTemplateList
Gets list of available templates.
Public method GetTemplates()()()()
Gets list of available templates.
Public method GetTemplates(String)
Gets list of available templates in the specified path.
Public method ManageVerbs
Use this method to add custom verbs to Web parts.
Protected method OnError
OnError overrides Page.OnError, logs errors.
(Overrides TemplateControl..::..OnError(EventArgs).)
Protected method OnInit
Overridden OnInit: support for Web part exporting.
(Overrides UserControlBaseOnInit(EventArgs).)
Protected method OnLoad
Raises the System.Web.UI.Control.Load event.
(Overrides Control..::..OnLoad(EventArgs).)
Protected method OnPreRender
OnPreRender.
(Overrides Control..::..OnPreRender(EventArgs).)
Public method OnWebPartClose
Raised when Web part is closed.
Public method OnWebPartDelete
Raised when Web part is deleted.
Protected method Render
Overriden Render method: adding support for CSS styling and part header/footer.
(Overrides Control..::..Render(HtmlTextWriter).)
Public method RenderTemplatedPart(Control, String, Hashtable)
Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'
Public method RenderTemplatedPart(Control, String, String, Hashtable)
Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'
Public method RenderTemplatedPart(Control, String, String, Hashtable, VelocityContext)
Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'
Public method RenderTemplatedPart(Control, String, String, Hashtable, VelocityContext, VelocityEngine)
Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'
Public method RenderTemplatedPart(Control, String, StringBuilder, Hashtable, VelocityContext, VelocityEngine)
Renders part according to the supplied template.
Available built-in tags:
'TemplateImageFolder'

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also