Solved

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

Posted on 2007-12-04
1
177 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

10 Experts available now in Live!

Get 1:1 Help Now