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 / General / August 2007

Tip: Looking for answers? Try searching our database.

asp.net wizard control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 30 Aug 2007 18:46 GMT
I have a web form that I took over from a developer and he put everything inside a Wizard control. I now need to find a button in the wizard control to hide it.

I've done

button btn = wizard1.wizardstep[1].findcontrol("button);
btn.Visible = false;

and i get an error, I've tried several other combinations and none of them work, So I can I hide a button that is in a 'wizard'?
Alex Meleta - 31 Aug 2007 11:09 GMT
Hi Mike,

What the error have you got and where? Is control dynamicly builded?

e.g. Wizard.FindControl("<button>") should work.

Regards, Alex
[TechBlog] http://devkids.blogspot.com

M> I have a web form that I took over from a developer and he put
M> everything inside a Wizard control. I now need to find a button in
M> the wizard control to hide it.
M>
M> I've done
M>
M> button btn = wizard1.wizardstep[1].findcontrol("button); btn.Visible
M> = false;
M>
M> and i get an error, I've tried several other combinations and none of
M> them work, So I can I hide a button that is in a 'wizard'?
M>

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.