------------------------代码如下:--------------------------
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm2.aspx.vb" Inherits="MyPro.WebForm2"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm2</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<iewc:multipage id="MultiPage1" runat="server" Width="288px" Height="80px" TargetID="TabStrip1">
<iewc:PageView id="page1">
                    This is page one
                    </iewc:PageView>
<iewc:PageView id="page2">
                    This is page two
                     </iewc:PageView>
<iewc:PageView id="page3">
                    This is page three
                    </iewc:PageView>
</iewc:multipage>
<iewc:TabStrip id="TabStrip1" runat="server" TargetID="MultiPage1" Width="296px" Height="24px">
<iewc:Tab Text="Tab 1" />
<iewc:Tab Text="Tab 2" />
<iewc:Tab Text="Tab 3" />
</iewc:TabStrip></FONT></form>
</body>
</HTML>----------------------------运行结果如下----------------------------   This is page one This is page two 
This is page three 
                                  Tab 1 Tab 2 Tab 3 请问运行结果怎么会这样,有那位高手指点,本人非常感谢

解决方案 »

  1.   

    Copy the runtime files and directories from your installed IE Web Controls folder to webctrl_Client\1_0 (if not exists, create) and be sure the webctrl_Client\1_0 is in the root site folder of the web server.
      

  2.   

    forestyang(forestyang)
    你好
    小弟英语不好,有些看不明白。能不能用中文呀
    多谢。别外我的项目下有bin目录下有:Microsoft.Web.UI.WebControls.dll文件,在工程里也增加上去了,
    就是用不了这个控件,不知道怎么回事,
    我同事电脑上都能用,
      

  3.   

    在 IIS 主目录(一般是c:\inetpub\wwwroot) 下需要有一个包含了IE Web Controls的htc和image文件的文件夹,名字是webctrl_Client\1_0 . 你从你同事那里拷贝一份或者安装一次IE Web Controls.
      

  4.   

    谢谢forestyang(forestyang) 
    问题解决了。