473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

migrating to .net (include statements)

i have a .html page that uses include statements for a header and
footer that i have to rebuild in .net (.aspx pages)

i am very new to .net and i do not know how if .net supports include
statements. can anybody help? i tried putting the include
statements in the html but the neither the header nor the footer show
up

Nov 18 '05 #1
4 1054
most of the time users with ASP.NET will convert their .include files to
User Controls. Then just plop it on your page(s).

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"mglover" <ma******@scgov-dot-net.no-spam.invalid> wrote in message
news:41********@Usenet.com...
i have a .html page that uses include statements for a header and
footer that i have to rebuild in .net (.aspx pages)

i am very new to .net and i do not know how if .net supports include
statements. can anybody help? i tried putting the include
statements in the html but the neither the header nor the footer show
up

Nov 18 '05 #2
ok i've made my include statements into .ascx files and they are
working fine. in fact, everything looks great, but the information
in the .aspx pages lays right on top of the user controls...

how do i orient the .aspx pages to fit around the user controls (ie
under and to the right of the header, and above the footer)? i could
manually move all the elements so that they fit, but then i might as
well just build the header right into all the pages...

(the include statements from the old, html pages had a table built
right into them where the pages loaded to avoid this. my new
"header"/user control also has this, if this helps)

could you guys please help? i appreciate all the help so far!

Nov 18 '05 #3
what most of us do is somethign like what you said. Every page has this.

<table>
<tr>
<td colspan=2><header_here></td>
</tr>
<tr>
<td><left_menu></td>
<td>Page Info Goes Here</td>
</tr>
<tr>
<td colspan=2><footer_here></td>
</tr>
</table>

The controls you created for header/footer/menu are dropped onto each page
but you only have them in one location for modifying.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"mglover" <ma******@scgov-dot-net.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
ok i've made my include statements into .ascx files and they are
working fine. in fact, everything looks great, but the information
in the .aspx pages lays right on top of the user controls...

how do i orient the .aspx pages to fit around the user controls (ie
under and to the right of the header, and above the footer)? i could
manually move all the elements so that they fit, but then i might as
well just build the header right into all the pages...

(the include statements from the old, html pages had a table built
right into them where the pages loaded to avoid this. my new
"header"/user control also has this, if this helps)

could you guys please help? i appreciate all the help so far!

Nov 18 '05 #4
Try taking a look in the document at 'web usercontrols'.

The idea is that you create a .ascx file which holds the page header and
then include this in your .aspx page.

Wayne.

"mglover" <ma******@scgov-dot-net.no-spam.invalid> wrote in message
news:41********@Usenet.com...
i have a .html page that uses include statements for a header and
footer that i have to rebuild in .net (.aspx pages)

i am very new to .net and i do not know how if .net supports include
statements. can anybody help? i tried putting the include
statements in the html but the neither the header nor the footer show
up

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: JDS | last post by:
Hi all. I don't know if this is possible, and if it is, whether it needs to be done within Apache configuration or PHP configuration, but here goes: I am migrating my web server to another...
5
by: David Mathog | last post by:
One thing that can make porting C code from one platform to another miserable is #include. In particular, the need to either place the path to an included file within the #include statement or to...
0
by: michael | last post by:
I am migrating C++ unmanaged to managed VC 7.1. I continue to have problems with try catch blocks through-out my code. The compile tells me the the code is unreachable C2407 at the catch portion of...
4
by: Collin Peters | last post by:
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the...
12
by: jdokos | last post by:
Does anyone know of any good sources (white papers, etc.) regarding migrating from Teradata to DB2 UDB EEE? We are in the very beginning stages of investigating this as an option for some of the...
3
by: vj | last post by:
Please let me know , what are the various impacts on migrating UDB DB2 8.1 to Mainframes. Thanks Vijay.T
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
22
by: Sri | last post by:
All Recenetly our shop migrated to DB2 V8 from V7. We are in IBM System Level: z/OS 1.6.1 @ RSU 0702. Processor : IBM 2064-1C7 (z/900) # 1B89 Mode: 64-bit One of my application is facing...
4
by: VikrantS | last post by:
Hi, I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors when compiled in VS 2008, --- \Program Files\VC\atlmfc\include\afxcmn.inl(376) : error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.