D
Don
I am creating my first WebPart and I’m having trouble figuring out how
everything works together.
How do I configure a WebPart with settings that will be the same for
all users?
For example, I have a WebPart and I want an administrator to configure
the ConnectString name which will determine which database
ConnectString is pulled from the web.config. But once this is
configured it will be the same for all users.
But, there can be many instances of this WebPart on the page and they
may connect to different database. So and admin may setup one WebPart
to connect to the database for customer A, and anther to connect to
the database for customer B.
I have several parameters that will work like this, the connect string
is just an example.
I’ve tried working with the various editor controls but they all seem
to work on a per-user basis.
Thanks,
Don
everything works together.
How do I configure a WebPart with settings that will be the same for
all users?
For example, I have a WebPart and I want an administrator to configure
the ConnectString name which will determine which database
ConnectString is pulled from the web.config. But once this is
configured it will be the same for all users.
But, there can be many instances of this WebPart on the page and they
may connect to different database. So and admin may setup one WebPart
to connect to the database for customer A, and anther to connect to
the database for customer B.
I have several parameters that will work like this, the connect string
is just an example.
I’ve tried working with the various editor controls but they all seem
to work on a per-user basis.
Thanks,
Don