Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Could I use an HTML document as an #include in ASP.NET 2.0
Old 04-30-2007, 09:07 PM Could I use an HTML document as an #include in ASP.NET 2.0
Super Talker

Posts: 116
Trades: 0
Hey all,

I'm just playing around with ASP.NET 2.0 as I started to learn it at my old job and really want to keep my hand in it.

I'm trying to set up my old job's newsletter into ASP.NET 2.0.

I created the masthead originally as an file in HTML that was really an XHTML file with CSS style sheets that I called up in classic ASP as an include.

Could I do the same thing or do I have to do something different? I'm creating a masterpage that will just read the header into a table cell (because my old job can't deal with seeing only code/markup and like to see a real layout).

So... is an ASP.NET 2.0 include the same as classic ASP with html files?

(obviously, the header is stripped out of the HTML file).

Thanks
Donna
DonnaZ is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-04-2007, 04:30 PM Re: Could I use an HTML document as an #include in ASP.NET 2.0
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
No more includes. The whole idea of Master Pages is get away from include files, and achieve the same things in a more objected oriented way. You can create a header section in your MP, then in all the pages that use that Master Page, you'll get the same header, and you'll be able to see it in the Visual Studio designer.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 05-15-2007, 10:08 AM Re: Could I use an HTML document as an #include in ASP.NET 2.0
Super Talker

Posts: 116
Trades: 0
MP... thanks. I just want to be able to use CSS designs and not go back to the tables.

I'll try this tonight. DZ
DonnaZ is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Could I use an HTML document as an #include in ASP.NET 2.0
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11396 seconds with 12 queries