469,646 Members | 1,100 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

Creating Design-time properties in a WebForm

AG
Is it possible to create properties in a webform that can
be accessed via the Properties window at design-time? I
have tried creating properties with attributes such as
Bindable, Browsable, DesignOnly,
DesignerSerializationVisibility , EditorBrowsable and so
and so on but none work. Any Ideas?

Thanks...
Nov 20 '05 #1
2 889
On Wed, 9 Jun 2004 13:58:57 -0700, AG wrote:
Is it possible to create properties in a webform that can
be accessed via the Properties window at design-time? I
have tried creating properties with attributes such as
Bindable, Browsable, DesignOnly,
DesignerSerializationVisibility , EditorBrowsable and so
and so on but none work. Any Ideas?

Thanks...


Firstly, you will probably get better responses by checking out the
following group:

After considerable thought on the subject, (Translation: This is the first
thing that came to mind), try creating a new class that inherits from
System.Web.UI.Page. You can then add custom properties which should be
available at design time.
--
Chris

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 20 '05 #2
On Thu, 10 Jun 2004 10:20:07 -0500, Chris Dunaway wrote:
Firstly, you will probably get better responses by checking out the
following group:


Oops, forgot the group!

Microsoft.Public.Dotnet.Framework.Aspnet

--
Chris

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

31 posts views Thread by Neil | last post: by
20 posts views Thread by jernej goricki | last post: by
31 posts views Thread by JoeC | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.