Click here to Skip to main content
15,886,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
</head>
<body>
  <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
          <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
          <ajaxToolkit:CalendarExtender runat="server" TargetControlID="TextBox1" Format="dd/MM/yyyy" ></ajaxToolkit:CalendarExtender>

<asp:Label runat="server" Text="Label"></asp:Label>

        </ContentTemplate>
      </asp:UpdatePanel>
    </div>
  </form>
</body>
</html>


What I have tried:

In the above code, you can see the Label control which I added, displays without "ID". If am adding ID manually in design view, then in code behind its not appearing to access. intellisense aslo not highlighting open and close html tags.

If I am removing ajaxtookit everything working normally.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900