T
Tascien
I have a userControl placed in a directory like this:
/usercontrols/myUserControl.ascx
/usercontrols/controlsList.txt
/index.aspx
'index.aspx' is using 'myUserControl.ascx'
'myUserControl.ascx' is using page.MapPath("controlsList.txt") to open
the file, and the process is failing because the file cannot be found.
the system is looking for:
\\webshare\controlsList.txt
instead of
\\webshare\usercontrols\controlsList.txt
is this how microsoft designed this to be? i know i can change the
folder to match, but i want to make sure that there isn't any other
programed way...
/usercontrols/myUserControl.ascx
/usercontrols/controlsList.txt
/index.aspx
'index.aspx' is using 'myUserControl.ascx'
'myUserControl.ascx' is using page.MapPath("controlsList.txt") to open
the file, and the process is failing because the file cannot be found.
the system is looking for:
\\webshare\controlsList.txt
instead of
\\webshare\usercontrols\controlsList.txt
is this how microsoft designed this to be? i know i can change the
folder to match, but i want to make sure that there isn't any other
programed way...