Question discussion

How to write the dot net server control?

3670Medium DSSSB TGT Computer Science 0 replies 2 views
0

How to write the dot net server control?

  • A<asp:controlType ID="ControlID" runin="server" Property1=value1 [Property2=value2] />
  • B<asp:controlType ID="ControlID" runas="server" Property1=value1 [Property2=value2] />
  • C<asp:controlType ID="ControlID" run="server" Property1=value1 [Property2=value2] />
  • D<asp:controlType ID="ControlID" runat="server" Property1=value1 [Property2=value2] />
Correct answer: D

Explanation

An ASP.NET server control is written as <asp:controlType ID="ControlID" runat="server" ... />. The attribute is runat="server".

Discussion 0

Nobody has replied yet. Start the discussion!