aspnet-devexpress-dot-web-dot-aspxroundpanel-22a2e34f.md
Gets or sets the text displayed within the RoundPanel’s header.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("Header")]
public string HeaderText { get; set; }
<DefaultValue("Header")>
Public Property HeaderText As String
| Type | Default | Description |
|---|---|---|
| String | "Header" |
A string value that specifies the header’s text.
|
If a specific navigation location is assigned for the panel’s header (via the ASPxRoundPanel.HeaderNavigateUrl property), the header’s text servers as a link. It’s underlined, and a click on it navigates the application to the specified location.
The complete sample project is available in the DevExpress Code Central database at E1120.
...
<dxrp:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="300px"
HeaderText="Delete Confirmation" DefaultButton="btnYes">
<PanelCollection>
<dxp:PanelContent runat="server">
<table>
<tr>
<td rowspan="2">
<dxe:ASPxImage ID="ASPxImage1" runat="server"
ImageUrl="~/Images/img1.png">
</dxe:ASPxImage>
</td>
<td>
<dxe:ASPxLabel ID="ASPxLabel1" runat="server"
Text="Are you sure you want to delete this row?">
</dxe:ASPxLabel>
</td>
</tr>
<tr>
<td>
<dxe:ASPxLabel ID="ASPxLabel2" runat="server" Text="Row ID: " >
</dxe:ASPxLabel>
<dxe:ASPxLabel ID="ASPxLabel3" runat="server"
Text="" ClientInstanceName="lbRowId" Font-Bold="True">
</dxe:ASPxLabel>
</td>
</tr>
</table>
<table>
<tr>
<td>
<dxe:ASPxCheckBox ID="cbDontAsk" runat="server"
Text="Don't ask confirmation" ClientInstanceName="cbDontAsk">
<ClientSideEvents CheckedChanged="cbDontAsk_CheckedChanged" />
</dxe:ASPxCheckBox>
</td>
<td style="width:100%">
</td>
<td>
<dxe:ASPxButton ID="btnYes" runat="server" Text="Yes" Width="50px"
AutoPostBack="False" ClientInstanceName="btnYes">
<ClientSideEvents Click="btnYes_Click" />
</dxe:ASPxButton>
</td>
<td>
<dxe:ASPxButton ID="btnNo" runat="server" Text="No"
Width="50px" AutoPostBack="False">
<ClientSideEvents Click="btnNo_Click" />
</dxe:ASPxButton>
</td>
</tr>
</table>
</dxp:PanelContent>
</PanelCollection>
</dxrp:ASPxRoundPanel>
See Also