Windows Control config file in ASP.NET

  • Thread starter Thread starter freezerstud
  • Start date Start date
F

freezerstud

I have developed a windows control that I am using in an ASP.NET
application. When I go to use the ConfigurationSettings.AppSettings[]
function inside of the windows control nothing is returned. Is it
possible to access a web.config or any other kind of configuration file
inside of the windows control on my ASP.NET page? The rest of my
asp.net application has no problem accessing the web.config file.
Thanks!
 
create a webservice, than your windows code can call back to get app
settings.

-- bruce (sqlwork.com)
 
Is there any other way to do this? Something besides creating my own
file reader class...
create a webservice, than your windows code can call back to get app
settings.

-- bruce (sqlwork.com)


freezerstud said:
I have developed a windows control that I am using in an ASP.NET
application. When I go to use the ConfigurationSettings.AppSettings[]
function inside of the windows control nothing is returned. Is it
possible to access a web.config or any other kind of configuration file
inside of the windows control on my ASP.NET page? The rest of my
asp.net application has no problem accessing the web.config file.
Thanks!
 
Back
Top