How to implement Dynamic Properties?

Discussion in 'ASP .Net Building Controls' started by Robert Sander, Jun 23, 2004.

  1. 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
    Robert Sander, Jun 23, 2004
    #1
    1. Advertising

  2. 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" <Robert > wrote in message
    news:...
    > 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
    Victor Garcia Aprea [MVP], Jun 24, 2004
    #2
    1. Advertising

  3. Robert Sander

    Teemu Keiski Guest

    http://msdn.microsoft.com/library/d...riintroductiontoapplicationsettingstorage.asp

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


    "Robert Sander" <Robert > wrote in message
    news:...
    > 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
    Teemu Keiski, Jun 25, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nathan Sokalski
    Replies:
    0
    Views:
    906
    Nathan Sokalski
    Oct 17, 2005
  2. =?Utf-8?B?Q2hyaXN0b3BoZSBQZWlsbGV0?=

    CompositeControls: ViewState properties w/ Mapped properties probl

    =?Utf-8?B?Q2hyaXN0b3BoZSBQZWlsbGV0?=, Jan 19, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,137
    Steven Cheng[MSFT]
    Jan 19, 2006
  3. bugzilla
    Replies:
    15
    Views:
    1,399
    Greg Comeau
    Mar 28, 2005
  4. Oleg Slyuasrchuk

    How to implement Drop down list in "properties" box?

    Oleg Slyuasrchuk, Dec 10, 2003, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    148
    Oleg Slyusarchuk
    Dec 12, 2003
  5. Carlos Campos

    How to implement the combo in the properties

    Carlos Campos, May 5, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    113
    Carlos Campos
    May 5, 2004
Loading...

Share This Page