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

  • Home
  • SEARCH
  • 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 1104917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:33:03+00:00 2026-05-17T01:33:03+00:00

I need a datepicker widget via ExtJs on my pages that works like this

  • 0

I need a datepicker widget via ExtJs on my pages that works like this.

All I found in ExtJs are
DatePicker and This sample with pickers

The problem is that standart DatePicker looks like just a huge calendar with “today” button. The sample gives picker that looks like i want(textbox field and calendar on demand) but it works in the panel here. I don’t want to create panel just to show one datepicker. This sample match very well – i need startdate and enddate too, but this panel is sux. I just want two separate pickers without any panel.

As I know the idea of standart datepicker is that you create textbox on your page and then you make a ExtJs script where you show datepicker on textbox click or something like this.

I’m not expert in ExtJs could anybody show the sample how to work with dates via ExtJs in Asp Net MVC ?

  • 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-17T01:33:04+00:00Added an answer on May 17, 2026 at 1:33 am

    If you don’t want the Today button in your datepickers you just have to use the showToday config option on the datePicker creation.

    And for the DatePickers not to be inside panels, just don’t use the FormPanel in the example and create the datePickers defining the applyTo config option:

    var startdt = new Ext.form.DateField({
        applyTo: 'tbStartDt', // <-- here you say where it must be rendered
        fieldLabel: 'Start Date',
        name: 'startdt',
        id: 'startdt',
        vtype: 'daterange',
        endDateField: 'enddt', // id of the end date field
        showToday: false
    });
    
    var enddt = new Ext.form.DateField({
        applyTo: 'tbEndDt', // <-- here you say where it must be rendered
        fieldLabel: 'End Date',
        name: 'enddt',
        id: 'enddt',
        vtype: 'daterange',
        startDateField: 'startdt', // id of the start date field
        showToday: false
    });
    

    Then your html page will need to have the 2 inputs with ids: tbStartDt and tbEndDt that we defined above:

    Start Date: <input id="tbStartDt"></input>
    End Date: <input id="tbEndDt"></input>
    

    You can test the example I made in jsfiddle.net/CrfvC/26/.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need a function like: function isGoogleURL(url) { ... } that returns true iff URL
I need a Datepicker for a WPF application. What is considered to be the
I want to filter the selectable dates on a datepicker. I basically need to
Need a function that takes a character as a parameter and returns true if
Need to an expression that returns only things with an I followed by either
I am looking for a sample of a date picker widget (for faster selection
I need a jquery datepicker in 24 hour pattern. mm-dd-yy hh:mm:ss 08-20-2010 14:45:33 I
Pretty much, what the title says. I need to make the GWT DatePicker component
i need some help with this, i'm trying to generate some html with javascript,
I need to limit the jquery ui date picker to only have future Tuesdays

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.