Multiple choice .net asp

To add a custom control to a Web form we have to register with.

  1. TagPrefix

  2. Name space of the dll that is referenced

  3. Assemblyname

  4. All of the above

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

To use a custom control in an ASP.NET page, the @Register directive requires the TagPrefix (to identify the control in markup), the Namespace, and the Assembly name where the control is defined. Therefore, all these components are necessary for registration.