New
Last Updated: 12 Feb 2019 08:37 by ADMIN
Anders Mad.
Created on: 29 Jan 2019 15:08
Category: Kendo UI for jQuery
Type: Feature Request
1
Point DateRangePicker to existing inputs
Like the DatePicker - let the DateRangePicker use pre-existing inputs instead of it creating the input markup it itself. Via options or just use the 2 inputs inside a container as the code does right now (`that._endInput = that.wrapper.find('input').eq(1);`).
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
3 comments
ADMIN
Viktor Tachev
Posted on: 12 Feb 2019 08:37
Hi Anders,

We are planning on improving the DateRangePicker. The behavior would probably be similar to this: when there are two inputs in a container with the relevant attributes added to them a DateRangePicker will be initialized using these inputs. 

The status of this request will be updated according to the development status. Thank you for the request and the additional description of the scenario.

Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Anders Mad.
Posted on: 05 Feb 2019 11:12

Hi,

Its for when you e.g. have a server control(s) with its server validation etc. - then you want to use Kendo on top of that. In the suggested way one would have to move all/some attributes from one input to another and delete the old one (slow, flickering and dirty). Or in other words: Just like most other Kendo controls works - like the current Date*Picker can use existing control(s). Can be done with a single line or two (are there two inputs in target ? use them : create em).

/Anders

ADMIN
Viktor Tachev
Posted on: 05 Feb 2019 10:49
Hi,

Thank you for the feedback. 

If you would like to use the described initialization for setting specific attributes to the input elements I can suggest using jQuery to get reference of the respective input element and add the relevant attributes to it with the attr() method.


Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.