0
내가 좋아하는 몇 가지 템플릿 사용자 컨트롤을 보았다. 하지만 내가 원하는 것은 매개 변수를 컨트롤에 전달하는 것과 같습니다.ASP.net 템플릿 기반의 사용자 제어
<uc:Control1 ID="Uc1" runat="server">
<messagetemplate>
<CustomAttribute="Color" Value="Green" />
<CustomAttribute="Size" Value="Small" />
<CustomAttribute="Param1" Value="1" />
</messagetemplate>
</uc:Control1>
이 방법을 보여 주시겠습니까?