Wrox Programmer Forums
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 August 31st, 2006, 06:11 PM
Registered User
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calendar Control in ASP.NET 2.0

Hi there,

I'm trying to get a date picked from a pop up caledar control to insert it into a detailsview control, but I'm not having that much luck. I can put the date into textbox on the calling page, but for the love of Pete! I can't figure out how to place into a textbox with a detailsview.

Any ideas on how to do this please?

Thanks in advance for your help.


Old September 1st, 2006, 12:31 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

I do not have a definitive answer for you but you may benifit from turning on Page Level Tracing and looking at the Page Control tree.

But if you can locate your control in the Control tree you can do something like this:

Dim txt As TextBox = CType(Page.FindControl("dg:_ctl2:txtDate"), TextBox)

txt.text = [value from calendar]

Where the value in Page.FindControl() represents the name of the control in the control tree.

"The one language all programmers understand is profanity."
Old October 3rd, 2006, 07:15 AM
Authorized User
Join Date: Apr 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

Also you can use ALGrid control (http://asplib.net), that has build-in calendar column type

Old May 11th, 2007, 05:26 PM
Authorized User
Join Date: Apr 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

Also you can find good calendar in MIcrosoft Asp.Net Atlas controls suite

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: XML/XSLT/ASP.NET Calendar Control kwilliams XSLT 14 May 8th, 2008 03:43 PM
Calendar like calendar in AJAX in ASP.NET h@ckerz ASP.NET 2.0 Professional 0 February 19th, 2008 12:56 AM
Calendar Control in .NET akshay144 .NET Framework 1.x 1 December 18th, 2006 01:58 AM
ASP.NET Calendar Control Client Side Access rodmcleay ASP.NET 1.0 and 1.1 Basics 4 June 17th, 2005 11:45 PM
Calendar control for ASP.NET App mishi ASP.NET 1.x and 2.0 Application Design 2 April 10th, 2005 05:23 AM

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