Select from following answers:- @Control

- @Page
- @Register
- @ServiceHost
- All Above
@Control is the only directive,which is added to the page while creating Usercontrol.The @Control directive helps us to define the properties to be inherited by the user control.
We create user control as:-
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %>
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator