Ask a Question related to ASP.NET General, Design and Development.
-
Bob #1
Newbie question about old include stmts
We want all our new .NET projects to use the same headers
and footers, with the application specific HTML/ASP
controls in between. In ASP we did this with #include at
the top and bottom. What is the best way to do this
in .NET? I have considered Import, but did not think it
worked with HTML stuff on the same page. Also considered
placeholders, but this means everyone has to add the
placeholder controls to their page. The other idea was
possibly inheriting the page from a previously created
page instead of directly from System...Page.
Any ideas?
Thanks
Bob Guest
-
#include substitution question
hi, the #include directive is invoked at compile time. i need to use something simular that will be invoked at runtime. this nice thing about... -
Newbie: How to Include HTML Help in Flex Application
I have an HTML Help compiled help file (.CHM format) I created using Microsoft HTML Help Workshop. I asked my Flex developer to add a Help button... -
Newbie include question
I put this in my PHP and it works fine. <?php $db = mysql_connect("localhost", "root"); mysql_select_db("sites",$db); $result =... -
include question
Yang Li Ke wrote: try that :P <?php $id = '2'; include('myfile.php'); ?> -
another include file question
A question about a navigation bar via an include file. I am not able to currently test the pages on a server just yet, therefore the preview in... -
Steve C. Orr, MCSD #2
Re: Newbie question about old include stmts
The most common replacement for old fashioned include files are web user
controls.
They basically are like object oriented include files on steroids.
Here's more info:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontowebusercontrols.asp[/url]
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriwebusercontrols.asp[/url]
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconWebUserControlsVsCustomWebControls.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Bob" <bninosphamus@mindspring.com> wrote in message
news:028c01c35074$55fb3220$a101280a@phx.gbl...> We want all our new .NET projects to use the same headers
> and footers, with the application specific HTML/ASP
> controls in between. In ASP we did this with #include at
> the top and bottom. What is the best way to do this
> in .NET? I have considered Import, but did not think it
> worked with HTML stuff on the same page. Also considered
> placeholders, but this means everyone has to add the
> placeholder controls to their page. The other idea was
> possibly inheriting the page from a previously created
> page instead of directly from System...Page.
> Any ideas?
>
> Thanks
Steve C. Orr, MCSD Guest



Reply With Quote

