"Assembly" is the DLL name
"Namespace" is the namespace
The name of "tagprefix" on the page, such as a text box in the page, <asp: textbox... > Asp here is the tagprefix.
Tagprefix = "fckeditorv2" is <fckeditorv2: control class name>
<% @ Register Assembly = "fredck. fckeditorv2" namespace = "fredck. fckeditorv2" tagprefix = "fckeditorv2" %>
<% @ Register Assembly = "gmdatepicker" namespace = "graymattersoft" tagprefix = "PC3" %>
We recommend that you register in Web. config. For example:
< System. Web >
< Pages >
<! -- Register Custom Controls -->
< Controls >
<! -- Paging Control -->
< Add Assembly = "Nature. webcontrol. quickpager" Namespace = "Nature. webcontrols" Tagprefix = "Nature" />
<! -- Register basic controls, text boxes, drop-down lists, etc. -->
< Add Assembly = "Nature. webcontrol. basecontrol" Namespace = "Nature. webcontrols" Tagprefix = "Nature" />
<! -- Register a metadata Control -->
< Add Assembly = "Nature. webcontrol. metacontrol" Namespace = "Nature. webcontrols" Tagprefix = "Nature" />
</ Controls >
</ Pages >