I am restoring the filter for a Kendo Grid in a Controller from a stored filter string. When there is an exponential (e.g. 1e-9) as a value, FilterDescriptoractory.Create() throws an exception "Expected RightParenthesis". Looking at the filter string it seems to have the correct number of parentheses.
On some occasions exponentials work but I can not determine under which. Under which conditions will exponentials work in filters?
var filterString = "ShipName~eq~'ShipName1'~and~(Freight~eq~0~or~Freight~gte~1e-9)~and~ShipCity~gt~0";
var filters = FilterDescriptorFactory.Create(filterString);
I have a "Timeline Month" view in my kendo scheduler and I would like to make the columns sortable like it is with the Grid component.
We need functionality like this: When the user presses for the first time on the header of a column to sort the table ascending, second time descending and third time to remove the sort.
Check attached picture - if I press on the "January 12" header I expect to reorder the rows in the ascending order of the event name: Abwesend, Geplant, Home Office.
This is in regards to my previous ticket #1426737. Your suggested solution did not work on closer look. The problem is that the event is turned off completely instead of only for a specific event.
Let me give you a practical example: I have a separate filter for the scheduler that allows me to look at the events for a specific resource. If someone else on a different computer now adds an event that is assigned to a different resource, it still shows up on my calendar. I want to suppress that event if it doesn't match the resource I selected in the filter. Using the taskHub.off('create') turns off the 'create' event completely (at least until the user refreshes the page). That way, new tasks added by someone for the selected resource won't show up.
I would like to subscribe to the events like this:
taskHub.client.update = onScheduleUpdate;
taskHub.client.create = onScheduleCreate;
And then in the function check if the filter applies to the task and if not, suppress it. I tried the 'preventDefault' method, but that also turns off the event completely.
if(e.AssignedResource != filter.AssignedResource)
e.preventDefault(); -- does not work, turns off this event completely
This is not an untypical requirement for a calendar, especially if there are hundreds of tasks and filtering is the only option to organize them in a legible way.
There has to be a way to achieve this, but I have spent already way too much time on this. I need your help.
In the grouping demo for MultiColumnComboBox (https://demos.telerik.com/aspnet-mvc/multicolumncombobox/grouping), the first group 'Argentina' is not displayed as a black label on the right. This is inconsistent with the way other groups are displayed.
This can pose a usability issue for example when there are only two groups. The second group has a black label on the right, but the first group does not.
To be consistent, the first group should also display as a black label on the right.
I am facing one issue in kendo spreadsheet onchange event.
Suppose I have applied formula on one cell A1 and formula is =SUM(B1:B3)
Now one change of values in B1 to B3 on change event gets fired but whenever cell A1 values gets updated i.e. on entering value in B1 to B2, on change event doesn’t get fired.
How can I make onchange event fire for formula cell.
We are looking for functionality of Context Menu on Columns of Kendo MVC grid.
We want various column selection on grid header.
Please help us to get this feature.
i.e. social security: XXX-XX-1234
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,
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.
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.