Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7682159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:30:13+00:00 2026-05-31T18:30:13+00:00

I have a start date and end date field. Both has seperate ajax calender

  • 0

I have a start date and end date field. Both has seperate ajax calender extenders. Once we click on the end date calender control after selecting the start date one, I would like to show the same month corresponding to the start date in the end date calendar. How can we do that. I have tried adding javascript function onClientShown event of calender extender; but didnt work out.

The basic idea is that the user will be any ways selecting a date greater than start date in the endate text box.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:30:14+00:00Added an answer on May 31, 2026 at 6:30 pm

    Just used a js-debugger to see what properties and functions a CalendarExtender has on clientside. Two interesting things found, the OnClientShown event and the set_visibleDate function:

    <script type="text/javascript">
        function ApplyStartMonth(sender, args) {
            var calendarStart = $find('CalendarExtender1');
            sender.set_visibleDate(calendarStart._selectedDate);
            // the following is not needed here but good to know that they exist
            //sender.set_todaysDate(calendarStart._selectedDate);
            //sender.set_selectedDate(calendarStart._selectedDate);
        }
    </script>
    
    <asp:TextBox ID="TxtStart" runat="server" Text="22.03.2012"></asp:TextBox>
    <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd.MM.yyyy" TargetControlID="TxtStart" /><br />
    <asp:TextBox ID="TxtEnd" runat="server"></asp:TextBox>
    <cc1:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd.MM.yyyy" 
       OnClientShown="ApplyStartMonth" TargetControlID="TxtEnd" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two Ajax Toolkit calendar extenders. One of them is a start date
I have a start date and end date field in a form. I have
I have start date and end date. I need to find out the day
I'm using the jQuery datepicker where I have two textboxes (start date / end
In MySQL, If I have a list of date ranges (range-start and range-end). e.g.
I have a Note object, which has a start_date field (date, required) and an
I have a deals table, with a field start date in the controller i
I have 2 sets of input boxes: 1) Start Date I and End Date
I have 2 independent but contiguous date ranges. The first range is the start
I have a table of data. I have a field which shows date. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.