Custom Control and ConfigurationManager

  • Thread starter Thread starter Michel Racicot
  • Start date Start date
M

Michel Racicot

In my app, I have some custom controls.
Those controls need to access some data in the configuration file to render
correctly.

In design time, when I use ConfigurationManager.GetSection, It doesn't find
the section I'm looking for.

So, my controls are ok in runtime but are not rendering in design time
(object not set...) because it seems that the ConfigurationManager doesn't
know where to find the .config file in design.

What can solve that issue?
 
In design time, when I use ConfigurationManager.GetSection, It doesn't
find the section I'm looking for.

I am not sure if this will help, but it is the first thing that came to
mind:
http://snurl.com/sor6d

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top