Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / May 2006

Tip: Looking for answers? Try searching our database.

Styling CreateUserWizardStep Buttons?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clintonG - 22 May 2006 04:09 GMT
Styling CreateUserWizardStep Buttons?

I thought I had all aspects of the CreateUserWizard templated and all of my
Previous and Next buttons use the style of the Button control as declared in
the Skin file but the CreateUserWizardStep wires up its Previous and Next
buttons some way I don't understand and I haven't been able to find an
explicit example to resolve this and move on.

A light-weight example of my declaration looks like this...

<!--
Other steps preceding the CreateUserWizardStep
...
...
-->
<asp:CreateUserWizardStep ID="CreateUserWizardStep10" runat="server">
  <ContentTemplate>
  ...
  ...
  <asp:Literal ID="ErrorMessage" runat="server"
EnableViewState="False"></asp:Literal>
  </ContentTemplate>
</asp:CreateUserWizardStep>

Can somebody explain how this CreateUserWizardStep design bug is resolved or
copy and paste an explicit declaration?

--
<%= Clinton Gallagher
       NET csgallagher AT metromilwaukee.com
       URL http://www.metromilwaukee.com/clintongallagher/ 
clintonG - 27 May 2006 15:10 GMT
 This will style the poor design of the default Previous - Next buttons
which will not inherit from a Skin like all other buttons...

<asp:CreateUserWizardStep>
...
...
  <CustomNavigationTemplate>
   <div style="margin: 1em 1em;">
   <asp:Button ID="StepPreviousButton" runat="server" Text="Previous"
CommandName="MovePrevious"/>
   <asp:Button ID="CreateUserButton" runat="server" Text="Save
Registration" CommandName="MoveNext" ValidationGroup="CreateUserWizard"/>
   </div>
   </CustomNavigationTemplate>
</asp:CreateUserWizardStep>

<%= Clinton

> Styling CreateUserWizardStep Buttons?
>
[quoted text clipped - 27 lines]
>        NET csgallagher AT metromilwaukee.com
>        URL http://www.metromilwaukee.com/clintongallagher/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.