472,989 Members | 3,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Date Drop-down - Web Application

What reference do I need to add in to be able to use a date drop-down control
within my web application?
Thank you!
-Valerie
Jul 21 '05 #1
4 3832
<asp:Calendar id="id" runat="server" />

or

<asp:dropdownlist id="list1" runat="server">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 2</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:dropdownlist >

or

<asp:listbox id="list1" runat="server" selection mode = "multiple">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:listbox>
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
What reference do I need to add in to be able to use a date drop-down
control
within my web application?
Thank you!
-Valerie

Jul 21 '05 #2
It appears that there is not a drop-down date control (that displays a
calendar) built into ASP.NET. So, I would need to purchase a 3rd party
control, correct?
Thanks.

"John Timney (ASP.NET MVP)" wrote:
<asp:Calendar id="id" runat="server" />

or

<asp:dropdownlist id="list1" runat="server">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 2</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:dropdownlist >

or

<asp:listbox id="list1" runat="server" selection mode = "multiple">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:listbox>
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
What reference do I need to add in to be able to use a date drop-down
control
within my web application?
Thank you!
-Valerie


Jul 21 '05 #3
The calendar control displays a graphical calendar - or you can load a
dropdownlist control with dates - what exactly are you looking for that
these two options dont provide?

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
It appears that there is not a drop-down date control (that displays a
calendar) built into ASP.NET. So, I would need to purchase a 3rd party
control, correct?
Thanks.

"John Timney (ASP.NET MVP)" wrote:
<asp:Calendar id="id" runat="server" />

or

<asp:dropdownlist id="list1" runat="server">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 2</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:dropdownlist >

or

<asp:listbox id="list1" runat="server" selection mode = "multiple">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:listbox>
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
> What reference do I need to add in to be able to use a date drop-down
> control
> within my web application?
> Thank you!
> -Valerie


Jul 21 '05 #4
The calendar control displays a graphical calendar - or you can load a
dropdownlist control with dates - what exactly are you looking for that
these two options dont provide?

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
It appears that there is not a drop-down date control (that displays a
calendar) built into ASP.NET. So, I would need to purchase a 3rd party
control, correct?
Thanks.

"John Timney (ASP.NET MVP)" wrote:
<asp:Calendar id="id" runat="server" />

or

<asp:dropdownlist id="list1" runat="server">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 2</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:dropdownlist >

or

<asp:listbox id="list1" runat="server" selection mode = "multiple">
<asp:listitem>Date 1</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
<asp:listitem >Date 3</asp:listitem >
</asp:listbox>
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"kvrdev1" <kv*****@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
> What reference do I need to add in to be able to use a date drop-down
> control
> within my web application?
> Thank you!
> -Valerie


Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Thomas R. Hummel | last post by:
Hello, I am importing data that lists rates for particular coverages for a particular period of time. Unfortunately, the data source isn't very clean. I've come up with some rules that I think...
2
by: Jorntk | last post by:
How can i create a date drop menu that automatically have today's date selected?
23
by: Ash | last post by:
Hi everyone, This problem has been puzzling me for a fair time now, and has severely frustrated me!! Perhaps I'm just not getting the syntax right, but the problem is rather simple... Take a...
16
by: Bernd Hohmann | last post by:
Hi there, we're currently convert an old ISAM application to Java and DB2. Among the load of problems we found the reports which have user selections like "select all data between mm/yyyy and...
0
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot...
8
by: WindAndWaves | last post by:
Hi everyone, Has anyone got any experience with drop and drag in Access? I would like to make a calendar style form where my users can drop and drag appointments.... I am using Access 2003...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
6
by: alexanderpope11 | last post by:
Hello, how do I write this SQL: I would like to check the Main table for invalid rows. An invalid row is: any row where the Start_date to stop_date range overlaps an invalid date in the Code...
11
by: shsandeep | last post by:
I used the following query to retrieve the date in dd-mon-yyyy format. db2 => SELECT RTRIM(CHAR(DAY(COVG_TYP_STRT_DT))) || '-' || RTRIM(MONTHNAME(COVG_TYP_STRT_DT)) || '-' ||...
2
by: syntego | last post by:
We commonly use triggers to log changes to our main tables to historical log tables. In the trigger, we create a concatenated string of the old values by casting them as follows: ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.