Solved

Set one DatePicker value = another DatePicker value

Posted on 2013-06-20
4
258 Views
Last Modified: 2013-06-20
I have an asp.net page with 2 DatePickers.  
I would like for javascript to be fired when the user selects a date for DatePicker_1 to set that same date in DatePicker_2.

How can this be done?  Many thanks in advance.
0
Comment
Question by:H-SC
  • 2
  • 2
4 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 39263146
0
 
LVL 1

Author Comment

by:H-SC
ID: 39263545
leakim971,

Many thanks...How would I put it into something like this:

  <script type="text/javascript">
                    function SetDate() {
                     
                     
}
</script>
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 39263554
0
 
LVL 1

Author Comment

by:H-SC
ID: 39263639
I must be doing something wrong.  I am using a telerik:RadDatePicker, which has a clientevent hook called ondateselected, but is not working
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with removing item from Session Array 3 24
JavaScript let vs var 5 27
Else condition 9 19
Hide cell in a table 2 15
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question