Friday 18 November 2011

What is the use of @ Register directives in asp.net

@Register directive informs the compiler of any custom server control (like ajaxcontrols, usercontrol.ascx) added to the page.

Example:-

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

No comments:

Post a Comment