Settings that apply to ALLusers for an INSTANCEof a WebPart.

D

Don

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
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top