Click here to Skip to main content
15,890,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All..

I am using the Ajax Extention Control in my pages, but most of the conytrols are not working at runtime.
For Example:
HTML
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server"
TargetControlID="TextBox1">
</cc1:CalendarExtender>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

For this CalendarExtender control, no calender is displaying in my page at run time.

Please tell me how to solve this problem? Do i need to change some setting?
I am using windows XP ,VS 2008.
Do i need .NET framework 3.5 sp1 ?

Thanks In Advance.

Regards
Nikhil
Posted
Updated 28-May-10 2:26am
v2

If you are using latest control tool kit then you need .net framework 3.5 sp1. Upgrade you framework then try. It should work
 
Share this answer
 
To use Ajax controls to need to register the controls in the page itself or in the config file.

And also the calendar will not be visible in the page directly. when you click on the textbox, then this calendar will be displayed.
if you want to use or invoke this calendar by clicking on a image, then you need to associate this image also with the control.

Hope this will help you.
 
Share this answer
 
Comments
Nikhil Nitesh Thakur 28-May-10 10:25am    
Hi..i know on click on textbox it will be displayed ..but not displaying..
please sujest me some other way ....

Thanks...
Nikhil Nitesh Thakur 28-May-10 10:32am    
hey DIG ..


I got the solution ..

We need to add
<cc1:toolkitscriptmanager id="ToolkitScriptManager1" runat="server">


in our page instead of scriptManager..

Cheers..
Hi Please do this, it will work

XML
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server"
TargetControlID="TextBox1">
</cc1:CalendarExtender>




For More help see the tutorials at
http://www.asp.net/ajaxlibrary/act_Calendar_Simple.ashx[^]



Regards,
Jojo Lili
 
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