Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir,
As of am using a asp.net ,i dragged textbox from toolbox.Using ajax i made to visible a calender and i can choose only date from calender,so if i choose a date it get loaded into textbox.

So what i need is if i click a textbox,it should show both the date and time .So that i can choose both.

I got stuck from past two days.
Is there any control in asp.net to choose both date and time .

if no control.Then can you tel me how i can achieve it to choose both date and time

Please do help me.

Thanks
Pradeep CBZ.
Posted

This page contains exactly what you need: this[^]

look at the point 2.
 
Share this answer
 
Comments
Pradeep CBZ 9-Apr-12 7:42am    
hello sir,
Is this applicable for textbox,i mean for normal textbox control...
I just now checked for the your link ,same thing i did..it is working now.

But thing is i want it for textbox the same thing to be happen..because if i drag and drop a textbox,then in properties i will get id as "textbox".

But here,for this control no id is mentioned here..because i want to make it invisible in ON_LOad the textbox.So i need a textbox..

So is it java script supports with Asp.net.

Thanks
Pradeep CBZ
Composite Date & Time Control[^]

hope this will help full to you




Happy coding :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900