My team and I work on science-related applications often dealing with very small numbers, like 0.0000000000456. We actually have calculated values stored with over 300 digits to the right of the decimal (one of our current values is 1.70747723470817E-307), so we store them in our databases in Scientific Notation.
We have begun using the Kendo UI NumericTextBox with ASP.NET MVC throughout our applications, and we would like to provide our users with the ability to input values in Scientific Notation; for example, allow a user to type 7e-17 instead of having to type 0.00000000000000007. We use the kendo.toString() functionality to display values in Scientific Notation, but we need to allow our users to input values using Scientific Notation.
Is there any way we can accomplish this with the Kendo UI NumericTextBox? If not, could this feature be added?
Thank you for your assistance,
we have a hard time controlling the cells "Enable" attribute in a data binding scenario, because it really depends on the data, e.g. the complete Row must be read only (Enable = false) when Cell "Completed" is marked with true.
I mark this as "Feature request" because I think there is no such functionality, but I'd need some dynamic expression here, you could reuse the validation expressions, e.g.:
enable: "NOT(ISERROR(FIND(\"true\", B3)))"
As an alternative/workaround, maybe we can reuse validation / reject, so instead of making the cell non-editable, leave it editable but reject any kind of change, this is just a thought and I feel like there is no easy way to do it like this either.
You might wonder how we apply validation or enabled/disabled cells in data binding scenario; We basically run post processes after data binding, so because I think there is no other way doing it.
I'm using drawing.drawDOM to create a PDF. I have to make a table of contents in the beginning of the PDF. I've got two issues:
- How do I link to another section of the PDF? <a href="#conclusion">Conclusion</a> and then later <a name="conclusion"></a> doesn't seem to work :-/
- How do I figure out on which page a specific part of the document is being rendered? In my TOC I would like to say "Conclusion....page 22".
I'm really loving the new MultiViewCalendar control. It really fits our needs.
The only thing I'm missing is to select weeks. There is a setting to show the week numbers, but you can't select it. Is this at all possible or planned for future releases?
Can I show the weeks in the DateRangePicker control, too?
When working with a dynamically setup of the tabstrip, and hiding/showing tabs according to the data entered in a form, I use jquery scripts to do the logical setup.
Each tab is referenced in the script by their array position:
var tbs = $("#tabstripDetail").data("kendoTabStrip");
For some functions I move/duplicate field from models according to the different customers needs, and to avoid several fields on the form with the same id/name I remove tabs from the collection.
By doing this the array of tabs are changed, and I have to keep track of which array number each tab has compared to the initial number.
My suggestion is that each tab could be named so that it is possible to keep references of the tabs by logical names and avoid array numbers.
This functionality will simplify working with show, hide, remove, select of single tabs.
JWT Token authentication has become very popular and one of the main tools to provide authorization and authentication.
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. In authentication, when the user successfully logs in using their credentials, a JSON Web Token will be returned.
Whenever the user wants to access a protected route or resource, the user agent should send the JWT, typically in the Authorization header using the Bearer schema. This can be, in certain cases, a stateless authorization mechanism. The server's protected routes will check for a valid JWT in the
Authorization header, and if it's present, the user will be allowed to access protected resources. If the JWT contains the necessary data, the need to query the database for certain operations may be reduced, though this may not always be the case.
It would be really helpful to have a built in functionaly ".Authorization(token)" that adds an authorization header to all the requests made by the grid.
I noticed that the date format from my current kendo culture (fr-FR) is not applied properly for Weeks and Days units on xAxis labels of a chart with date axis.
I had to set the property DateFormats for Weeks and Days of my XAxis Labels to force the format (other units work fine) :
@(Html.Kendo.Chart(Of Models.DataViewModel). Name("chart"). Title(typeMesure.GetDescription()). DataSource(Sub(dataSource) dataSource.Read(Sub(read) read.Type(HttpVerbs.Get).Action("GetData","Data")) End Sub). Sort(Sub(sort) sort.Add(Function(m) m.Dt).Ascending()) End Sub). Series(Sub(series) series. ScatterLine(Function(m) m.Dt, Function(m) m.Value). Markers(False). MissingValues(ChartScatterLineMissingValues.Gap). Color("#cb1d39"). Tooltip(Sub(tooltip) tooltip.Visible(True). Template("Date : #= kendo.toString(value.x, 'dd/MM/yyyy HH:mm') # <br/>Valeur : #= kendo.toString(value.y, 'n3') #") End Sub)). XAxis(Sub(xAxis) xAxis.Date(). Min(Model.DateDebut). Max(Model.DateFin). Labels(Sub(labels) labels.DateFormats(Sub(dateFormats) dateFormats.Weeks("dd/MM").Days("dd/MM")))). Panes(Sub(panes) panes.Add().Clip(False)). Pannable(True). Zoomable(Sub(zoomable) zoomable.Mousewheel(Sub(mousewheel) mousewheel.Lock(ChartAxisLock.Y)). Selection(Sub(selection) selection.Lock(ChartAxisLock.Y)) End Sub))
Could you please fix this issue in a future version ?
Thanks and regards.
This is in reference to the following forum post:
For consistency in the MVC product, it would be a good idea to expose built-in events such as the "change" event for the generic Html.Kendo().TextBox helper. This is provided for other controls like the DateTimePicker and even NumericTextBox (https://demos.telerik.com/aspnet-mvc/numerictextbox/events) but not for TextBox.
As mentioned in my post, this is not an insurmountable problem. I can do what I need by diving "down" into jQuery, but it would be nice to be consistent.
In our project, there's a newly revamped application and Kendo UI has been used for first time.
The Home page of our application has a bar graph and a donut graph.
I am from Test Automation team and run OpenTest-Selenium tests on Chrome and IE browsers.
The problem described below applies to both, so to keep it simple I will describe for only the bar graph.
Reference isolated application:
Problem Description Title: UI based automated tests run on Chrome succeed, but fail on IE for Kendo Bar Chart
Troubleshooting performed: In both browsers, we looked for the click event using the Browser Inspector
Observation: The click event is present in Chrome, but not in IE
I found an article in your site:
Is this the reason that you've no exposed this event specifically in IE?
(My understanding from this is that the Click event can be exposed, but is currently not done in the interest of performance).
Could you share any data on what is the slowness with how much data, so I could share it with our Dev team.
Because the number of bars in our application is only 4 (always) and volume of data gets reflected in the height of the bars.
Currently, when an event that is grouped by multiple resources is dragged, it automatically updates the selected resource data with the one that corresponds to the drop target.
The more appropriate behavior would be to be to automatically preposition the event for the rest of the selected resources.
When you export a sheet to Excel the Sheet is export as not-protected. If there are cells that are locked then the user can edit them. It would be really useful if you could specify tha a sheet were protected and when the sheet is exported it would be protected with a password.
Currently telerik MVC grid with DateTime column render datetime in local time zone. Nothing but if browser is accessing the site from CST time zone, grid automatically converting EST time to CST and shows value in CST. We have seen workaround as saving and showing data in UTC format. However this is not acceptable for some business scenarios. It’s better to have option to enforce grid to render date time as is input data. So that it will show consistent date time irrespective of local time zone.
Support for NullDisplayText property of the DisplayFormat metadata attribute.
When a user types 7/8/201x into a DatePicker, 7/8/201 is what ends up getting sent to the server. I believe an important function of a date-type-specific control or widget is to prevent the entry of bad data. The picker should not allow the entry of any string that is not a valid date or is outside of the Min-Max range (if specified). In fact, properly formatted dates typed into the textbox seem to ignore the Min-Max range. No user entering a date of birth is going to use the month selectors. He or she will type the date into the textbox. The datepicker, out of the box, should not allow the entry of invalid or out of range dates. The developer should not need to write a custom validator for behavior that virtually everyone would want.
Currently when a grid is bound to a model with related objects and properties via JSON, the grid will only parse the top level object types and treat and related properties as generic objects hence dates are not dates anymore, etc. Please consider having the grids parse related object properties and data types so there isn't a need for flattened ViewModels in order to properly visualize related data and be able to filter and sort it correctly.