ie 接收HTML流, 以至IE能够显示内容, 而此html流是由***将html语言转化而来的?
当我们在VS.NET里面写ASP.NET程序,在HTML页面里面,我输入<table> 然后系统会弹出</table> 是不是说明了html 语言认得table 标签,
此table 标签是此html 页面里面的一个对象?如果我想新增一个标签 <me>
当我输入<me>时,使得html 页面当我这个标签是有效的
而这个<me>标签相当于页面上的两个button , 
请问应试怎样做呢?

解决方案 »

  1.   

    >>>而这个<me>标签相当于页面上的两个button“相当于”是什么意思?是变成2个<input type=button>还是想跟服务器端控件一样,在客户端生成2个<input type=button>
      

  2.   

    if I understand you correctly, look into DHTML BehaviorsIntroduction to DHTML Behaviors  
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/overview.aspTime Off for Good Behavior: DHTML Behaviors in Internet Explorer 5
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndhtml/html/IE5behave.asp
      

  3.   

    1."当我们在VS.NET里面写ASP.NET程序,在HTML页面里面,我输入<table> 然后系统会弹出</table>"
       这是vs的自动完成的功能,和html没有关系
    2."而这个<me>标签相当于页面上的两个button "
       如果你的意思是使用用户自定义控件的话,那是可以的,可是你得先自己建好控件
      

  4.   

    看来你的意思是想自定义html标签对吧
    除非你自己来解析HTML。这个是有标准的。。
      

  5.   

    to 一楼:我想说的<me>标签 是:想跟服务器端控件一样,在客户端生成2个  <input  type=button  >  
      

  6.   

    write a server control, for example,1. CustomControls.csusing System;
    using System.Web.UI;
    using System.Web.UI.WebControls;namespace CustomControls
    {
      public class TestTwoButtons : Control, INamingContainer
      {
    protected override void CreateChildControls()
    {
    Button btn = new Button();
    btn.ID = "btn1";
    btn.Text = "Click me"; Controls.Add(btn); Controls.Add(new LiteralControl("&nbsp;")); Button btn2 = new Button();
    btn2.ID = "btn2";
    btn2.Text = "Click me 2"; Controls.Add(btn2);
    }
      }
    }2. compile it to a dll and copy it to the bin directorycsc /t:library /out:CustomControls.dll CustomControls.cs3. use it in an aspx page:<%@ Register TagPrefix="Me" Assembly="CustomControls" Namespace="CustomControls" %>   <form id="Form1" runat="server">
    <me:TestTwoButtons runat="server" />
       </form>
      

  7.   

    thank you , let me try . But i have some doubt yet. 呵呵.