CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 6/13/2005 7:11:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
superconsultant
Asp.Net User
WebControl Properties6/13/2005 7:11:05 PM

0/0

Does anyone know how to present WebControl Properties in a TreeView style. For example: if you have ASP's TextBox control and open its properties in property's panel, the Font property there has '+' sign in front of it. If you click on '+' sign it will display underneath all Font related properties such as : Bold, Italic, Name etc.

So I am looking for cod samples and explanations how can I create related properties in such style.

Any help is appreciated.

Raterus
Asp.Net User
Re: WebControl Properties6/14/2005 12:23:24 AM

0/0

Look at the .Net reflector, you can check out the code of the framework.  It should tell you all you need to know how to do this.  Just look up the class System.Web.UI.WebControls.Textbox
http://www.aisto.com/roeder/dotnet/


Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. Luke 11:9
superconsultant
Asp.Net User
Re: WebControl Properties6/14/2005 8:40:53 PM

0/0

Good sugestion, and I did look at the System.Web.UI.WebControls.Textbox and others, but it references way to many objects and their properties for me to follow their pattern and sequence.

Thanks anyway.

Reagrds,
Dimitry
Raterus
Asp.Net User
Re: WebControl Properties6/14/2005 9:07:46 PM

0/0

I looked at it myself, and it looks related to the attribute WebCategory("Some Group")

I couldn't find much documentation on this, but you can see an example of this using the reflector.



Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. Luke 11:9
superconsultant
Asp.Net User
Re: WebControl Properties6/14/2005 11:13:54 PM

0/0

I got it, all I had to do is to add ExpandableObjectConverter tag in front of the property that is of type class:
like this code bellow

<CODE>
<TypeConverter(GetType(ExpandableObjectConverter))> _
Public ReadOnly Property MTest() As MyTest
        Get
               Return _myTest
        End Get
End Property
</CODE>

Appreciate your input.

Regards,
Dimitry
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET by Example Authors: Steven A. Smith, Pages: 552, Published: 2002
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Professional ASP.NET 1.1 Authors: Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson, Pages: 1337, Published: 2004
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Essential ASP. NET with Examples in C#: With Examples in C# Authors: Fritz Onion, Pages: 393, Published: 2003

Web:
WebControl Properties (System.Web.UI.WebControls) .NET Framework Class Library. WebControl Properties. Updated: November 2007. The WebControl type exposes the following members. Properties ...
WebControl Properties (System.Web.UI.WebControls) .NET Framework Class Library. WebControl Properties. Public Properties ... This property is used primarily by control developers. Public property ...
CodeProject: Creating Custom User Control Designers in ASP.NET ... GetProperties(designer); //Loop through all Designer properties //Each designer property corresponds to webcontrol property foreach(PropertyDescriptor pd in ...
WebControl Properties - ASP.NET Forums Does anyone know how to present WebControl Properties in a TreeView style. For example: if you have ASP's TextBox control and open its ...
Safari Books Online - 9781590598917 - Beginning ASP.NET 3.5 in C# ... WebControls.FontInfo object. Height and Width, Specifies the width and height of the control. For some controls, these properties will be ignored when used ...
Serializing WebControl Properties - ASP.NET Forums Serializing WebControl Properties. Last post 10-20-2004 6:16 PM by adec. 1 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
WebControl.Attributes Property A workshop on .NET applications design and development. Step-by-step how-to pages help you learn skills and do specific tasks as you plan, build and manage ...
WebControl, property based on an Enum I have a custom web control that adds a property. This works fine when the property data type is a string. However, I want the value to be based on an ENUM ...
Re: WebControl with Collection Property in Design Time This control will contain a count of HyperLink controls. ... - I will add hyperlinks by design-time property toolbox. ... parsed from/to the page in design ...
Safari Books Online - 0789725622 - ASP.NET by Example WebControl Properties. To begin, though, we should take a look at the ... The most commonly used properties of the WebControl class are detailed in Table ...




Search This Site:










exception in login screen

:: grr :: more major issues with july ctp of vs2005

blogging solutions

margint hat i don't want

how do i redeploy a module after changing its source code ?

problem with 3 dimensional array

how can i get the amount of time between two datetime fields

configure required fields

opening a browser window of a given size

ideas please

java/.net interoperabilty

vs2005 problem

what have i done?

multiple portals disk space bug?

iactionable problem

interop marshalling (c# string[] -> vb array)

help needed with sqltableprofileprovider

dnn web cam module?

dnn 3.0.12 issue: urlcontrol.url property

tree view node expansion

masterpage and iextenderprovider

can't open the templates downloading url

convert word doc to pdf

unable to delete tab in 3.0.7

websites render on web or pocket pc

creating a date function

moving portals

login broken by me

createuserwizard works in ie and does not work in firefox

what is a better way to format this string?

 
All Times Are GMT