Using FormDecorator in Wizard control

4 posts, 0 answers
  1. Mark Sapp
    Mark Sapp avatar
    2 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    I'm using the FormDecorator/Office2007 to improve the appearance of the default ASP Wizard control.  The challenge I'm running into is applying a style to the button representing the active step (SelectedItem Template).  Ideally I'd like to have the selected button/active step show as a highlighted button (hover effect) using the same Office2007 skin.  Is there a way to hard-code that via CssClass attribute for the Button declaration?

     <asp:Wizard ID="paramWizard" runat="server" Width="910px" Height="350px">
            <SideBarTemplate>
                <asp:datalist runat="Server" id="SideBarList" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <asp:button runat="server" ID="SideBarButton" Width="160px"/>
                    </ItemTemplate>
                    <SelectedItemTemplate>
                        <asp:Button ID="SideBarButton" runat="server" Width="160px"/>  
                    </SelectedItemTemplate>
                </asp:datalist>
            </SideBarTemplate>
        </asp:Wizard>

    Thanks,
    -Mark

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Aug 2009 Link to this post

    Hello Mark,

    Yes, this is possible. Please check the attached sample that shows how to achieve the desired result.


    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark Sapp
    Mark Sapp avatar
    2 posts
    Member since:
    Jul 2009

    Posted 10 Aug 2009 Link to this post

    Perfect - thanks!

    Purchasing your controls was money well spent.  They work well and the support has been fantastic.  Keep up the good work.

    -Mark

  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Aug 2009 Link to this post


    Thank you for the nice words, Mark - we really appreciate it.
    By the way, because we really liked the result, we created a KB article based on your scenario :)

    Decorating ASP.NET Wizard's steps

    Hopefully it will be of help for other users as well.


    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top