all groups > asp.net building controls > june 2004 >
You're in the

asp.net building controls

group:

How to implement Dynamic Properties?



How to implement Dynamic Properties? Robert Sander
6/23/2004 2:50:02 PM
asp.net building controls: 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,

Re: How to implement Dynamic Properties? Victor Garcia Aprea [MVP]
6/23/2004 11:48:49 PM
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

[quoted text, click to view]
the properties to be bindable to a value that is defined in the application
config file (Dynamic Properties). How do I declare such properties?
[quoted text, click to view]

Re: How to implement Dynamic Properties? Teemu Keiski
6/25/2004 1:06:57 PM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke


[quoted text, click to view]
the properties to be bindable to a value that is defined in the application
config file (Dynamic Properties). How do I declare such properties?
[quoted text, click to view]

AddThis Social Bookmark Button