What is the correct syntax to create ASP.NET Calendar control?

54. What is the correct syntax to create ASP.NET Calendar control?

  1. < asp:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04"></asp:Calendar>
  2. < asp:Cal ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp:Cal>
  3. < asp_net:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp_net:Calendar>
  4. < asp:Calendar CAL_ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp:Calendar>

Answer: A) < asp:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04"></asp:Calendar>

Explanation:

The first syntax is correct to create an ASP.NET Calendar control.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.