Timeline for How to have settings per web part instance
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 11, 2011 at 19:53 | vote | accept | empz | ||
| May 11, 2011 at 19:53 | comment | added | empz | I've ended up using SPWeb.Properties to store the connection string since I don't want to expose it to users. | |
| May 11, 2011 at 15:30 | comment | added | empz | I guess the second option (SPWeb.Properties) is the right choice because each Sharepoint site has its associated custom database and the no matter how many instances of the webpart are inserted on the site, every one of them should connect to the same db. Anyway I'm thinking of a approach to this, I'll update the question. | |
| May 10, 2011 at 23:37 | history | edited | Laurie | CC BY-SA 3.0 | added 1 characters in body |
| May 10, 2011 at 22:37 | history | answered | Laurie | CC BY-SA 3.0 |