<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Using include files with ASP.NET</title>
	<atom:link href="http://www.christopherjason.com/articles/using-includes-asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christopherjason.com/articles/using-includes-asp-net/</link>
	<description>web development, web design, technical communication information for novices and experts</description>
	<pubDate>Fri, 16 May 2008 12:00:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: srinivasarao.devu</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-106255</link>
		<dc:creator>srinivasarao.devu</dc:creator>
		<pubDate>Wed, 16 Apr 2008 08:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-106255</guid>
		<description>Please i need solution as early as possible for the below mentioned problem.......
-------------------------
Dear Friends,

In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.

Example:

MainPage.aspx
.

.

. 

ordermenu.aspx 

In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.</description>
		<content:encoded><![CDATA[<p>Please i need solution as early as possible for the below mentioned problem&#8230;&#8230;.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Dear Friends,</p>
<p>In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.</p>
<p>Example:</p>
<p>MainPage.aspx<br />
.</p>
<p>.</p>
<p>. </p>
<p>ordermenu.aspx </p>
<p>In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinivasarao.devu</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-106254</link>
		<dc:creator>srinivasarao.devu</dc:creator>
		<pubDate>Wed, 16 Apr 2008 06:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-106254</guid>
		<description>I need response to Gopal Comments as iam facing the same problem in my application:
--------------

If you have any solution for that ,please mail me the solution to my mailid
srinivasarao.devu@gmail.com or post ur comments

The Problem explained below:
---------------------------
Dear Friends,

In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.

Example:

MainPage.aspx
.

.

. 

ordermenu.aspx 

In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.

Dave Says:</description>
		<content:encoded><![CDATA[<p>I need response to Gopal Comments as iam facing the same problem in my application:<br />
&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>If you have any solution for that ,please mail me the solution to my mailid<br />
<a href="mailto:srinivasarao.devu@gmail.com">srinivasarao.devu@gmail.com</a> or post ur comments</p>
<p>The Problem explained below:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Dear Friends,</p>
<p>In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.</p>
<p>Example:</p>
<p>MainPage.aspx<br />
.</p>
<p>.</p>
<p>. </p>
<p>ordermenu.aspx </p>
<p>In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.</p>
<p>Dave Says:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Jason</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-106074</link>
		<dc:creator>Christopher Jason</dc:creator>
		<pubDate>Sat, 15 Mar 2008 20:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-106074</guid>
		<description>Salve-

Regarding SEO, using includes files in any server-side language (ASP.NET, ASP, PHP, etc) does not have any impact (positive or negative) on SEO.

The server-side code is processed before the final output (HTML) is returned to the Web browser from the server. So technically, it's possible to use ASP.NET and still return an "search optimized" URL that could potentially help your search rankings. 

The other factors that would help SEO (page code, links into the page, proper titles and tagging, etc) are all things that should be done whether you use ASP.NET or plain HTML for your pages.</description>
		<content:encoded><![CDATA[<p>Salve-</p>
<p>Regarding SEO, using includes files in any server-side language (ASP.NET, ASP, PHP, etc) does not have any impact (positive or negative) on SEO.</p>
<p>The server-side code is processed before the final output (HTML) is returned to the Web browser from the server. So technically, it&#8217;s possible to use ASP.NET and still return an &#8220;search optimized&#8221; URL that could potentially help your search rankings. </p>
<p>The other factors that would help SEO (page code, links into the page, proper titles and tagging, etc) are all things that should be done whether you use ASP.NET or plain HTML for your pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yakov</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-106056</link>
		<dc:creator>yakov</dc:creator>
		<pubDate>Thu, 13 Mar 2008 10:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-106056</guid>
		<description>use Response.WriteFile() method</description>
		<content:encoded><![CDATA[<p>use Response.WriteFile() method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JackMichael654</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-105945</link>
		<dc:creator>JackMichael654</dc:creator>
		<pubDate>Sat, 23 Feb 2008 17:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-105945</guid>
		<description>I really need to know how to do an include file in the .aspx code behind page.  Many people tell me to use classes, and I do.  But there are some things I really need to put in include files in the.aspx or .vb portion of the .net project.  Please Help !</description>
		<content:encoded><![CDATA[<p>I really need to know how to do an include file in the .aspx code behind page.  Many people tell me to use classes, and I do.  But there are some things I really need to put in include files in the.aspx or .vb portion of the .net project.  Please Help !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton Gulick</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-62289</link>
		<dc:creator>Clayton Gulick</dc:creator>
		<pubDate>Mon, 12 Nov 2007 22:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-62289</guid>
		<description>The folks on this page claiming that using ascx user controls results in better performance are mistaken. Please check the IIS processing pipeline. SSI's inject the relevant code in the file prior to aspx processing. The page is built and cached. To asp.net, it appears to be a single page. This has better performance than the overhead of user controls.

SSI's are by no means obsolete, and are frequently a much better choice and more flexible than user controls.</description>
		<content:encoded><![CDATA[<p>The folks on this page claiming that using ascx user controls results in better performance are mistaken. Please check the IIS processing pipeline. SSI&#8217;s inject the relevant code in the file prior to aspx processing. The page is built and cached. To asp.net, it appears to be a single page. This has better performance than the overhead of user controls.</p>
<p>SSI&#8217;s are by no means obsolete, and are frequently a much better choice and more flexible than user controls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salve</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-32192</link>
		<dc:creator>salve</dc:creator>
		<pubDate>Tue, 14 Aug 2007 02:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-32192</guid>
		<description>Does including files into my webpages using ASP.net 'include' function adversly affect SEO?</description>
		<content:encoded><![CDATA[<p>Does including files into my webpages using ASP.net &#8216;include&#8217; function adversly affect SEO?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-28515</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sat, 21 Jul 2007 20:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-28515</guid>
		<description>If you are receiving a "HTTP Error 404.3 - Not Found" error it might be because you have not installed all parts of IIS, and it doesn't understand the .aspx extension.

The first time I installed IIS in Vista, I just checked the tickbox, but it didn't tick every part of it.  You have to expand the + signs and tick each thing manually to get it all.</description>
		<content:encoded><![CDATA[<p>If you are receiving a &#8220;HTTP Error 404.3 - Not Found&#8221; error it might be because you have not installed all parts of IIS, and it doesn&#8217;t understand the .aspx extension.</p>
<p>The first time I installed IIS in Vista, I just checked the tickbox, but it didn&#8217;t tick every part of it.  You have to expand the + signs and tick each thing manually to get it all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo software reviews</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-25121</link>
		<dc:creator>seo software reviews</dc:creator>
		<pubDate>Thu, 05 Jul 2007 13:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-25121</guid>
		<description>I wanted to include file which is on one directory up than my web application, but due to some reason asp.net through me compile time error.</description>
		<content:encoded><![CDATA[<p>I wanted to include file which is on one directory up than my web application, but due to some reason asp.net through me compile time error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wael</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-23068</link>
		<dc:creator>Wael</dc:creator>
		<pubDate>Sun, 24 Jun 2007 10:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-23068</guid>
		<description>I tried the include method, it worked but whatever I have in the file I included are coming at the top of the main page. that is i included page 2 in page 1. In the browser the contents of page 2 come at the top then conents of page 1 appear. Any explanation.

</description>
		<content:encoded><![CDATA[<p>I tried the include method, it worked but whatever I have in the file I included are coming at the top of the main page. that is i included page 2 in page 1. In the browser the contents of page 2 come at the top then conents of page 1 appear. Any explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-20692</link>
		<dc:creator>Glenn</dc:creator>
		<pubDate>Wed, 13 Jun 2007 15:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-20692</guid>
		<description>What a flash back!  The old method returns....

I have been searching for a way to add my programmed pages onto regular html type files that non programmers keep updated.  Was trying to use Frontpage and Web Expressions and ran into the webbot not allowing includes with ASP.NET files.  Works great making everything aspx files (with a few ascx's thrown in for good measures).  I will go back later and make all my included files ascx's to get rid of the redundant  tags.</description>
		<content:encoded><![CDATA[<p>What a flash back!  The old method returns&#8230;.</p>
<p>I have been searching for a way to add my programmed pages onto regular html type files that non programmers keep updated.  Was trying to use Frontpage and Web Expressions and ran into the webbot not allowing includes with ASP.NET files.  Works great making everything aspx files (with a few ascx&#8217;s thrown in for good measures).  I will go back later and make all my included files ascx&#8217;s to get rid of the redundant  tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-20440</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Tue, 12 Jun 2007 11:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-20440</guid>
		<description>Can I insert an include in a .aspx page and see the included .ascx (or other extension) in "Design develope time" into de .aspx page?

Sorry for my wrong english.</description>
		<content:encoded><![CDATA[<p>Can I insert an include in a .aspx page and see the included .ascx (or other extension) in &#8220;Design develope time&#8221; into de .aspx page?</p>
<p>Sorry for my wrong english.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-19296</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 06 Jun 2007 19:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-19296</guid>
		<description>Great &#38; simple instructions. Thanks for the help. This is the first of 50 articles that made it easy.</description>
		<content:encoded><![CDATA[<p>Great &amp; simple instructions. Thanks for the help. This is the first of 50 articles that made it easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mow</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-18025</link>
		<dc:creator>Mow</dc:creator>
		<pubDate>Wed, 30 May 2007 12:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-18025</guid>
		<description>Thanks for the guide... but, how can I include pages dinamically?, for example: I have a page called 'module.aspx' that have the '?page' param... and it recive 'inc_footer.aspx' and then it write ''... can i do this?</description>
		<content:encoded><![CDATA[<p>Thanks for the guide&#8230; but, how can I include pages dinamically?, for example: I have a page called &#8216;module.aspx&#8217; that have the &#8216;?page&#8217; param&#8230; and it recive &#8216;inc_footer.aspx&#8217; and then it write &#8221;&#8230; can i do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-16894</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Wed, 23 May 2007 19:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-16894</guid>
		<description>Hello

I am new to asp.net.

I have been doing .asp for a lonmg time.

I am having major problems getting my asp.net code to work.

especially the include files.

I read the threads but do not what masterpages are.

response.writefile"c:\includefile.inc"

Is that correct?

Also how can I get the include file to be included in the compile?

The variables are not being seen!?!?!?

Thanks

-roy</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I am new to asp.net.</p>
<p>I have been doing .asp for a lonmg time.</p>
<p>I am having major problems getting my asp.net code to work.</p>
<p>especially the include files.</p>
<p>I read the threads but do not what masterpages are.</p>
<p>response.writefile&#8221;c:\includefile.inc&#8221;</p>
<p>Is that correct?</p>
<p>Also how can I get the include file to be included in the compile?</p>
<p>The variables are not being seen!?!?!?</p>
<p>Thanks</p>
<p>-roy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenda</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-15182</link>
		<dc:creator>Glenda</dc:creator>
		<pubDate>Wed, 09 May 2007 14:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-15182</guid>
		<description>Its great to use includes with Master Pages as well though.  For instance, have the header logo and test in an include file with no background color.  Then include that on the master page with a colorful background color, but also include the header on printable pages.  This way you only have to update the control, not the Master Page and any other pages.</description>
		<content:encoded><![CDATA[<p>Its great to use includes with Master Pages as well though.  For instance, have the header logo and test in an include file with no background color.  Then include that on the master page with a colorful background color, but also include the header on printable pages.  This way you only have to update the control, not the Master Page and any other pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-15059</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 08 May 2007 19:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-15059</guid>
		<description>This article should be updated. 

1) It should be listed as "ASP.NET 1.x", since .NET 2.0 allows for Master Pages, which are far better than include files. 

2) As another user commented, a user control can be developed that can provide the same look and feel as a master page with only two lines of code in the aspx source: 1 line to register the user control, and a second to put the control on the page.</description>
		<content:encoded><![CDATA[<p>This article should be updated. </p>
<p>1) It should be listed as &#8220;ASP.NET 1.x&#8221;, since .NET 2.0 allows for Master Pages, which are far better than include files. </p>
<p>2) As another user commented, a user control can be developed that can provide the same look and feel as a master page with only two lines of code in the aspx source: 1 line to register the user control, and a second to put the control on the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-12083</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 11 Apr 2007 16:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-12083</guid>
		<description>Is it possible to get this kind of include functionality by pointing to an include file on a remote server? I'd like to put a shared nav in one place and have all my sites include it for ease of maintenance. I've tried both ascx's and this include method but I get parser errors saying "is not a valid virtual path". Is there anyway around this?</description>
		<content:encoded><![CDATA[<p>Is it possible to get this kind of include functionality by pointing to an include file on a remote server? I&#8217;d like to put a shared nav in one place and have all my sites include it for ease of maintenance. I&#8217;ve tried both ascx&#8217;s and this include method but I get parser errors saying &#8220;is not a valid virtual path&#8221;. Is there anyway around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-8531</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 02 Mar 2007 13:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-8531</guid>
		<description>You said the browser sees the .inc file as a text file which is true, but the real problem is that ASP.net doesn't parse the file before sending it to the browser, thus exposing all the code.</description>
		<content:encoded><![CDATA[<p>You said the browser sees the .inc file as a text file which is true, but the real problem is that ASP.net doesn&#8217;t parse the file before sending it to the browser, thus exposing all the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-8423</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Thu, 01 Mar 2007 04:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-8423</guid>
		<description>Dear Friends,
 
In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.
 

Example:

 

MainPage.aspx 
.

                        .

                        .           



 

      

          

              

                            

                    

                    

                    

                

 

 

ordermenu.aspx 
 



 

 

In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.

</description>
		<content:encoded><![CDATA[<p>Dear Friends,</p>
<p>In my project they were using lot of include files. In the compilation it’s showing errors like “unknown server tags” . So how suppress these kind of errors in either compilation/Building a setup.</p>
<p>Example:</p>
<p>MainPage.aspx<br />
.</p>
<p>                        .</p>
<p>                        .           </p>
<p>ordermenu.aspx </p>
<p>In the above example, ordermenu.aspx gives an error with “unknown server tags”. How to solve this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coder</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-6602</link>
		<dc:creator>Coder</dc:creator>
		<pubDate>Fri, 09 Feb 2007 13:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-6602</guid>
		<description>Really you should be using .ascx web controls rather than server side includes.  It's much better for maintaining the code as well as performance</description>
		<content:encoded><![CDATA[<p>Really you should be using .ascx web controls rather than server side includes.  It&#8217;s much better for maintaining the code as well as performance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhakar arya</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-6222</link>
		<dc:creator>Sudhakar arya</dc:creator>
		<pubDate>Mon, 05 Feb 2007 06:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-6222</guid>
		<description>Please tell me. is it possible to include a file bitween  tags?</description>
		<content:encoded><![CDATA[<p>Please tell me. is it possible to include a file bitween  tags?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helder</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-3173</link>
		<dc:creator>Helder</dc:creator>
		<pubDate>Sat, 16 Dec 2006 16:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-3173</guid>
		<description>Hey ppl,

UserControls are better solution to replacement the ASP #include.

Alex, good comment !

Cya friends</description>
		<content:encoded><![CDATA[<p>Hey ppl,</p>
<p>UserControls are better solution to replacement the ASP #include.</p>
<p>Alex, good comment !</p>
<p>Cya friends</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-1703</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 09 Nov 2006 13:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-1703</guid>
		<description>Though .inc and .asp files includes are allowed in ASP.net project, 
its the question of whether you are going back to the past or 
moving ahead with time.

A ".ascx" file is a replacement/better alternative for the above include files.
This file could be dragged droped to an .aspx file anywhere in the layout and 
with more advanced functionality of its code behind if required.

There are component called "PlaceHolder" and "Control" Class through 
which dynamic file change and position swapping could be achieved. For example:

In .aspx.cs code:
------------------------------------------------
Control controlExample = LoadControl("ascxExample.ascx");
PlaceHolder1.Controls.Add(controlExample);
------------------------------------------------

I would strictly suggest a dot net developer to use .ascx as an includes only</description>
		<content:encoded><![CDATA[<p>Though .inc and .asp files includes are allowed in ASP.net project,<br />
its the question of whether you are going back to the past or<br />
moving ahead with time.</p>
<p>A &#8220;.ascx&#8221; file is a replacement/better alternative for the above include files.<br />
This file could be dragged droped to an .aspx file anywhere in the layout and<br />
with more advanced functionality of its code behind if required.</p>
<p>There are component called &#8220;PlaceHolder&#8221; and &#8220;Control&#8221; Class through<br />
which dynamic file change and position swapping could be achieved. For example:</p>
<p>In .aspx.cs code:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Control controlExample = LoadControl(&#8221;ascxExample.ascx&#8221;);<br />
PlaceHolder1.Controls.Add(controlExample);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I would strictly suggest a dot net developer to use .ascx as an includes only</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mac</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-122</link>
		<dc:creator>Mac</dc:creator>
		<pubDate>Tue, 25 Apr 2006 20:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-122</guid>
		<description>Neat!!!! I used .inc files before but this is a much cleaner approach. Thanks for the Article.</description>
		<content:encoded><![CDATA[<p>Neat!!!! I used .inc files before but this is a much cleaner approach. Thanks for the Article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-7</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Wed, 09 Nov 2005 03:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-7</guid>
		<description>good article... thanks for your guiding for such beginner like me .</description>
		<content:encoded><![CDATA[<p>good article&#8230; thanks for your guiding for such beginner like me .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://www.christopherjason.com/articles/using-includes-asp-net/#comment-6</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Tue, 08 Nov 2005 13:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.christopherjason.com/articles/20/#comment-6</guid>
		<description>Very good article.</description>
		<content:encoded><![CDATA[<p>Very good article.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
