:: Home
:: Product Features
:: Featured Sites
:: Resellers
:: Company Information
:: Framework
:: Press Releases
:: Contact Us
 
Developed in .NET
 

CMS was designed to be a framework that allows expansion through custom designed controls to perform needed actions. This is a brief overview of the guidelines that must be followed to develop controls for the CMS Framework.

The Format of the .ascx File for Custom Controls
Below is the initial format to use as a base for custom controls in the CMS Framwork.

<%@ Control Language="c#" Codebehind="filename.ascx.cs" Inherits="ControlClass" % >
<asp:placeholder ID="ControlHeader" Runat="server" />
<asp:placeholder ID="DesignHeader" Runat="server" />
<asp:Panel ID="panelProperties" Runat="server" />
<asp:Panel ID="panelRender" Runat="server" />
<asp:Panel ID="panelEdit" Runat="server" Visible="False" />
<asp:placeholder ID="DesignFooter" Runat="server" />
<asp:PlaceHolder ID="ControlFooter" Runat="server" /
>

The controls all must contain the 3 panels and 4 placeholeders as shown above. Control Developers will only be concerned with 2 panels, panelRender and panelEdit; the remaining controls are use by the CMS framework for displaying and providing the edit functions to the control.

The render panel is for displaying the information to the public within a website. The edit panel is to store options for the control to describe how it will be displayed.

Copyright © 2006 COSMIC MANAGEMENT SYSTEM is a division of Solar Velocity, LLC.
All Rights Reserved. • 866.472.1844 • info@solarvelocity.com
Headquarters are located in Atlanta Georgia