Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2004, 12:01 PM
Authorized User
 
Join Date: Jun 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Celendar web control

Hello,

I have a calendar control in my asp.net page, with a typical function: when the user selects a date, using the selectdate property i fill a text box. The user as button (OK button) and when he presses it the value in the text will update a field in a database. After, if the user wants to select the same date nothing happens. When I say nothing happens, is really nothing. the calendar_SelectionChanged is not activated and the textbox is blank. But if the user selects another date, the calendar works perfectly.

Any suggestions for this?

thanks



Elisa Resina
__________________
Elisa Resina
 
Old November 4th, 2004, 07:58 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Hi,

   what about creating your own calendar control by subclassing
   the existing calendar control and adding in your own
   OnClick event to this new class that handles OnClick events ?

   You can then do you processing in the OnClick event for your
   control ?

Chas.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Control rwalker ASP.NET 2.0 Basics 3 April 25th, 2007 03:47 PM
set Focus to web control in Web form vivekshah C# 1 June 17th, 2006 03:25 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Celendar Booking System acdsky Classic ASP Basics 0 March 31st, 2004 02:42 AM
What is web control? agbeltekin ASP.NET 1.x and 2.0 Application Design 3 September 19th, 2003 11:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.