阅读背景:

如何创建我可以从用户控件(ascx)调用的属性字段和方法

来源:互联网 

I have made a basic ascx control which is just a panel with a couple controls. My question is how can I create custom properties I could set for my custom control? (I mean such as custom properties like runat, CssClass, etc...) I would also like to be able to create methods for my ascx that I could call. I tried putting public static methods in the asc code behind file, but that's not working.I have made a basic ascx control which is just




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: