I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47
I find there are Register tag in many .aspx, like this HtmlModule.ascx , the
first line is
<%@ Register TagPrefix="Portal" TagName="Title"
Src="~/DesktopModuleTitle.ascx"%>
What does the function of Register tag in .aspx 3 5761
"Register TagPrefix" initializes a User Control.
The code for the User Control is in the .ascx file,
and it's initialized in the .aspx file.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I find there are Register tag in many .aspx, like this HtmlModule.ascx , the first line is
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
What does the function of Register tag in .aspx
I find some document in MSDN, but I still not understand about this tag.
What is the function of TagPreFix and TagName?
"Juan T. Llibre" <no***********@nowhere.com> ¼¶¼g©ó¶l¥ó·s»D
:#c**************@TK2MSFTNGP12.phx.gbl... "Register TagPrefix" initializes a User Control.
The code for the User Control is in the .ascx file, and it's initialized in the .aspx file. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ======================
"ad" <ad@wfes.tcc.edu.tw> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I find there are Register tag in many .aspx, like this HtmlModule.ascx , the first line is
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
What does the function of Register tag in .aspx
Hello ad,
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
TagPrefix is the prefix used for the tag and TagName is the name (after the
:) of the tag. Given the above example, you'd use this in an aspx file
<Portal:Title id="someId" runat="server"></Portal:Title>
--
Matt Berther http://www.mattberther.com I find some document in MSDN, but I still not understand about this tag.
What is the function of TagPreFix and TagName?
"Juan T. Llibre" <no***********@nowhere.com> ¼¶¼g©ó¶l¥ó·s»D :#c**************@TK2MSFTNGP12.phx.gbl...
"Register TagPrefix" initializes a User Control.
The code for the User Control is in the .ascx file, and it's initialized in the .aspx file.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ====================== "ad" <ad@wfes.tcc.edu.tw> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl... I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I find there are Register tag in many .aspx, like this HtmlModule.ascx , the first line is <%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%> What does the function of Register tag in .aspx This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mountain Bikn' Guy |
last post by:
I have a situation where an app writes data of various types (primitives and
objects) into a single dimensional array of objects. (This array eventually
becomes a row in a data table, but that's...
|
by: jty202 |
last post by:
"Although we do support the ASP.NET Starter Kits, we do not do the
installation for you. You can run the installation file locally, then
upload the kit. You will not be able to compile on the...
|
by: Robert Wagner |
last post by:
I've created a page using VS.NET and page validator controls. The client
side validation works fine on IE, but does not even activate under
"alternate" browsers like Mozilla, Opera, etc. Why is...
|
by: Benedict Teoh |
last post by:
I created a dropdownlist containing day, month and year field and expose a property to assign a date. When I call from a aspx page and assign the value, the new date is not displayed until a submit...
|
by: RUIZCJ |
last post by:
Hi,
I'm at my wits end!!! I have the following code. The submit button works on
my home computer but when I copy the dll and the ASPX file to my host
provider, the button does NOT fire.
TIA...
|
by: joey.powell |
last post by:
I have run into a problem with one of my aspx pages. When I run the
page, I get a "Server Tag Is Not Well Formed" error. This message goes
away when I remove the line with the problem. This simply...
|
by: jeff_m |
last post by:
Hello all,
I'm having an issue with the following:
I have an .aspx page with two html links that call distinct Javascript
functions.
I also have an iframe in the html of this .aspx page....
|
by: Rod |
last post by:
I've been struggling with this thing for 2 days, and after searching the
'net for help, I cannot find what is wrong.
We're using Crystal Reports XI Release 2, with Visual Studio .NET 2003 in...
|
by: prouleau001 |
last post by:
Hi all!
Since that the decorator syntax is upon us, I think it would be good if
atexit.register() was returning the function passed as argument. This
simple change to the library would solve a...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |