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