2010-12-19 8 views
0

は、私のようないくつかのテンプレートユーザーコントロールを見てきました。しかし、私がしたいのは、コントロールのようなパラメータを渡すことです。ASP.net template宣言ユーザーコントロール

<uc:Control1 ID="Uc1" runat="server"> 
    <messagetemplate> 
     <CustomAttribute="Color" Value="Green" /> 
     <CustomAttribute="Size" Value="Small" /> 
     <CustomAttribute="Param1" Value="1" /> 
    </messagetemplate> 
</uc:Control1> 

私にこの方法を教えてください。

答えて

1

MSDN Webサイトには、short tutorialがあります。多分それはあなたを少し助けますか?

関連する問題