Solved

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

Posted on 2007-12-04
1
181 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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