Settings that apply to ALLusers for an INSTANCEof a WebPart.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don

    #1

    Settings that apply to ALLusers for an INSTANCEof a WebPart.

    I am creating my first WebPart and I need to capture some
    configuration information but I’m having trouble figuring out how to
    do it.

    How do I set configuration settings that apply to all users?

    I’ve tested several of the Editor controls and they seem to work on a
    per-user basis. I want to configure settings at design time that will
    be the same for all users. But, I may have multiple instances of my
    WebPart throughout the application. Each instance may have different
    settings but the all users will see the same settings for a given
    WebPart.
    For example, I may want to set the database connectString and all
    users will use this connectString. Another instance of the same
    WebPart will need to have a different connectString.

    Thanks,
    Don

Working...