Telerik Forums
Kendo UI for jQuery Forum
1 answer
21 views

Can't I change Numerictextbox to kendoTextBox?

Can I change Numerictextbox to kendoTextBox format with special coding?

Please change numerictextbox in the url below to kendoTextBox.

 

https://dojo.telerik.com/uLIzaDag

Please enter coding in the area below /* start code */

It may be very easy or it may be very difficult.

Please make it a success. thank you.

 

Martin
Telerik team
 answered on 07 Feb 2024
1 answer
776 views

Hi,

I upgraded my project from 2022.1.301 to 2022.2.621 and my text inputs lost there styling.

This markup worked fine with version 2022.1.301

<input type="text" id="gebruikersnaam" name="gebruikersnaam" class="k-textbox k-input" />

With the latest version it looks like the second input from above snippet.

It displays fine when i add the css class "k-input-solid":

<input type="text" id="gebruikersnaam" name="gebruikersnaam" class="k-textbox k-input k-input-solid" />

 

Do i have to update all my markup , or is this a bug?

Kind Regards,

Marco

 

 

 

 

 

 

 

 

Marco
Top achievements
Rank 1
Iron
 answered on 11 Jan 2024
1 answer
95 views

This has been asked before here: https://www.telerik.com/forums/kendo-validator---focus-on-first-invalid-field

However, the given solution does not work with a kendoTextBox. 

If you use the example given in the previous post (http://dojo.telerik.com/ukoLUJ/4?_ga=2.193348590.2100086651.1638809904-402941789.1637689930) and replace the inputs with kendoTextBoxes and update the libraries to the latest version, they will not gain focus when invalid.

Any help would be appreciated, thanks,

Kevin

Martin
Telerik team
 answered on 09 Dec 2021
1 answer
312 views
 

I use Kendo UI for build my single page web application. My application will add a tab when user click some menu if this menu will not in a tab list. I have a problem with my application when i use app in a period of time, the app gradually slow and slower. I found the reason is because when i add a new tab (with some kendoUI widget), the document will create some sub element in the end of document and i close the tab the widget in tab removed but the sub element will alive so the size of document increase by time used. 

Example 1 sub element:

<div class="k-list-container k-popup k-group k-reset" id="pfe6ef2c-9926-45e3-ac6d-8dcb5bb0855b-list" data-role="popup" style="display: none; position: absolute;" aria-hidden="true"><div class="k-group-header" style="display:none"></div><div class="k-list-scroller" unselectable="on"><ul unselectable="on" class="k-list k-reset" tabindex="-1" aria-hidden="true" id="pfe6ef2c-9926-45e3-ac6d-8dcb5bb0855b_listbox" aria-live="off" data-role="staticlist" role="listbox"><li tabindex="-1" role="option" unselectable="on" class="k-item k-state-focused" aria-selected="false" data-offset-index="0" id="dd8303f9-e1d7-4a3a-8e57-fb1478a5d9e0">20</li><li tabindex="-1" role="option" unselectable="on" class="k-item" aria-selected="false" data-offset-index="1">35</li><li tabindex="-1" role="option" unselectable="on" class="k-item" aria-selected="false" data-offset-index="2">50</li><li tabindex="-1" role="option" unselectable="on" class="k-item" aria-selected="false" data-offset-index="3">100</li></ul></div><div class="k-nodata" style="display:none"><div>No data found.</div></div></div>

Is there any solution to when remove the widget from document, the sub element removed too?

Nencho
Telerik team
 answered on 19 Oct 2021
1 answer
121 views

How can I extend this view with more fields?

Martin
Telerik team
 answered on 28 Jun 2021
1 answer
262 views

Hi Telerik Team,

I'm using k-textbox for filtering rows in a grid.

We used custom filter when type in the filter textbox we make a server call to bind also when I click outside of the textbox on the grid page again the transport.Read event gets called when it lost focus.

Is there a way to prevent this ?

Thanks for your answer.

Regards,

Senthilkumar

Georgi Denchev
Telerik team
 answered on 21 Jun 2021
3 answers
1.3K+ views

Hello

How to add a clearButton to the kendoTextBox control ? Same as in Autocomplete ...

Thanks.

Mihaela
Telerik team
 answered on 01 Mar 2021
5 answers
2.6K+ views

It seems that your TextBox control/widget only has the change event handler, so I would like to know how to (natively) extend the TextBox widget adding identical functionality for eg. keyup, keydown etc.

The pattern I'm asking about is this:

kendo.ui.TextBox.extend({ ?? })

So that I can use the event handler in both initialization and after:

$("#myTextBox").kendoTextBox({
    label: "Name",
    value: "Hello World!",
    change: function() { alert("Changed!"); },
    keyup: function() { alert("KeyUp!"); },
});

- AND -

$("#myTextBox").data("kendoTextBox").bind("keyup", function(e) { alert("KeyUp!"); });

I know that I could simply do something like below, but I need to be able to do it on initialization - and I don't think it is as clean as extending the generic way.

$("#myTextBox").bind("keyup", function(e) { alert("KeyUp!"); })

Georgi Denchev
Telerik team
 answered on 26 Jan 2021
1 answer
1.0K+ views

Hello, 

 

Is it possible to add a textbox dinamically, by clicking a button?

I have the following code, and I need to add a textbox, just like the one I already have when click the "Add Button"

 

01.<!DOCTYPE html>
02.<html>
03.<head>
04.    <meta charset="utf-8"/>
05.    <title>Kendo UI Snippet</title>
06. 
08. 
09.    <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
12.</head>
13.<body>
14.   
15.    <div>
16.      <input id="textbox" style="width: 100%;" />
17.      <input type="button" id="add" value="Add TextBox" class="k-button"/>
18.    </div>
19.    <script>             
20.                $(document).ready(function () {
21.           $("#textbox").kendoTextBox({
22.               placeholder: "email@email.com.br",
23.                label: {
24.                    content: "Email",
25.                    floating: true
26.                }
27.             });
28.          })
29.    </script>
30.</body>
31.</html>

Stoyan
Telerik team
 answered on 05 Nov 2020
2 answers
89 views

Hi, I have a question for kendo textbox widget label. I would like to use label like value methods. However; labels are given only configuration. Are there any method that is working like value methods.

 

var textbox = $("#textbox").data("kendoTextBox");

textbox.value("VALUE"); // this is a example I want.

 

 

Thanks for helping.

Enes
Top achievements
Rank 1
 answered on 31 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?