Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 9th, 2004, 04:44 PM
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Control Properties in Properties Window


I was wondering why certain properties appear in the properties window, and can contain a drop down list, but others can't. I see that properties that are string, int, boolean, etc. appear, and even enumerations, and even the FontInfo class (Font property, obviously), but I tried to use a style property (System.Web.UI.WebControls.Style class), but it wouldn't allow you to drill down. Any ideas why?


Brian Mains
  #2 (permalink)  
Old March 9th, 2004, 05:06 PM
Imar's Avatar
Wrox Author
Points: 71,611, Level: 100
Points: 71,611, Level: 100 Points: 71,611, Level: 100 Points: 71,611, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,008
Thanks: 79
Thanked 1,575 Times in 1,552 Posts

Hi Brian,

If you are implementing your own properties in your own classes, I think you need stuff like TypeConverters and other scary classes and objects for the properties to show up correctly in the designer.

I played around with this a while ago, trying to get custom properties show up in the designer. I found the following article reasonably useful when creating your own design-time support:


Searching Google for TypeConverters may get you some more useful stuff.

It can be a pain to get it going, but once it works, you can really show off your own controls.... ;)



Imar Spaanjaars
Everyone is unique, except for me.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pg. 41: Properties Window Blank SomeoneKnows BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 3 September 28th, 2007 10:16 AM
Lost Properties window ??? gjelson VB How-To 1 April 1st, 2006 12:49 AM
getURL with javascript window.open properties nancy Flash (all versions) 9 June 4th, 2005 07:52 AM
Properties window disappears. bachakhan VS.NET 2002/2003 1 December 29th, 2004 12:28 PM
Exception while painting properties window... KRYSTAAL BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 12th, 2003 09:29 PM

All times are GMT -4. The time now is 08:24 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.