Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Ajax calendar, not working correctly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 28 May 2008 19:14 GMT
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 button the calendar does popup
but when a date is selected the date is not displayed in the text box.  If
you reload the page then the date is displayed in the textbox, any ideas?
thanks.
Signature

Paul G
Software engineer.

cfps.Christian - 28 May 2008 22:38 GMT
Sounds like the Calendar control is attempting to put an "invalid"
date into your textbox.  I would check the string that you're
attempting to insert and determine if its in the correct format as
stipulated by your maskededitextender.

Or it could be that with the multiple extenders you might need to do a
postback on the textbox to see the changes.
Paul - 28 May 2008 23:00 GMT
Hi thanks for the response.  I created a new webpage for testing in the same
project and just added a single textbox, calendar extendar and image button.  
For some reason it seems to work sometimes and not other times, clicking on
the image button always brings up the calendar but sometimes when a date is
selected nothing shows up in the textbox.  I have the ajax web toolkit on my
PC and the calendar always seems to work on it, always writes to the text
box.  Is there anyway to see what is trying to be written to the textbox.  
Also I am not using a validator now so thinking it should just write any
string to the textbox.

Signature

Paul G
Software engineer.

> Sounds like the Calendar control is attempting to put an "invalid"
> date into your textbox.  I would check the string that you're
[quoted text clipped - 3 lines]
> Or it could be that with the multiple extenders you might need to do a
> postback on the textbox to see the changes.
cfps.Christian - 29 May 2008 15:31 GMT
When I used the calendar extender I didn't run into any of these
problems, but I also made it so if you clicked the textbox the
calendar control popped up.  Sight unseen all I can do is say to check
that the target control is set correctly, of if the textbox is being
asynchronously posted back at the same time as the control.  Its
possible you could put the calendar extender in an update panel and
trigger an async postback on something like "SelectionChanged" and see
if the textbox refreshes that time.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.