Multiple choice .net asp

How do you register a user control?

  1. Add Tag prefix, Tag name

  2. Add Source, Tag prefix

  3. Add Src, Tagprefix, Tagname

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The @Register directive for a User Control (.ascx) requires three specific attributes: 'Src' (the path to the file), 'TagPrefix' (the namespace alias), and 'TagName' (the name used in the HTML markup). This allows the parser to locate and instantiate the control.