473,772 Members | 2,292 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using DateTime Picker

How can I define a DatePicker control with events in ASPX?

When I drag and drop a DateTime Picker control into my page and then try to
use it in code, it gives an error saying that my control is not defined.
Can you help me?
--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
Nov 18 '05 #1
6 1783
Sometimes the DE does not define the events for you or even put in the
definition into code behind, check that these exist.
"ruca" <ru***@iol.pt > wrote in message
news:e7******** *****@TK2MSFTNG P12.phx.gbl...
How can I define a DatePicker control with events in ASPX?

When I drag and drop a DateTime Picker control into my page and then try to use it in code, it gives an error saying that my control is not defined.
Can you help me?
--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 18 '05 #2
It's that I'm trying to say. It don't put any definition automatically. And
I don't know how to define manually, because I don'nt know the classes that
DateTime Pivker control is inserted.
Do you know????

--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
"Felbrigg" <so*****@micros oft.com> escreveu na mensagem
news:eb******** ******@TK2MSFTN GP10.phx.gbl...
Sometimes the DE does not define the events for you or even put in the
definition into code behind, check that these exist.
"ruca" <ru***@iol.pt > wrote in message
news:e7******** *****@TK2MSFTNG P12.phx.gbl...
How can I define a DatePicker control with events in ASPX?

When I drag and drop a DateTime Picker control into my page and then try

to
use it in code, it gives an error saying that my control is not defined.
Can you help me?
--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca


Nov 18 '05 #3
Cor
Hi Ruca,

As far as I know can you not use a "Date Time Picker" on a webform.

You can use the calender, that does work for me fine.

When you message to one of this newsgroup and you tell about code, tell than
what programlanguage you are using, events are set different with every
language using Vs.net

I hope this helps?

Cor
It's that I'm trying to say. It don't put any definition automatically. And I don't know how to define manually, because I don'nt know the classes that DateTime Pivker control is inserted.
Do you know????

Nov 18 '05 #4
hope this is what your after

protected System.Web.UI.W ebControls.Cale ndar Calendar1;

"ruca" <ru***@iol.pt > wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
It's that I'm trying to say. It don't put any definition automatically. And I don't know how to define manually, because I don'nt know the classes that DateTime Pivker control is inserted.
Do you know????

--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
"Felbrigg" <so*****@micros oft.com> escreveu na mensagem
news:eb******** ******@TK2MSFTN GP10.phx.gbl...
Sometimes the DE does not define the events for you or even put in the
definition into code behind, check that these exist.
"ruca" <ru***@iol.pt > wrote in message
news:e7******** *****@TK2MSFTNG P12.phx.gbl...
How can I define a DatePicker control with events in ASPX?

When I drag and drop a DateTime Picker control into my page and then try
to
use it in code, it gives an error saying that my control is not

defined.

Can you help me?
--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca



Nov 18 '05 #5
Cor says:
When you message to one of this newsgroup and you tell about code, tell than what programlanguage you are using, events are set different with every
language using Vs.net
You have reason Cor.
Don't happen again.
For note, in this case it's vb.net that I'm using to create web forms.

Are you sure that I can't use DateTimer Picker control in Web Forms?
If I can't, how can I use Calendar? My idea on this is use a textbox and
create an event button that opens that calendar, and then put in text box
the result data that I chose.
Can I do that? How and where can I get some code example?
--

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

"Cor" <no*@non.com> escreveu na mensagem
news:#U******** ******@TK2MSFTN GP09.phx.gbl... Hi Ruca,

As far as I know can you not use a "Date Time Picker" on a webform.

You can use the calender, that does work for me fine.

When you message to one of this newsgroup and you tell about code, tell than what programlanguage you are using, events are set different with every
language using Vs.net

I hope this helps?

Cor
It's that I'm trying to say. It don't put any definition automatically.

And
I don't know how to define manually, because I don'nt know the classes

that
DateTime Pivker control is inserted.
Do you know????


Nov 18 '05 #6
Cor
Hi Ruca,

It is computing, I am never totaly sure only for 99%

I never used the calender, but what I saw it is almost the same as the
datetimepicker.

I asume that there is no time option in it :-) and it looks not that nice.

I hope this helps?

Cor
Nov 18 '05 #7

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

Similar topics

1
1688
by: Colin Joss | last post by:
Sorry folks, being a bit dense here. I need a DateTime Picker for a PDA application I'm building. Couldn't see one in the standard tools so search Microsoft. Found one. Downloaded it. Now what? How do I get the DateTime Picker tool onto my tool bar? tia Colin
1
2109
by: George | last post by:
The DateTime picker is an optional field on my form and it should not contain a default value. Is there a way to do this? I tried setting the Text property to "", but that does not work. Thanks in advance, George
0
1540
by: Ata Ýsmet Özçelik | last post by:
Hi there, I have a problem with the DateTime picker.. I want to use my custom format; for this I can give a string for the format.But My goal is to have the month name in the box in upper case like this when the item is selected : 02 JAN 2004 I know that there is an array called AbbreviatedMonthNames that can be modified. The problem is that array is used only in the CurrentCulture and can be displayed when the DateTime Format is...
0
422
by: Qumer Mumtaz Goraya | last post by:
Hi There is a datatime picker control in one column of my datagrid.When the cell of sepecific column get the focus the datetime picker control appeare It shows the current system date.If once I changed the date then next time when the control appeare in next cell same modified date is displayed. What I wanna do is that date picker must show the current date in the cell the cell is empty. if it already have some value in it then that value...
10
1778
by: Dennis D. | last post by:
Trying to write an itinerary program. Got date and time from date time picker Converted it to date variables to extract the date and the time The form has first a textbox displaying the starting date and time via the picker. The next few text boxes allow user input of hours and minutes for elapsed time of occurring events Each text box subtracts or adds from the previous box to reveal a new date time
3
2048
by: Brian | last post by:
Hello, I have a wierd problem. I have a datetime picker that doesn't seem to want to sinc up its .value and .text proberties. I can step through the code and see that they are different values. I have even tried to use .resetText and recalc the value every time and even that only works half of the time. The funny thing is that if I do a watch and step through the code it seems to work most of the time, but if I just run the code it...
0
1204
by: venky | last post by:
Can anyone tell me what event is triggered when you click on the updown button on datetime picker control? For a datetime control, i want to increment the mins field when user clicks on the updown arrowy button. This is when the control doesn't have focus and then user directly clicks the updown arrow button, i want the mins field to increment for custom format of hh:mm:ss . It increments the hour field.
5
3491
by: Michel Posseth [MCP] | last post by:
Hello we have encountered the following problems with the date time picker control A : datetime picker control gives focus to last entered field when moving back and forward with focus how do we reset this to the first field ? B : datetime picker in DD-MM-YYYY default format ( europe , NL-NL localization ) refuses an entry of 31 on the DD filed cause the month is already chosen to the current mont ( (02) februari wich only has 28...
1
2330
by: sonubaba | last post by:
hello, my question is, in my web application i need datetime picker control in which user can select both date and time from DateTime Picker control i could not find this anywhere on inter net pl give me suggestion and give me datetime picker control and its coding
0
10261
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7460
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.