ASP.NET Web Controls >> custom ASP.NET control wizard
by Allan Doensen » Mon, 08 Sep 2003 12:27:38 GMT
I am writing a custom ASP.NET Control. It is usable from
the visual studio toolkit. I would like to add a
configuration wizard to it. I have seen it done by
others, however I cannot seem to find any information on
how to do it.... Anyone got some pointers?
Similar Threads
1. Custom ASP.NET Control configuration wizard
I am writing a custom ASP.NET Control. It is usable from
the visual studio toolkit. I would like to add a
configuration wizard to it. I have seen it done by
others, however I cannot seem to find any information on
how to do it.... Anyone got some pointers?
2. Loading custom user controls into asp.net 2.0 wizard help - Asp.Net
3. ASP.NET Wizard with Wizard Steps being User Controls
Hello!
I have not come across any articles,links explaining use of ASP.NET
Wizard with wizard steps as UserControls. If anybody have any links,
please send it across.
Thanks in Advance.
4. Making ASP.NET 2.0 asp:Wizard control fully Navigatable without mo - ASP.NET Web Controls
5. Making ASP.NET 2.0 asp:Wizard control fully Navigatable withou
Yuan thanks for your quick reply!
1)
Unfortunately, all of my navigation controls are in the Navigation Template
(Not the content template.)
Also the ASP:Panel.DefaultButton does not accept an htmlButton (<Button>)
(The Default button has to be an IButtonControl) And I believe I will need to
use an HtmlButton so that I can have a button that supports markup to display
my accessKeys.
I tried to adapt your suggestion (Putting a panel surrounding navigational
buttons in the navigation template) with <asp:button>s and it compiled but
appeared to have no effect. I also tried adjusting the tabIndex thinking it
might have a better effect within a panel but that didn seem to have an
effect. I also attempted to put the panel around the whole wizard but got
the same error that the default button had to be and IButtonControl.
I have noticed that there are quite a few unanswered posts about setting a
default button for a wizard control.
2)
>"Is it possible to access navigation buttons in code without having to use TemplatedWizardSteps?"
I don understand your response to this. I can access the navigation
buttons programmatically if they are in a templatedWizardStep. I was asking
if I really need to use a templatedWizardStep every time I need to access a
navigation button programmatically. (Sometimes I need to add javascript, a
dynamic tooltip, or a dynamic button text.)
If I don need to use a templatedWizardStep how can I do this?
I would like to be able to
StepNextButton.Text=omePageDependentNameHere
Or
StepNextButton.Attributes("onClick") = "myJavaScriptFunctionHere();"
(Note: Here I need to make changes to the button behavior in the code
behind. So I could have NextStepButton text or javascript change when I on
different steps in my wizard. It might also be a good place to change the
validation group that button checks.)
3)
>>"What is the best way to make the Access keys on a wizard navigation
button visible to the user and not give up the convenience of the
wizard.NextButtonClick of the wizard control?"
ex:
I want to have a NextStepButton with the text property set to<<>><>>ext.
I would like to configure this button to raise an event that can be handled
with:
Protected Sub OnNext(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArgs) Handles
Wizard1.NextButtonClick
End sub
This would give my code behind direct access to the
WizardNavigationEventArgs. And I hope this would allow my pages to increment
correctly without having to call the MoveTo function.
6. asp.net 2.0 Wizard Control and User Control (.ascx) - ASP.NET Web Controls
7. Developing .NET Custom Web Control for use in ASP & ASP.NET pages
I am writing some .NET Custom Web Controls like menu bar.
I want those controls to be used both in ASP & ASP.NET
pages. Is it possible to write an Interop wrapper so that
ASP applications can aswell use the .NET custom web
controls? Any pros & cons with this approach ?
Thanks,
Srikar
8. Wizard Control for ASP.NET 1.1