|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
add a link button to prev/next in a wizardHi;
In the prev/next buttons at the bottom of a wizard, I would like to add a hyperlink that is an image with a link to a help.htm page. Is there a way to do this? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm Hello Dave,
How are you doing? As for the Wizard control, it has the following templates inside the control: **StartNavigation **StepNavigation **FinishNavigation And by default since we haven't explicitly define these templates, it will use the built-in template, as below: **StartNavigation -------- a "Next" navigation button **StepNavigation --------- "Previous" and "Next" navigation button **FinishNavigation --------- "Previous" and "Finish" navigation button You can manually define these templaets to add any custom sub controls or UI elements. e.g. ========================================= <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="2"> <WizardSteps> <asp:WizardStep ID="Step1" runat="server" Title="Step 1"> <asp:Label ID="Label1" runat="server" Text="Step 1"></asp:Label> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </asp:WizardStep> <asp:WizardStep ID="Step2" runat="server" Title="Step 2"> <asp:Label ID="Label2" runat="server" Text="Step 2"></asp:Label> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> </asp:WizardStep> <asp:WizardStep ID="Step3" runat="server" Title="Step 3"> <asp:Label ID="Label3" runat="server" Text="Step 3"></asp:Label> <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> </asp:WizardStep> </WizardSteps> <StartNavigationTemplate> <asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext" Text="Next" /> <!-- add custom elements here....--> </StartNavigationTemplate> <StepNavigationTemplate> <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious" Text="Previous" /> <!-- add custom elements here....--> <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" Text="Next" /> </StepNavigationTemplate> <FinishNavigationTemplate> <asp:Button ID="FinishPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious" Text="Previous" /> <asp:Button ID="FinishButton" runat="server" CommandName="MoveComplete" Text="Finish" /> <!-- add custom elements here....--> </FinishNavigationTemplate> </asp:Wizard> ======================================== BTW, in VS 2005 design-view, you can use the Wizard control's "Wizard Tasks"(from action list ) to convert from default template to explicit template. Here are some reference about using ASP.NET Wizard control: #Wizard Web Server Control (Visual Studio) http://msdn2.microsoft.com/en-us/library/wsdd9x19.aspx Hope this helps. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. worked great - and very easy - thanks
-- Show quoteHide quotethanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm "Steven Cheng[MSFT]" wrote: > Hello Dave, > > How are you doing? > > As for the Wizard control, it has the following templates inside the > control: > > **StartNavigation > **StepNavigation > **FinishNavigation > > And by default since we haven't explicitly define these templates, it will > use the built-in template, as below: > > > **StartNavigation -------- a "Next" navigation button > **StepNavigation --------- "Previous" and "Next" navigation button > **FinishNavigation --------- "Previous" and "Finish" navigation button > > You can manually define these templaets to add any custom sub controls or > UI elements. e.g. > > ========================================= > <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="2"> > <WizardSteps> > <asp:WizardStep ID="Step1" runat="server" Title="Step 1"> > <asp:Label ID="Label1" runat="server" Text="Step > 1"></asp:Label> > <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> > </asp:WizardStep> > <asp:WizardStep ID="Step2" runat="server" Title="Step 2"> > <asp:Label ID="Label2" runat="server" Text="Step > 2"></asp:Label> > <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> > </asp:WizardStep> > <asp:WizardStep ID="Step3" runat="server" Title="Step 3"> > <asp:Label ID="Label3" runat="server" Text="Step > 3"></asp:Label> > <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> > </asp:WizardStep> > </WizardSteps> > <StartNavigationTemplate> > <asp:Button ID="StartNextButton" runat="server" > CommandName="MoveNext" Text="Next" /> > <!-- add custom elements here....--> > </StartNavigationTemplate> > <StepNavigationTemplate> > <asp:Button ID="StepPreviousButton" runat="server" > CausesValidation="False" CommandName="MovePrevious" > Text="Previous" /> > <!-- add custom elements here....--> > <asp:Button ID="StepNextButton" runat="server" > CommandName="MoveNext" Text="Next" /> > </StepNavigationTemplate> > <FinishNavigationTemplate> > <asp:Button ID="FinishPreviousButton" runat="server" > CausesValidation="False" CommandName="MovePrevious" > Text="Previous" /> > <asp:Button ID="FinishButton" runat="server" > CommandName="MoveComplete" Text="Finish" /> > <!-- add custom elements here....--> > </FinishNavigationTemplate> > </asp:Wizard> > ======================================== > > BTW, in VS 2005 design-view, you can use the Wizard control's "Wizard > Tasks"(from action list ) to convert from default template to explicit > template. > > Here are some reference about using ASP.NET Wizard control: > > #Wizard Web Server Control (Visual Studio) > http://msdn2.microsoft.com/en-us/library/wsdd9x19.aspx > > Hope this helps. > > Sincerely, > > Steven Cheng > > Microsoft MSDN Online Support Lead > > > > ================================================== > > Get notification to my posts through email? Please refer to > http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications. > > > > Note: The MSDN Managed Newsgroup support offering is for non-urgent issues > where an initial response from the community or a Microsoft Support > Engineer within 1 business day is acceptable. Please note that each follow > up response may take approximately 2 business days as the support > professional working with you may need further investigation to reach the > most efficient resolution. The offering is not appropriate for situations > that require urgent, real-time or phone-based interactions or complex > project analysis and dump analysis issues. Issues of this nature are best > handled working with a dedicated Microsoft Support Engineer by contacting > Microsoft Customer Support Services (CSS) at > http://msdn.microsoft.com/subscriptions/support/default.aspx. > > ================================================== > > > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > > > >
Space in fileupload control
asp to asp.net conversion asp with membership/login ASP.NET 2.0 - How to databind to nested (hierarchical) business objects? asp:TextBox Default Border Color for Dropdownlist Control? grouping RadioButtonLists - can it be done? Menu Server control How to set up a static menu? Calendar Control - ASP.Net 2.0 |
|||||||||||||||||||||||