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 9181439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:18:51+00:00 2026-06-17T18:18:51+00:00

is there any default way in kendo DatePicker for ensuring (and alerting user accordingly)

  • 0

is there any default way in kendo DatePicker for ensuring (and alerting user accordingly) that To date is always greater than or equal to From date.

  • 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-06-17T18:18:52+00:00Added an answer on June 17, 2026 at 6:18 pm

    There is no default way but there is one example in Kendo UI demos page that might help you. Read here

    Basically given this HTML:

    <div class="demo-section" style="width:470px">
        <label for="start">Start date:</label>
        <input id="start" value="10/10/2011"/>
    
        <label for="end" style="margin-left:3em">End date:</label>
        <input id="end" value="10/10/2012"/>
    </div>
    

    And this DatePicker initialization:

    var start = $("#start").kendoDatePicker({
        change: startChange
    }).data("kendoDatePicker");
    
    var end = $("#end").kendoDatePicker({
        change: endChange
    }).data("kendoDatePicker");
    
    start.max(end.value());
    end.min(start.value());
    

    They suggest the following startChange and endChange functions:

    function startChange() {
        var startDate = start.value();
    
        if (startDate) {
            startDate = new Date(startDate);
            startDate.setDate(startDate.getDate() + 1);
            end.min(startDate);
        }
    }
    
    function endChange() {
        var endDate = end.value();
    
        if (endDate) {
            endDate = new Date(endDate);
            endDate.setDate(endDate.getDate() - 1);
            start.max(endDate);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any possible way to get the icon for the default application that
Is there any way to require that a class have a default (no parameter)
Is there any better way of setting the default apache virtual host other than
author = models.ForeignKey(User) Is there any way I can set the default value of
Is there any way to change the default font (Portable User Interface) used by
Is there any way that can I set default value as Empty.string in Model.
Is there any way in sdk(default) that can handle dual sims? There are many
Is there any way to change default font of controls in winforms. I must
Is there any way to have a default MessageBox.Show() caption? Let says I would
Is there any way to suppress the default js and css loaded by application.html.erb

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.