|
-
Jun 30th, 2005, 01:33 AM
#1
Thread Starter
Hyperactive Member
IE web controls multipage [resolved]
is there a way to use the multipage to display a seperate page without having to put all of the code into the main one. I mean, I already designed the controls on another page, and am implementing a tab strip with a multipage.
Last edited by Grunt; Jun 30th, 2005 at 02:09 AM.
-
Jun 30th, 2005, 01:39 AM
#2
Re: IE web controls multipage
Elaborate please? Whatever you just said escaped over my eyes
-
Jun 30th, 2005, 01:52 AM
#3
Thread Starter
Hyperactive Member
Re: IE web controls multipage
Here is some code for my main page:
Code:
<iewc:TabStrip ID="tabFusionMain" runat="server" TabDefaultStyle="background-color:#006699;font-family:verdana;font-weight:bold;font-size:8pt;color:#ffffff;width:79;height:21;text-align:center"
TabHoverStyle="background-color:#777777" TabSelectedStyle="background-color:#ffffff;color:#000000" TargetID="mpageFusionMain" Width="619px">
<iewc:Tab Text="Main" />
<iewc:Tab Text="Add" />
<iewc:Tab Text="Search" />
<iewc:Tab Text="Report" />
<iewc:Tab Text="Log Out" />
</iewc:TabStrip>
<iewc:MultiPage ID="mpageFusionMain" runat="server" Height="331px" BorderWidth="1px" Width="619px">
<iewc:PageView id="Main" runat="server">
<strong>Current User:
<asp:Label runat="server" Width="121px" ID="lblUserName"></asp:Label>
</strong>
<div>
</div>
<strong>Total Records:
<asp:Label runat="server" ID="lblTotalRecords"></asp:Label>
<br />
Records Open/Resolved:
<asp:Label runat="server" ID="lblOpenClosed"></asp:Label>
<br />
</strong>
<strong>Filter: </strong><br />
Category:
<asp:DropDownList runat="server" ID="lstFilterCategory">
<asp:ListItem>All</asp:ListItem>
<asp:ListItem>Hardware</asp:ListItem>
<asp:ListItem>Software</asp:ListItem>
<asp:ListItem>Network</asp:ListItem>
</asp:DropDownList>
<br />
Priority:
<asp:DropDownList runat="server" Width="86px" ID="lstFilterPriority">
<asp:ListItem>All</asp:ListItem>
<asp:ListItem>Low</asp:ListItem>
<asp:ListItem>Medium</asp:ListItem>
<asp:ListItem>High</asp:ListItem>
</asp:DropDownList>
<asp:Button runat="server" Text="Refresh" ID="cmdRefresh"></asp:Button>
<br />
<br />
<asp:DataGrid runat="server" BorderStyle="None" AutoGenerateColumns="False" BackColor="White"
PageSize="25" ID="dtaDataResults" Width="584px" BorderWidth="1px" Height="50px"
BorderColor="#CCCCCC" AllowPaging="True" CellPadding="3">
<PagerStyle HorizontalAlign="Center" BackColor="White" ForeColor="#000066"></PagerStyle>
<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
<Columns>
<asp:BoundColumn DataField="Id" HeaderText="Id"></asp:BoundColumn>
<asp:BoundColumn DataField="Category" HeaderText="Category"></asp:BoundColumn>
<asp:BoundColumn DataField="Description" HeaderText="Description"></asp:BoundColumn>
<asp:BoundColumn DataField="Timestamp" HeaderText="Timestamp"></asp:BoundColumn>
<asp:BoundColumn DataField="Priority" HeaderText="Priority"></asp:BoundColumn>
<asp:EditCommandColumn EditText="Edit" ButtonType="PushButton" UpdateText="Update"
HeaderText="Edit" CancelText="Cancel"></asp:EditCommandColumn>
</Columns>
<ItemStyle ForeColor="#000066"></ItemStyle>
<AlternatingItemStyle BorderStyle="None"></AlternatingItemStyle>
<HeaderStyle Font-Bold="True" Width="34px" ForeColor="White" BackColor="#006699"></HeaderStyle>
</asp:DataGrid>
</iewc:PageView>
I have another aspx that I created before I decided to do the mutlipage and tab control. Do I have to cut and past all of the code for the secondary page into the above code for another pageview, or is there a way I can create another pageview and just reference the secondary page?
-
Jun 30th, 2005, 01:56 AM
#4
Re: IE web controls multipage
Just to clarify, you mean you would like to use the same tabstrip control but have a different "page" load for each tab item you click?
You could place all your 'pages' in separate web controls, and have a placeholder on your main page. Depending upon the tab item clicked, you can LoadControl() whichever control you want.
-
Jun 30th, 2005, 01:59 AM
#5
Thread Starter
Hyperactive Member
Re: IE web controls multipage
precisely, I want the same tabstrip throughout all of my pages. I was think of using frames, but would rather not if there was another way...
-
Jun 30th, 2005, 02:02 AM
#6
Re: IE web controls multipage
Yes, the method I've shown you would accomplish that. In essence, you are creating something like a base page.
-
Jun 30th, 2005, 02:09 AM
#7
Thread Starter
Hyperactive Member
Re: IE web controls multipage
thanks for the idea. That is probably the best way...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|