Skip to main content
A newer version of this page is available. .
Tab

ASPxPopupControlBase.FooterText Property

Gets or sets the text content of a window’s footer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("Footer")]
public string FooterText { get; set; }

Property Value

Type Default Description
String "Footer"

A String value that specifies a window’s footer text.

Remarks

Use the FooterText property to specify the text displayed within a window’s footer. The position of the text within the footer is specified by the AppearanceStyleBase.HorizontalAlign and AppearanceStyleBase.VerticalAlign properties available via a window’s PopupControlStyles.Footer ( and PopupWindow.FooterStyle for ASPxPopupControl) property.

If a specific navigation location is assigned for a window’s footer (via the ASPxPopupControlBase.FooterNavigateUrl property and thePopupWindow.FooterNavigateUrl property for ASPxPopupControl), the window’s footer text set by the FooterText property servers as a link. It’s underlined, and a click on it navigates the application to the specified location.

Note

For ASPxPopupControl only:

If the ASPxPopupControl.Windows collection is empty, the FooterText property is applied to the default popup window. Otherwise, the FooterText property specifies a common footer text for all popup windows from the ASPxPopupControl.Windows collection. In this case, the FooterText property’s value can be overridden by using the PopupWindow.FooterText property of individual windows.

Example

This example illustrates how to customize an ASPxPopupControl's footer container using particular properties.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ASPxPopupControl - How to customize a footer</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Show PopUp" AutoPostBack="false">
            <ClientSideEvents Click="function (s,e) {popup.Show();}" />
        </dx:ASPxButton>
    </div>
    <div>
        <dx:ASPxPopupControl ID="ASPxPopupControl1" runat="server" ClientInstanceName="popup" HeaderText="Year: 2000"
            ShowFooter="true" FooterText="Directed by: Ridley Scott" FooterNavigateUrl="http://devexpress.com/">
            <FooterImage Url="Images/new.png" AlternateText="No image" />
            <FooterStyle ForeColor="#666677" Font-Size="12px" />
            <ContentStyle ForeColor="#666677" Font-Names="Tahoma" Font-Size="10px" />
            <ContentCollection>
                <dx:PopupControlContentControl runat="server">
                    <div>
                        When a Roman general is betrayed and his family murdered by a corrupt prince, he
                        comes to Rome as a gladiator to seek revenge.</div>
                </dx:PopupControlContentControl>
            </ContentCollection>
        </dx:ASPxPopupControl>
    </div>
    </form>
</body>
</html>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FooterText property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also