- 2020-03-30 00:01:05
When programming, custom properties of web server controls are sometimes used. For example, there is no IsNotNull property in the TextBox control, but we can add an IsNotNull property ourselves to serve as a marker to facilitate our programming.
Although the IDE will prompt the warning that "IsNotNull is not a property of the TextBox", it does not prevent us from using it!
< Asp: TextBox ID = "TextBox1" runat = "server" IsNotNull = "e" > < / asp: TextBox>