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

Posts: 107
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
 
When You Register, These Ads Go Away!
     
Old 05-04-2007, 03: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,025
Name: Forrest Croce
Location: Seattle, WA
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.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 05-15-2007, 09:08 AM Re: Could I use an HTML document as an #include in ASP.NET 2.0
Super Talker

Posts: 107
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

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

vB 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.11575 seconds with 13 queries