This section presents some of the .ascx user controls that are found in the /controls folder.
This topic contains the following sections.
Description
The goal when designing these user controls, was to make them as reusable as possible. You can use them in your aspx pages (or other ascx controls) by first registering them using the <%@ Register> directive.
<%@ Page Language="C#" MasterPageFile="~/Phoenix.master" CodeFile="~/mypage.aspx.cs" Inherits="mypage_aspx" %> <%@ Register TagPrefix="px" TagName="ListView" Src="~/controls/listview.ascx" %>
<%@ Control Language="C#" CodeFile="mycontrol.ascx.cs" Inherits="mycontrol_ascx" %> <%@ Register TagPrefix="px" TagName="ReqFieldIndicator" Src="~/controls/requiredfieldindicator.ascx" %>
List of User Controls
There are dozens of .ascx user controls for you to use from the /controls folder. However, we have provided documentation only for the most useful ones.
| Do not confuse user controls with server controls. Server controls are part of the User Interface Layer and are found in the Phoenix.UI Namespace. |
listview.ascx
listview.ascx - displays the contents of any folder for a given module type.
breadcrumb.ascx
breadcrumb.ascx - displays the breadcrumb for the active workspace, module and folder.
menu.ascx
menu.ascx - displays the left hand menu for the active workspace.
login.ascx
login.ascx - renders the login status and role for the current user.
person.ascx
person.ascx - displays information for a Person and allows edits to be made.
