This is a migrated thread and some comments may be shown as answers.

Using FormDecorator in Wizard control

3 Answers 75 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Mark Sapp
Top achievements
Rank 1
Mark Sapp asked on 06 Aug 2009, 04:12 PM
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

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 07 Aug 2009, 08:56 AM
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.
0
Mark Sapp
Top achievements
Rank 1
answered on 10 Aug 2009, 04:24 PM
Perfect - thanks!

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

-Mark

0
Georgi Tunev
Telerik team
answered on 11 Aug 2009, 09:45 AM

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.
Tags
FormDecorator
Asked by
Mark Sapp
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Mark Sapp
Top achievements
Rank 1
Share this question
or