Skip to content

Commit 068a826

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 6116228 commit 068a826

File tree

7 files changed

+87
-5
lines changed

7 files changed

+87
-5
lines changed

docs-aspnet/backwards-compatibility/2020-backwards-compatibility.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ As of the Kendo UI R2 2020 release, the {{ site.product }} TextBox is a componen
127127
.HtmlAttributes(new { @Value = String.Format("{0:C}", 2500) })
128128
)
129129
```
130+
131+
You can also check:
132+
133+
[jQuery version support](https://docs.telerik.com/kendo-ui/intro/supporting/jquery-support)

docs-aspnet/html-helpers/data-management/grid/editing/inline.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ When editing is performed, server validation is often needed. This section demon
268268
}
269269
}
270270
</script>
271+
272+
## Runnable Samples
273+
274+
To check and download runnable samples demonstrating Inline editing, you can go to these resources:
275+
276+
* [Inline Editing Demo](https://demos.telerik.com/{{ site.platform }}/grid/editing-inline)
277+
* [Inline Editing Sample](https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/grid-inline-editing-with-nullable-boolean)
271278

272279
## See Also
273280

docs-aspnet/html-helpers/data-management/grid/how-to/editing/apply-dates-that-ignore-timezones.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Use the property of the model that should ignore the timezone. Set the value of
2828
}
2929
```
3030

31+
What the code does in reality is to convert a standard DateTime value coming through `value.Ticks` and make it in UTC format using the `DateTimeKind.Utc` configuration parameter.
32+
3133
To see the example, refer to the project on how to [apply dates that ignore timezones when working with the Kendo UI Grid](https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/date-ignoring-timezones) in ASP.NET MVC applications.
3234

3335
## See Also
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Overview
3+
page_title: REPL Overview
4+
description: Explore the Telerik REPL server playground tool and use it to write razor/C# code in the browser, run the code, and then share it.
5+
slug: overview_repl_aspnetcore
6+
position: 1
7+
---
8+
9+
## REPL Overview
10+
11+
Telerik [REPL](https://www.telerik.com/aspnet-core-ui) is a server playground tool that allows you to write razor/C# code in the browser, see the result, and share your code. It is integrated with the [Telerik UI for ASP.NET Core demos](https://demos.telerik.com/aspnet-core/), which lets you modify a demo and immediately see the effect of your changes.
12+
13+
Telerik REPL saves you time - it requires no setup and has no prerequisites. You can use it to test various simple scenarios or scenarios of medium complexity. REPL is particularly useful when you need to quickly test something in your browser, for example:
14+
15+
* Run the Telerik demos and then make changes to them by adding and executing your custom logic.
16+
* Create a demo and share it with your team — this enables easier collaboration and boosts your productivity.
17+
* Evaluate ASP.NET Core in general and Telerik UI for ASP.NET Core in particular — you can quickly decide whether Telerik UI for ASP.NET Core matches your requirements without unnecessary and time-consuming setups.
18+
19+
## Features
20+
21+
* Write, run, and save examples in REPL.
22+
* Share links to the examples that you save in REPL.
23+
* Edit the existing Telerik UI for ASP.NET Core demos — REPL is integrated with the demos and allows you to open and edit them. The models used in the demos are included and you can use them to bind the components to data.
24+
* Choose a theme that will be applied to the Telerik UI for ASP.NET Core components used in your example.
25+
* Share the created example as a link on a social media (Twitter, Facebook).
26+
27+
## Using REPL
28+
29+
Using REPL is simple and creating an example requires just a few steps.
30+
31+
1. Run an existing UI for ASP.NET Core demo in REPL, or start from scratch and add your code in the left pane.
32+
1. If you are using UI for ASP.NET Core components, select the desired theme from the theme selection dropdown.
33+
1. Click the **Run** button to run the example. The result will be displayed in the right pane.
34+
1. Click the **Save** button to generate a link to the example you created. You can copy the generated url and share it.
35+
36+
REPL uses the predefined models and controllers available in the Telerik UI for ASP.NET Core demos. If you need to test a local binding scenario with your own data, you can use the approach demonstrated in the example below.
37+
38+
@{
39+
var attendees = new List<SelectListItem>
40+
{
41+
new SelectListItem(){ Value = "1", Text = "Steven White" },
42+
new SelectListItem(){ Value = "2", Text = "Nancy King" },
43+
new SelectListItem(){ Value = "3", Text = "Nancy Davolio" },
44+
new SelectListItem(){ Value = "4", Text = "Michael Leverling" },
45+
new SelectListItem(){ Value = "5", Text = "Andrew Callahan" },
46+
new SelectListItem(){ Value = "6", Text = "Michael Suyama" },
47+
};
48+
}
49+
50+
@(Html.Kendo().ListBox()
51+
.Name("optional")
52+
.Toolbar(toolbar =>
53+
{
54+
toolbar.Position(ListBoxToolbarPosition.Right);
55+
toolbar.Tools(tools => tools
56+
.MoveUp()
57+
.MoveDown()
58+
.TransferTo()
59+
.TransferFrom()
60+
.TransferAllTo()
61+
.TransferAllFrom()
62+
.Remove()
63+
);
64+
})
65+
.ConnectWith("selected")
66+
.BindTo(attendees)
67+
)
68+
69+
## See Also
70+
71+
* [Getting Started with UI for ASP.NET Core]({% slug gettingstarted_aspnetmvc6_aspnetmvc %})

src/kendo.dialog.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,6 @@
11081108
titlebar: template(
11091109
"<div class='k-window-titlebar k-dialog-titlebar k-hstack'>" +
11101110
"<span class='k-window-title k-dialog-title'>#: title #</span>" +
1111-
"<span class='k-spacer'></span>" +
11121111
"<div class='k-window-actions k-dialog-actions k-hstack'></div>" +
11131112
"</div>"
11141113
),

src/kendo.window.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,6 @@
17991799
titlebar: template(
18001800
"<div class='k-window-titlebar k-hstack'>" +
18011801
"<span class='k-window-title'>#= title #</span>" +
1802-
"<span class='k-spacer'></span>" +
18031802
"<div class='k-window-actions k-hstack'></div>" +
18041803
"</div>"
18051804
),

tests/dialog/initialization.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939

4040
assert.isOk(wrapper.is(".k-widget.k-window.k-dialog"));
4141
assert.isOk(wrapperChildren.eq(0).is(".k-window-titlebar.k-dialog-titlebar"));
42-
assert.isOk(wrapperChildren.eq(0).children().eq(2).is(".k-window-actions.k-dialog-actions"));
43-
assert.isOk(wrapperChildren.eq(0).children().eq(2).children().eq(0).is(".k-window-action.k-dialog-action.k-dialog-close"));
44-
assert.isOk(wrapperChildren.eq(0).children().eq(2).children().eq(0).children().eq(0).is(".k-icon.k-i-close"));
42+
assert.isOk(wrapperChildren.eq(0).children().eq(1).is(".k-window-actions.k-dialog-actions"));
43+
assert.isOk(wrapperChildren.eq(0).children().eq(1).children().eq(0).is(".k-window-action.k-dialog-action.k-dialog-close"));
44+
assert.isOk(wrapperChildren.eq(0).children().eq(1).children().eq(0).children().eq(0).is(".k-icon.k-i-close"));
4545
assert.isOk(wrapperChildren.eq(1).is(".k-window-content.k-dialog-content"));
4646
assert.equal(wrapper.find(".k-dialog-buttongroup").length, 0);
4747
});

0 commit comments

Comments
 (0)