New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Layout

  • Demo Configurator
  • Labels and Indicators

RadStepper allows customizing the rendered layout by enabling/disabling the Labels and the Indicator elements.

The Stepper layout could be configured via the ShowLabel and ShowIndicator properties. By default both properties are enabled.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.Stepper.Layout.DefaultCS" %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container">
        <telerik:RadStepper runat="server" ID="RadStepper1">
            <Steps>
                <telerik:StepperStep Label="First Step" />
                <telerik:StepperStep Label="Second Step" Selected="true" />
                <telerik:StepperStep Label="Third Step" />
                <telerik:StepperStep Label="Step Four" />
                <telerik:StepperStep Label="Last Step" />
            </Steps>
        </telerik:RadStepper>
    </div>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadDropDownList1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadDropDownList1" />
                    <telerik:AjaxUpdatedControl ControlID="RadStepper1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <qsf:ConfiguratorPanel ID="ConfiguratorPanel" runat="server" Expanded="true">
        <Views>
            <qsf:View>
                <qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Size="Wide">
                    <ul class="fb-group">
                        <li>
                            <qsf:DropDownList ID="RadDropDownList1" runat="server" RenderMode="Lightweight" OnSelectedIndexChanged="RadDropDownList1_SelectedIndexChanged" AutoPostBack="true">
                                <Items>
                                    <telerik:DropDownListItem Text="Labels and Indicators" Value="both" Selected="true" />
                                    <telerik:DropDownListItem Text="Labels Only" Value="labels" />
                                    <telerik:DropDownListItem Text="Indicators Only" Value="indicators" />
                                </Items>
                            </qsf:DropDownList>
                        </li>
                    </ul>
                </qsf:ConfiguratorColumn>
            </qsf:View>
        </Views>
    </qsf:ConfiguratorPanel>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance