all groups > asp.net webcontrols > march 2007 >
You're in the

asp.net webcontrols

group:

Custom controls to emit compiler warning/error?


Custom controls to emit compiler warning/error? olduncleamos
3/10/2007 10:30:27 AM
asp.net webcontrols:
Hi all,

Just wondering if it is possible for a custom control to emit compiler
warning or even error? It would be great to flag the user at compile
time if they made some inconsistent property settings.

Thanks in advance.
RE: Custom controls to emit compiler warning/error? Peter Bromberg [C# MVP]
3/10/2007 2:46:10 PM
A well-written custom control should not allow inconsistent property settings
to be made.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




[quoted text, click to view]
AddThis Social Bookmark Button