2nd Posting - CodeBehind

  • Thread starter One Handed Man \( OHM - Terry Burns \)
  • Start date
O

One Handed Man \( OHM - Terry Burns \)

I want to know if there is any way to specify the location of the class
files in a directory off the route. It is possible to drag the class files
to the Code directory and have it compile OK, unfortunately the designer
kicks up when you try to load the form ( in the root dir ) with the class
files somewhere else. I have tried doing a "..\Code\Webform1.aspx.vb" for
the attribute and several derivitives thereof, but this fails.

Anyone know if this is possible, or do we have to wait for 2005


Cheers

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
K

Karl Seguin

From my experience, Vs.Net 2003 doesn't let you play much with codebehind
file location. You can copy the codebehind file in a subfolder, say
code\WebForm1.cs, change the CodeBehind attribute to point to this, but the
minute you go "view code" it simply creates a new codebehind file like a
normal one and forgets about one in Code
 
O

One Handed Man \( OHM - Terry Burns \)

Thanks, I know I can do this in 2005.

Hey Ho !

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--


Karl Seguin said:
From my experience, Vs.Net 2003 doesn't let you play much with codebehind
file location. You can copy the codebehind file in a subfolder, say
code\WebForm1.cs, change the CodeBehind attribute to point to this, but
the
minute you go "view code" it simply creates a new codebehind file like a
normal one and forgets about one in Code

--
MY ASP.Net tutorials
http://www.openmymind.net/


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in
message
 

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,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top