日期:2014-05-18  浏览次数:20429 次

<ucOperation:OperationUC ID="OperationUC1" runat="server" />
<tr>
<td   style= "height:   150px ">
<ucOperation:OperationUC   ID= "OperationUC1 "   runat= "server "   />         <ucOperation:OperationUC   ID= "MyOperationUC "   runat= "server "   />
</td>
</tr>
<tr>
<td   runat= "server "   id= "OperationPanel "> </td>
</tr>
<tr>
<td>
<ucNotify:NotifyUC     id= "MyNotifyUC "runat= "server ">
                  </ucNotify:NotifyUC>
</td>
</tr>
<tr>
<td>
<ucNews:NewsUC   id= "MyNewsUC "   runat= "server ">
</ucNews:NewsUC> </td>
</tr>
<tr>
<td> </td>
</tr>
在看例子的时候看到了这段代码,不明白 <ucOperation:OperationUC   .../> ;;
<ucNotify:NotifyUC     .. </ucNotify:NotifyUC> ;; <ucNews:NewsUC.. </ucNews:NewsUC> 是什么意思啊?

刚开始学习asp.net
只有这些分了



------解决方案--------------------
引用用户控件的标志块
------解决方案--------------------
如这个:
<ucOperation:OperationUC ID= "MyOperationUC " runat= "server " />
你在page指令下会看到:
<%@ Register TagPrefix= "ucOperation " TagName= "OperationUC " src= "路径+文件名.ascx " %>
你可以根据src的信息找到用户控件