I have installed the CSS friendly control adapters for my menus and treeview because the designer did the entire job in with <div><ul><li> instead of tables
so to adapt I installed the CSS adapter. Tyat worked great for my menu and treeview. Really.
The thing is that I dont need the adapter for anything else then my menu and treeview
But when I navigate to a page that has a regular wizard control (not a create user wizard) then it gets stuck on 1 line of code and gives the following error:
Unable to cast object of type 'System.Web.UI.WebControls.WizardStep' to type 'System.Web.UI.WebControls.TemplatedWizardStep'.
What can I do? can I dissable part of the adapters to not adapt my wizard?
When I get the error It is normally stuck on that line opf code below which is underlined and bold.
Protected Overrides Sub RenderContents(ByVal writer As HtmlTextWriter)
If (Extender.AdapterEnabled) Then
Dim wizard As CreateUserWizard = Control
If (Not IsNothing(wizard)) Then
Dim activeStep As TemplatedWizardStep = wizard.ActiveStep
If (Not IsNothing(activeStep)) Then
If (Not IsNothing(activeStep.ContentTemplate)) Then
If (wizard.CreateUserStep.Equals(activeStep)) Then
' Might need to add logic here to render nav buttons for other kinds of
' steps (besides t
View Complete Post