Flag control properties as required in design view

前端 未结 2 1143
独厮守ぢ
独厮守ぢ 2021-01-23 02:24

I\'d like to force the consumer of a control to give a property a value when placing the control on a page.

In VisualStudio when you create an < img > tag without att

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-23 03:20

    While Microsoft.Build.Framework.Required is probably the best answer here, for others who stumble upon this and can't use .NET 4.0, you can also use this method:

    http://forums.asp.net/t/1238319.aspx

提交回复
热议问题