TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Schrander
NA
1
2k
How to make use of DefaultValue by custom webcontrol
Oct 29 2010 3:01 AM
I've made a WebControl which inherits the BulletedList. I created some properties like ActiveBackgroundColor and InactiveBackgroundColor.
Above these properties I placed [DefaultValue(typeof(Color), "Green")]. But when I call my customControl in the webform it gives an Object Reference error.
Why won't the control uses the DefaultValues?
Reply
Answers (
0
)
ado.net dataset
windows forms