开发者

Adding Custom attributes to the page directive in asp.net

Is there a way to add custom attributes to @Page directive and also get design time support like intellisense for the same?

I have used Adding Custom Property to Page Direct开发者_高级运维ive in ASP.Net 2.0 as a pointer.

I would like to have a attribute which will give dev an option to select value from list. Something similar to EnableSessionState attribute. I do understand I need to define an enum for the values. But I cannot understand how to make it available during the design time.


Take a look at: http://weblogs.asp.net/scottgu/archive/2005/08/02/421405.aspx It might be useful

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜