Click here to Skip to main content
15,910,123 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<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>


when i am clicking on clicking on image i am geting no response. Kindly help me. i want to know before using any ajax control there is requrirement to add extender or not



        selectdate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txt" runat="server"></asp:TextBox>
         <asp:CalendarExtender ID="CalendarExtender1" runat="server"
            Format="mmmm d, yyyy" TargetControlID="txt"></asp:CalendarExtender>

        <asp:Image ID="Image1" runat="server" ImageUrl="~/NewFolder1/calendar.png" AlternateText = "" />


    </div>
    </form>
</body>
</html>
Posted

Hi
Try using Toolkit Script Manger instead of ScriptManager

Thanks
 
Share this answer
 
remove this line of code:---


Quote:
<asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">


Add this:-

Quote:
<asp:toolkitscriptmanager id="ToolkitScriptManager1" runat="server" xmlns:asp="#unknown">


Whenever u are using Extender controls u should use ToolkitScript manager insted of scriptmanager.
 
Share this answer
 

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