How to implement Dynamic Properties?

R

Robert Sander

Hi,

I've developed a custom web control with some properties. I want some of the properties to be bindable to a value that is defined in the application config file (Dynamic Properties). How do I declare such properties?

Thank,

Robert
 
V

Victor Garcia Aprea [MVP]

Hi Robert,

The RecommendedAsConfigurableAttribute attribute is used to bound a property
to a config file. But, AFAIK, this will only work for *components* and not
controls, so you may be out of luck here...

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

Robert Sander said:
Hi,

I've developed a custom web control with some properties. I want some of
the properties to be bindable to a value that is defined in the application
config file (Dynamic Properties). How do I declare such properties?
 
T

Teemu Keiski

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top