NEWBIE - Multipage is showing all pages at once in browser

R

RockNRoll

Greetings,

I have compiled the iewebcontrols into a dll and imported it into the Web
Matrix toolbox. The "design view" in Web Matrix is correct - it is showing
the text for page one when I have "SelectedIndex = 0" and it is showing the
text for page two when I have "SelectedIndex = 1."

The problem is when I run the page in internet explorer. I am seeing the
text for page one AND page two at the same time.

My page contains radio buttons, a listbox, and a datagrid - all of which are
functioning fine.

Can you please tell me what might be causing both pages to be displaying at
once? Also, when I add a tabstrip, all that is displayed in my browser is
the text for each of the tabs, but not the web control (but it looks fine in
the "design view" in Web Matrix.

Below is the code from the sample file for multipage (plain and simple)

<%@ Page Language="VB" %>
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<html>
<head>
</head>
<body>
<form runat="server">
<ie:MultiPage id="MultiPage1" runat="server" SelectedIndex="1">
<ie:pageView>
This is page number one
</ie:pageView>
<ie:pageView>
This is page number two, and this page view is selected!
</ie:pageView>
</ie:MultiPage>
</form>
</body>
</html>

Thank you kindly for your help,
-Dave
 
R

RockNRoll

Problem solved - it was an issue with my folder structure for the ie web
controls.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top