.NETGURU
Using TabStrip control for showing multiple web forms....
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


Thomas Fuller
All,

I want to use a tabstrip control to show multiple web forms but I can't put
controls inside of controls so I need to determine a method for changing
pages/forms from the tabstrip. I thought about using an iframe and just
changing the source as the user clicks on certain actions inside the
multipage, is this the best way to do this?

Thanks All,
Tom
Reply to this message...
 
    
Chuck Peper
I put user controls within the tabs.
and in the code behind for each ascx

Protected WithEvents General As MR_Entry_General
This way you can access any of the public properties on the user
control.

<%@ Register TagPrefix="UC" TagName="General" Src=Mr_entry_general.ascx
%>
<iewc:tabstrip id="TabStrip1" runat="server" TARGETID="MultiPage1"
TabSelectedStyle="background-color:LightSkyBlue;color:black;border-
bottom:none;" TabHoverStyle="background-color:LightSkyBlue;color:red;"
TabDefaultStyle="font-family:verdana;font-weight:bold;font-
size:8pt;color:black;text-align:center;border:solid 3px
LightSkyBlue;padding:5px;border-bottom:none;background-color:white;"
BorderStyle="None">
        <iewc:Tab Text="General"></iewc:Tab>
        <iewc:TabSeparator></iewc:TabSeparator>
        <iewc:Tab Text="Items"></iewc:Tab>
        <iewc:Tab Text="History"></iewc:Tab>
        </iewc:tabstrip>
    <iewc:multipage id="MultiPage1" border="3" runat="server"
BorderStyle="Solid" BorderColor="LightSkyBlue" BorderWidth="3px">
        <iewc:PAGEVIEW ID="pvGeneral">
            <UC:General ID="General" runat="server">
</UC:General>
    </iewc:PAGEVIEW>

Reply to this message...
 
 
System.Web.UI.WebControls.BorderStyle
System.Windows.Forms.BorderStyle




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification