473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Calendar Extender Problem in asp.net 2.0

20
Hi,
I have a problem with calendar extender.

Example:
<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

<img id="a" src="../images/arrowleftmonth.gif" runat="server" />

<cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="MM/dd/yyyy" TargetControlID="TextBox1" PopupButtonID="a">

</cc1:CalendarExtender>


Problem
The above example is I have a textbox, an <img> tag and Calendar extender.When I click <img> the Calendar will open and after selecting date,the date will be displayed in textbox. This works fine.(This works fine when the textbox is empty when page loads)

My doubt is

I displayed date into the textbox from the databse when page loads.That means if the textbox contains a predefined value when page loads, and now if I click <img> to open calendar to change the date, the calendar is not opened.

I am getting javascript error: Object doesn't support this property or method.

Can u plz tell me how to solve this.

Thanks,

Silpa
Sep 12 '07 #1
0 1585

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Keith | last post by:
I am looking to use the Calendar control in a standard way, with a couple small(hopefully) differences. I have a textbox with a date, and a calendar button next to it, and when you click the...
6
by: Tony Girgenti | last post by:
Hello. Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site program using a calendar. I tried using the validators to see if i can validate dates using a calendar control. It does...
4
by: BillE | last post by:
Can I make the Ajax calendar extender appear on top of dropdown lists instead of behind them? Thanks Bill
0
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I have a calendar extender that when I put it in an update panel, the formatting that I have in CSS, does not work. If I pull it out of my update panel, it looks fine. Is there something I can do...
3
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am using an ajax masked edit extender along with a text box and masked edit validator and calendarExtender. It was working correctly but now for some reason when the user selects the image...
2
by: =?Utf-8?B?QWJoaWxhc2g=?= | last post by:
Hi, I am using AJAX calendar extender.Everything is works fine on date selection from pop up image option but when i dont select a date and click outside on the page,calender remains poped up,it...
2
by: =?Utf-8?B?U3RldmUgQmxhaW4=?= | last post by:
Hi, I am using a calendar extender with a masked edit validator and masked editextender that provides a dropdown calendar and a text box for date entry. On the same page there are other other...
1
by: bellgodz | last post by:
Hello, I have a text box on an .aspx page that an AJAX calendar extender is tied to. When this page is loaded the text box in question is populated with a date from a selected record. I've tried...
1
by: pvong | last post by:
Currently, my calendar extender is returning with the date value 7/31/2008. Is it possible to tell the extender to return it in this format? 2008-07-31 Please note, I'm a newbie and I'm doing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.