Creating Design-time properties in a WebForm

  • Thread starter Thread starter AG
  • Start date Start date
A

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top