Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2004, 05:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Control Properties in Properties Window

Hello,

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?

Thanks,

Brian Mains
__________________
Brian
 
Old March 9th, 2004, 06:06 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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:

http://msdn.microsoft.com/library/de...etpropbrow.asp

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.... ;)

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





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 01: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 01:28 PM
Exception while painting properties window... KRYSTAAL BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 12th, 2003 10:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.