Include File??
-
Hi Trying to convert (or Translated) my ASP web site to ASP.NET. I found that I don't have include directive, so I make a little functions, by FileStream to Add content from another file. Works fine, but I was wonder if someone knows a better way to make a include. :confused:
-
Hi Trying to convert (or Translated) my ASP web site to ASP.NET. I found that I don't have include directive, so I make a little functions, by FileStream to Add content from another file. Works fine, but I was wonder if someone knows a better way to make a include. :confused:
hxxbin wrote: but I was wonder if someone knows a better way to make a include It's called CodeBehind. You're in the OOP world now:-D
// Steve McLenithan
Cluelessnes:
There are no stupid questions, but there are a lot of inquisitive idiots. -
hxxbin wrote: but I was wonder if someone knows a better way to make a include It's called CodeBehind. You're in the OOP world now:-D
// Steve McLenithan
Cluelessnes:
There are no stupid questions, but there are a lot of inquisitive idiots. -
Hi Trying to convert (or Translated) my ASP web site to ASP.NET. I found that I don't have include directive, so I make a little functions, by FileStream to Add content from another file. Works fine, but I was wonder if someone knows a better way to make a include. :confused:
You can create your own user controls and split up the pages that way. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
-
But the CodeBehind directive it's to include the source code into the aspx??, I don't need that, I need for example include a html with the nav bar, like if I used an IFRAME. How I could do? ---- hxxbin
Like Paul said UserControls are the way to go:)
// Steve McLenithan
Cluelessnes:
There are no stupid questions, but there are a lot of inquisitive idiots. -
You can create your own user controls and split up the pages that way. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
-
Hi, I'm new to ASP.NET as well and I'm trying to figure out the same thing regarding include files. If you figure it out please let me know and I'll do the same. Thanks ;)