Explain about Register directive's attributes ?

 Posted by Bharathi Cherukuri on 7/25/2012 | Category: ASP.NET Interview questions | Views: 1249 | Points: 40

There are 3 Register directive's attributes.They are:
1) TagPreFix
2) Namespace
3) Assembly

This TagPreFix name will identify the group to which the user control is belonged to.
The tag prefix for ASP.NET server controls is “asp”.
You can use this prefix for creating a naming convention to organize your custom controls.

This contains the controls that are to be registered within the custom control assembly.This is a project name within the custom control assembly.

It consists of the custom controls.This is the name of the assembly(.dll). The Web Application must refer the control assembly.Referencing the assembly maintains a copy of it in the Web application’s /bin directory.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response