You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > EkWebControl Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
EkWebControl Class

The base class from which all Ektron CMS400 Server Controls are derived.

C#
[ToolboxData("<{0}:EkWebControl runat=server></{0}:EkWebControl>")]
public abstract class EkWebControl : System.Web.UI.WebControls.WebParts.WebPart;
Visual Basic
<ToolboxData("<{0}:EkWebControl runat=server></{0}:EkWebControl>")>
Public abstract Class EkWebControl
Inherits System.Web.UI.WebControls.WebParts.WebPart

EkWebControl.cs

Name 
Description 
The methods of the EkWebControl class are listed here. 
The properties of the EkWebControl class are listed here. 
 
Name 
Description 
 
Fill 
Method that can be overridden and used to grab data from the back end for each server control.  
 
Used to localize strings in the control properties window and at render time. Strings should be defined in resource files. Any property that the user would like to be localized to the sites default language should begin with the constant STR_LOCALIZE defined in the EkWebControl class.  
 
Used to register all necessary DmsMenu CSS and Scripts in one shot  
 
 
 
This methods adds a stylesheet link tag in the page header. You can call this method multiple times with same stylesheet path because it will only register once.  
 
Used to register the DmsMenu.css File for the DmsMenu  
 
Used to register the DMSMenu.js file  
 
Used to register the EktronJQuery.js file  
 
Used to Register the Membership tab JS and CSS files  
 
 
 
Used to Register the box.css file for ThickBox  
 
Used to Register the thickbox.js file  
 
This methods searches for the literal-control containing the head-definition  
 
Renders the control for output as a string. Use this method to display your controls if you instantiate your control as a component in code behind.  
 
Wrap 
Method that can be overridden and used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
DESIGN TIME ONLY: Used to indicate to a user that they are logged in, and permits them to login through a login dialog in Visual Studio.NET.  
 
DESIGN TIME ONLY: Used to find the web service required to access the CMS in Design Time.  
 
An exception caught in the rendering of this Server Control.  
 
Hide 
Alias for the 'Visible' property. Visible is set to mirror this value. This property is used to hide output in design time, whereas Visible does not hide output in design time.  
 
DESIGN TIME ONLY: Read only property that lets a developer know if the user is currently log into the site as a user.  
 
Set a language for viewing content blocks, collections, etc. in different languages. The language property shows results in design-time (in Visual Studio) and at run-time (in a browser).  
 
This property lets a designer view content blocks, collections etc in different languages.  
 
DESIGN TIME ONLY: Read only property that lets a developer know the user ID of the user who is currently logged in.  
 
DESIGN TIME ONLY: Read only property that lets a developer know the user name of the user who is currently logged in.  
 
Suppresses the output of span/div tags around the control.  
 
Text 
Allows a developer to treat the server control as a Label, taking information from the Control and painting it on top of the Control for display. Leave blank for default display.  
 
Allows a developer to specify control's tag. Default is assumed "<span>".  
 
Name 
Description 
 
Constructor for the Ektron Server Control base class - initializes the CmsConnection layer  
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!