Loading File In Design Mode

O

oneeye

Hello All

I have created a control that loads child controls using definitions in an
xml file. The xml file to use is set as a property of the control (to derive
the physical file path, the control pre-pends the web app root (~) to the
properties' value and then does a Server.MapPath)

I am currently in the process of building a design er for this control. Is
it possible to load the file in Design mode i.e. can I work out the
applications web root and translate this to a physical file path in design
mode??.

The alternative would be to manually add dummy child controls to the parent
controls in design view.

Thanks in advance for your help
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top