472,783 Members | 942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,783 software developers and data experts.

Wizard control: programmatically set visibility of (Templated)WizardStep

I would like to programmatically set the visibility of a selectedWizardStep
after clicking on a button contained in an other one.

I found the following in an article from D. Esposito

"The contents of a WizardStep can be dynamically adjusted and steps can be
programmatically added or removed as you please. However, to allow for
further customization, TemplatedWizardStep can be used instead of
WizardStep, allowing users to change the content and navigation templates
within it."

I assume that the above should also apply to the visibility property of the
The wizard's steps look like:

<asp:TemplatedWizardStep ID="ST0" runat="server" Title="ST0">


<asp:Button ID="Btn_Test" runat="server" Text="Button"
OnClick="Btn_Test_Click" />


Page load contains ....
Me.Wiz_Main.WizardSteps.Item(1).Visible = False

.... and the click event
Me.Wiz_Main.WizardSteps.Item(1).Visible = True

I keep getting the following error:
The Visible property of a View control can only be set by setting the active
View of a MultiView.

Thanks in advance for your support

Oct 20 '06 #1
0 3427

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: John R. Lewis | last post by:
I posted this yesterday with a different email address. I am reposting with my fake-address as given to me by Microsoft so that I can be guraranteed a response from a support representative. Sorry...
by: Douglas J. Badin | last post by:
Earlier this month, there was a posting about this without a definitive answer. If you place a Wizard inside a FormView's EditItemTemplate the bound fields contained within the View will display...
by: chrisn | last post by:
Hi, (Using ASP.Net 2.0) I have a wizard control inside a detailsview control. When I attempt to call the InsertItem method on the DetailsView I get an error "ObjectDataSource...
by: Dabbler | last post by:
I have a Wizard control with each step using a user control. It seems the page_load of each user control is called everytime a postback event occurs in any step. Is there away to communicate to a...
by: raghav | last post by:
Hi I am working on ASP.NET 2.0. I am developing a website using Wizard control. Based on number of steps added, next, previous, finish buttons generate automatically. After running the...
by: =?Utf-8?B?WFNMZXI=?= | last post by:
I am working with the Wizard class for the first time, it seems like an easy way to setup a sequential series of steps. Current I have a render method for a server control I am writing like this:...
by: Mike | last post by:
I'm helping out on a web app and the developer that created the aspx pages is using <asp:wizardon the form. There are dropdowns, labels, buttons, etc within each wizard. How can I find a button...
by: Nick Chan | last post by:
Hi guys i have the following code for wizard Start,Prev,Next will run the methods that i assigned, using handles Protected Sub (ByVal o As Object, ByVal e As WizardNavigationEventArgs) Handles...
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.