为ASP.NET控件添加设计时支持(10)

发表于:2007-06-30来源:作者:点击数: 标签:
列表 2:BlogClient.ASPx <%@ ReGISter TagPrefix="cc1" Namespace="BlogControl" Assembly="BlogControl" %> <%@ Page Language=" VB " AutoEventWireup="false" Codebehind="BlogClient.aspx. vb " Inherits="BlogControlClient.WebForm1"%> <!DOCTYP
     列表 2:BlogClient.ASPx
  
  <%@ ReGISter TagPrefix="clearcase/" target="_blank" >cc1" Namespace="BlogControl"
  Assembly="BlogControl" %>
  <%@ Page Language="VB" AutoEventWireup="false"
  Codebehind="BlogClient.aspx.vb"
  Inherits="BlogControlClient.WebForm1"%>
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
  Transitional//EN">
  <html>
  <head>
  <title>Blog Client</title>
  </head>
  <body>
  <form id=Form1 method=post runat="server">
  <p><asp:hyPerlink id=Link1
  navigateurl="BlogClient.aspx?mode=add"
  runat="server">Add Blog</asp:hyperlink></p>
  <cc1:blog
  id=Blog1
  Email="andrew@graymad.com"
  AddRedirect="BlogClient.aspx"
  SeparatorColor="LawnGreen"
  runat="server"></cc1:blog>
  <p><asp:hyperlink id=Link2
  navigateurl="BlogClient.aspx?mode=add"
  runat="server">Add Blog</asp:hyperlink></p>
  </form>
  </body>
  </html>
  

原文转自:http://www.ltesting.net