Click here to Skip to main content
15,668,691 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="">
<head runat="server">
  <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
          <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>


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.

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