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. Advertising

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. John J Lee
    Replies:
    3
    Views:
    489
    bruno at modulix
    Dec 1, 2005
  2. Edward Loper
    Replies:
    0
    Views:
    473
    Edward Loper
    Aug 7, 2007
  3. John J Lee
    Replies:
    0
    Views:
    527
    John J Lee
    Aug 7, 2007
  4. Edward Loper

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

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    438
    Edward Loper
    Aug 9, 2007
  5. Neal Becker
    Replies:
    0
    Views:
    382
    Neal Becker
    Aug 9, 2007
Loading...

Share This Page