Loading File In Design Mode

Discussion in 'ASP .Net Building Controls' started by oneeye, Jul 23, 2003.

  1. oneeye

    oneeye Guest

    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
     
    oneeye, Jul 23, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dave
    Replies:
    0
    Views:
    807
  2. =?Utf-8?B?TWF4?=
    Replies:
    0
    Views:
    564
    =?Utf-8?B?TWF4?=
    Feb 11, 2006
  3. Alex
    Replies:
    1
    Views:
    417
    Peter Hansen
    Sep 9, 2005
  4. Anthony Liu
    Replies:
    1
    Views:
    463
    Piet van Oostrum
    Nov 27, 2005
  5. John J Lee
    Replies:
    3
    Views:
    765
    bruno at modulix
    Dec 1, 2005
  6. Spam Catcher
    Replies:
    1
    Views:
    426
    Spam Catcher
    May 22, 2007
  7. Edward Loper

    mmm-mode, python-mode and doctest-mode?

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    629
    Edward Loper
    Aug 9, 2007
  8. manu
    Replies:
    11
    Views:
    1,864
    Default User
    Jan 5, 2009
Loading...