Home > Forum > ASP.NET Ajax > ajax Control are not Displaying in browser

ajax Control are not Displaying in browser

by Thamil   on Aug 07, 2013   Category: ASP.NET Ajax  |  Views: 2402    |  Points: 5   |  Gold 
  Reply
Hi guys... iam new to ajax) iam using visual studio 2005 i have installed ajax control tool kit.Actually i want to use Calendar extendar with textBox.but its not working in browser.on clicking textbox calendar extendar is not working
Here is my code

<ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxtoolkit:ToolkitScriptManager>
<asp:TextBox ID="datepicker" runat="server"></asp:TextBox>
<ajaxtoolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="datepicker"></ajaxtoolkit:CalendarExtender>


thanx Advance

Question posted on behalf of Ameer Ali.

Bookmark and Share:
 
  User Reply  | Ask a question  |   Reply 
  Re :ajax Control are not Displaying in browser   
by Thamil
on Aug 7 2013 2:35AM
Points : 10
Gold 
Hello Ameer Ali,

Please check the below code.

Register AjaxControlToolkit:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Add scriptmanager :
<asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
</asp:ScriptManager>

<asp:TextBox ID="txtDate" runat="server" Width="85px"></asp:TextBox> 
<asp:ImageButton runat="Server" ID="ImageButton1" ImageUrl="~/Images/Calendar_Image.PNG"
AlternateText="Click here to display calendar" />
<cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="txtDate" Format="dd MMM yy"
PopupButtonID="ImageButton1" runat="server"></cc1:CalendarExtender>



this would help for your issue on AjaxControlToolkit.
  Re :ajax Control are not Displaying in browser   
by Ameer Ali
on Aug 7 2013 3:10AM
Points : 10
Starter 
Thanx but problem still not resolved the calendar extendar still not working on click calendar is not displaying/showing
  Re :ajax Control are not Displaying in browser   
by Thamil
on Aug 7 2013 1:42PM
Points : 10
Gold 
hello Ali,

please provide your aspx page code so that it would help to assist on this.

Recent Post

Latest Posts