Solved

<%@ Reference Page="~/POPage.aspx" %>

Posted on 2007-12-04
1
178 Views
Last Modified: 2008-03-06
What's the purpose and function of the abover in the HTML code of a web form? Is it required for inheritance? How can it be omitted?

Thanks.
0
Comment
Question by:ksfok
1 Comment
 
LVL 27

Accepted Solution

by:
Sammy earned 500 total points
ID: 20409058
this directive is used to allow the net framework to compile the page or user control and use it in the calling page

from msdn
Indicates that another user control, page source file, or arbitrary file located at some virtual path should be dynamically compiled and linked against the current ASP.NET file (Web page, user control, or master page) in which this directive is declared.

http://msdn2.microsoft.com/en-us/library/w70c655a.aspx

now if you want to omit this you have to write all code in code behind instead of declaring it in aspx file
this way the .net framework will take care of the C# or VB.Net code without needing a reference

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now