Groups | Blog | Home
all groups > asp.net webcontrols > april 2008 >

asp.net webcontrols : How to use AppSettings with Custom Control



Seth Williams
4/23/2008 4:32:19 PM
I've built a custom control -- now I need to retrieve a setting in the
AppSetings section of the Web.config of the current web app using my custom
control.
How can I access the Web.config file for something like this?


Madhur
4/24/2008 12:00:00 AM
If the webcontrol is hosted inside webapplication, there is no reason why
the webcontrol cannot access
those appsettings directly.

--
Madhur

[quoted text, click to view]
AddThis Social Bookmark Button