Windows Control config file in ASP.NET

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!
 
B

bruce barker \(sqlwork.com\)

create a webservice, than your windows code can call back to get app
settings.

-- bruce (sqlwork.com)
 
F

freezerstud

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!
 

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

Top