Saturday, 06 September 2008
DotNetSpace, Asp.net 2.0 tutorials and code examples. ajax, log4net...
Home arrow Articles arrow General Articles arrow How to include files in your .aspx file
 
Main Menu
Home
Articles
News
Links
Search








BiraJones




How to include files in your .aspx file Print E-mail
Tuesday, 24 October 2006



This article explains how to include files in your .aspx file. Look at the comments below:

The easier way is create a new file of type "Web User Control" then drag and drop the file in the Design View of your page.

It will create the following code in your page:

//in the beggining of file
<%@ Register Src="includefile.ascx" TagName="TAGNAME" TagPrefix="tagprefix" %>

//in the place you need to include the file
<tagprefix:TAGNAME ID="tagid" runat="server" />

Last Updated ( Tuesday, 26 December 2006 )
 
< Prev   Next >
Popular
Polls
-->*/?>

Which language will you choose for coding with Visual Studio .NET?
 
-->*/?>

Is ASP.NET better than Java / JSP frameworks?
 

© 2008 DotNetSpace
Joomla! is Free Software released under the GNU/GPL License.