Telerik Forums
UI for ASP.NET Core Forum
2 answers
306 views

 

Hi there

da-DK is my culture name and I set the globalization correctly.I have a problem with NumericTextBox. My database field value is 4587.25.It is rendering expected in Firefox (4.587,25) and IE, but making a problem in Chrome (empty numeric textbox), I saw a warning in Chrome console.

The specified value "4587,25" is not a valid number.The value must match to the following regular expression:-?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?

How can I fix this chrome behavior? I built a small a project and added some code to generate the problem. Index.cshtml contains a extension method BeginForm2(), inside this method I wrote my code.Download

Thanks

Sabbir

khandokar
Top achievements
Rank 1
 answered on 07 Feb 2018
8 answers
1.3K+ views

Hello,

When I try to bind a NumericTextBox or a CurrencyTextBox to a decimal number, I get in the javascritpt console the following error:
"The specified value "2,5" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?"

The problem seems to be because we use a comma to represent a decimal separator.
I set the culture kendo.culture.es-AR to my layout so the controls should support this.
Can I configure a number format for numeric controls in my proyect to accept a comma for decimal separator?

Thanks.

Stefan
Telerik team
 answered on 07 Feb 2018
2 answers
109 views

Hi,

In WebForms I could avoid changing the html i tags to em (and other tags).

In .net core I don't see a way to accomplish that.

Is it possible?

Thank you

 

Ricardo
Top achievements
Rank 1
 answered on 06 Feb 2018
1 answer
938 views

Does anyone have an example for the kendoDropdownList that uses the MVC Core tag helper, and uses local binding?  The tag helper sample in the demos binds to remote data only.  Thanks!

 

Dimitar
Telerik team
 answered on 06 Feb 2018
7 answers
747 views

Please provide an example of Async file upload in Razor using .net Core. The only examples I can find use the HttpPostedFileBase which is replaced in .net core.

http://demos.telerik.com/aspnet-mvc/upload/async

Please post a how to, or direct me to an appropriate existing document guide on how to implement this in .net core. Is this supported yet? If so where can I find the correct documentation with demos and example code?

Thanks

Nencho
Telerik team
 answered on 02 Feb 2018
1 answer
275 views

I have no issue getting the value from the cell using:

funciton onSelect(arg) {

var cellvalue = arg.range.value();

}

Do you have documentation on how to get the selected column and row index?

Veselin Tsvetanov
Telerik team
 answered on 02 Feb 2018
2 answers
142 views

When mapping a date file as grid column, it's not being transformed into a DatePicker.
This doesn't happen with Edge, Chrome or the latest Firefox, I'm only experiencing this with the ESR version of Firefox.

Example:  

@(Html.Kendo().Grid<HuntingReportModel>()
        .Name("test")
        .Columns(x => x.Bound(y => y.Date))
    .ToolBar(x => x.Create()))

See attachment for the resulting control...

using jquery ui without the wrappers it works.

manually calling .kendoDatePicker helps but it's really just a bad workaround...

Browser: Firefox ESR (52.5.3 & 52.6.0)

Kendo: 2018.1.117


Stefan
Telerik team
 answered on 01 Feb 2018
1 answer
215 views
Please guide me to disable both weekends and holidays in calendar widget
Viktor Tachev
Telerik team
 answered on 31 Jan 2018
1 answer
461 views

Hello!  

I'm using the grid to display some LastUpdateDate which is saved as UTC in the database. I want to display this dates to the user in the local browser time zone in "g" general format based in the user settings. ex: "1/26/2018 14:15 PM". 

 

Date in the database: "2018-01-26 17:15:13.130" UTC

Local time in which the data was saved "2018-01-26 14:15:13" my local time 

What the grid displays: "1/26/2018 5:15 PM" Wrong!

 

Thanks in advance!

Stefan
Telerik team
 answered on 31 Jan 2018
1 answer
198 views

Hi,

I have .net core application and i want use React.js with kendo Core UI, is there any possibility to follow this and please provide any sample

krds

lakmal

 

 

 

Stefan
Telerik team
 answered on 29 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?