PC Review


Reply
Thread Tools Rate Thread

Custom Control and ConfigurationManager

 
 
Michel Racicot
Guest
Posts: n/a
 
      22nd Oct 2009
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?



 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      23rd Oct 2009
"Michel Racicot" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> 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! |
*******************************************
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom control within repeater with custom object binding - .net 1 =?Utf-8?B?SmF5YnVmZmV0?= Microsoft ASP .NET 9 21st Feb 2006 03:38 AM
Re: Code for setting Forms to open with custom tool bar, menubar and control custom short Rick Brandt Microsoft Access 0 5th Feb 2006 01:06 PM
Capturing event from other custom control within another custom control Jonah Olsson Microsoft ASP .NET 1 5th Apr 2005 02:39 PM
zooming a custom control - layout custom controls in grid john menke Microsoft C# .NET 1 31st May 2004 06:21 PM
Using Table control in a custom composite control. Control does not render properly in design time. jb_in_marietta@yahoo.com Microsoft ASP .NET 0 1st Jul 2003 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 AM.