Currently, the only way to nest conventional HTML tag content for the Template Component would be through the following configuration
@(Html.Kendo().Template()
.AddHtml("<div>")
.AddHtml("<p>Test</p>")
.AddHtml("</div>")
)
It would be beneficial if the configuration accepts a delegate overload that would allow transpose the previous configuration to the following
@(Html.Kendo().Template()
.AddHtml(@<text>
<div>
<p>Some Value</p>
</div>
</text>)
)
Currently, the Template component does not expose a delegate overload for the .AddHtml()
API configuration.
The Template component should expose a delegate overload for the .AddHtml()
API configuration.
ComboBox is not serialized correctly when declared in the Template component
The ComboBox is not serialized correctly when declared in the Template component.
The ComboBox should be serialized correctly when declared in the Template component.
The TimeDurationPicker sets the following value: 01 01 01 01
The TimeDurationPicker sets the following value: 01 00 00 00
Starting from 2024.1.130 when the TreeList's Edit mode is configured to be InCell and the user interacts with the caret icon instead of collapsing/expanding appropriately the Component enters edit mode for the first column of the row.
Collapsing and expanding of the TreeList should work correctly upon user interaction.
In a .NET 7 project when TagHelper Grid is configured and RuntimeCompilation is employed, starting from version 2023.2.606 an unhandled exception is thrown.
When run a runtime error occurs
TagHelper Grid should exhibit the same behavior as HtmlHelper ones.
When attributes like Html class are added to the Html element from which the Window widget is initialized these attributes are applied to the Window's .k-window-content element instead of the outermost .k-window. This behavior is inconsistent with other web dev tools like Telerik UI for Blazor and the ThemeBuilder.
Window rendering must be consistent with other Kendo and Telerik suites.
The form is not serialized correctly when declared in the Template component
The Form is not serialized correctly when declared in the Template component.
The Form should be serialized correctly when declared in the Template component.
Regression introduced with 2024.1.130. Likely related to: #7650
Workaround: remove "px" from the width values, e.g.,
width: "80"
The columns ignore their width setting and each column has 1/3 of the Grid's width.
The columns widths are proportionate to the specified width values (as in R3 2023 SP1).
CheckBox is not serialized correctly when declared in the Template component.
The CheckBox is not serialized correctly when declared in the Template component.
The CheckBox should be serialized correctly when declared in the Template component.
### Bug report
When selecting 31 January as a start date, the navigation to the previous months through the calendar does not work.
### Reproduction of the problem
1. Select 31 January (any year) as a start date.
2. Click the navigation arrows to navigate to the previous months. The previous months navigation stops working.
3. Select any other date as a start date - the previous months navigation works as expected.
A Dojo sample for reproduction: https://dojo.telerik.com/ezoGibIm
### Expected/desired behavior
The user must be able to navigate to the previous months when 31 January is selected in the Start field.
### Environment
* **Kendo UI version: 2024.1.130
* **jQuery version: 3.7.0
* **Browser: [all]
Expose additional API configurations for the Grid's ToolBar
As of recent releases, the Kendo UI Grid Toolbar has been substituted with the Kendo UI Toolbar. This change allows users to add the majority ToolBar.items API options apart from the built-in tools.
As noted within the Kendo UI for jQuery API documentation for the Grid's Toolbar:
"Apart from the built-in tools, the Grid fully exposes the ToolBar.items API. This way you can specify any custom tools in the widget using the components available in the ToolBar itself."
The inherited ToolBar.items API options are not available for the server-side Telerik UI Grid for ASP.NET Core and MVC wrappers as well.
It would be beneficial to the customers if the inherited ToolBar.items API options are available for the server-side Telerik UI Grid for ASP.NET Core and MVC wrappers as well.
### Bug report
When the deferred scripts are created, the script source points at the root of the application instead of the application's root directory.
### Reproduction of the problem
Enable the global deferred initialization and call the @(Html.Kendo().DeferredScriptFile()) method.
The rendered script tag is: <script src="/kendo-deferred-scripts-XXXX.js"></script>
But it must be: <script src="/MyWebsite/kendo-deferred-scripts-XXXX.js"></script>
### Solution:
If you add a tilde in the Url.Content(), the generated script file must be located as expected:
public HtmlString DeferredScriptFile(string nonce = "")
{
...
var scriptResult= hasDeferredScritps ? $@"<script src=""{urlHelper.Content("~/kendo-deferred-scripts-" + guid + ".js")}"" {(string.IsNullOrEmpty(nonce) ? "" : "nonce=" + '"' + nonce + '"')}></script>" : "";
var styleResult = hasDeferredStyles ? $@"<link href=""{urlHelper.Content("~/kendo-deferred-styles-" + guid + ".css")}"" {(string.IsNullOrEmpty(nonce) ? "" : "nonce=" + '"' + nonce + '"')} rel=""stylesheet""></link>" : "";
return new HtmlString(scriptResult + System.Environment.NewLine + styleResult);
}
### Environment
* **Telerik UI for ASP.NET Core version: 2023.3.1114
* **Browser:** [all]
ContextMenu with encoded items renders shows a span's Html in the item's text. Possibly related to: #7410
The item that has encoded="true" renders show's the Html of the span element that wraps the text of the item. The span has the k-menu-link-text class.
Only the item text should be visible.
### Bug report
When the dateInput option is enabled and the format contains the "ddd" format specifier, the DateTimePicker does not display the date format correctly. Also, when a date is selected, the formatting contains "undefined".
### Reproduction of the problem
1. Define a DateTimePicker with enabled "dateInput" and format equals to "ddd dd/MM/yyyy HH:mm".
2. The format is not correct. When you select a date it is not formatted correctly.
The issue occurs when using the DatePicker, as well.
The last working version is 2023.1.425.
Also, when the "dateInput" is disabled, the date format is displayed as expected.
A Dojo sample for reproduction: https://dojo.telerik.com/oxipADUL
### Expected/desired behavior
The date format must be "day of the week day/month/year hours:minutes" (for example, "Wed 24/01/2024 01:00").
### Environment
* **Kendo UI version: 2023.3.1114
* **jQuery version: 3.7.0
* **Browser: [all]
In the NumericTextBox when its options are reconfigured with the setOptions method and the max
property is set to be larger than the value of the widget the number in the k-inner-input gets hidden until the input gets focused.
Change Decimal
buttonThe value within the input disappears until the inputs is refocused by the user.
The value shouldn't change, if it is larger that the one configured in the max
property.
Similar to #5759. The issue is reproducible with mobile mode and vertical grouping enabled.
Dojo example: https://dojo.telerik.com/enaNotaZ/2
Misalignment between the group cells (e.g., Bob) and the day cells.
Properly aligned cells.
DropDownTree TagHelper throws error when the BindTo configuration is set.
bind-to
TagHelper attribute.Setting the bind-to TagHelper attribute produces the following error
One or more errors occurred. (Object reference not set to an instance of an object.)
Setting the bind-to should not produce a run-time error.
### Bug report
When defining the ScrollView items within the component declaration, the images are not visible.
### Reproduction of the problem
Define the ScrollView TagHelper as per the example below:
<kendo-scrollview name="scrollview_TGH" content-height="100%" style="position: relative; top: 46px; height:640px; width:100vw; max-width: 100%;">
<items>
<scrollview-item>
<content>
<div class='photo photo1'></div>
</content>
</scrollview-item>
<scrollview-item>
<content>
<div class='photo photo2'></div>
</content>
</scrollview-item>
</items>
</kendo-scrollview>
<style>
.photo {
display: inline-block;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
width: inherit;
height: inherit;
}
.photo1 {
background-image: url('@Url.Content("~/images/1.jpg" )');
}
.photo2 {
background-image: url('@Url.Content("~/images/2.jpg")');
}
</style>
The items images are not visible. When the HtmlHelper version of the same configuration, the images are displayed as expected.
A REPL sample for reproduction: https://netcorerepl.telerik.com/mdPcGmuj12N3fqDI31
Possibly related to commit 04b2d4244e2fc0525e3766c56869fb1ede374ed7
### Expected/desired behavior
The images must be displayed.
### Environment
* **Telerik UI for ASP.NET Core version: 2023.2.829
* **jQuery version: 3.7.0
* **Browser: [all]