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

Operation Modes

  • Demo Configurator
  • Linear selection

By setting the Linear property of RadStepper you can determine whether the user will be forced to follow the Steps sequence or not.

  • When set to "true" (by default), the user is allowed to select any Step of the Stepper regardless of the current selection.
  • When set to "false", the user is allowed to select only the Steps right before or after the currently selected Step. Skipping a step is not possible in this case.

<telerik:RadStepper runat="server" Linear="true">
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.Stepper.OperationModes.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>
</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" Orientation="Vertical">
            <Steps>
                <telerik:StepperStep Label="Cart" Selected="true" Icon="cart" />
                <telerik:StepperStep Label="Personal Details" Icon="user" />
                <telerik:StepperStep Label="Shipping Address" Icon="home" />
                <telerik:StepperStep Label="Place Order" Icon="file-add" />
            </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="Linear selection" Value="linear" />
                                    <telerik:DropDownListItem Text="Non-linear selection" Value="nonlinear" />
                                </Items>
                            </qsf:DropDownList>
                        </li>
                    </ul>
                </qsf:ConfiguratorColumn>
            </qsf:View>
        </Views>
    </qsf:ConfiguratorPanel>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance