Hi,
Following is the code
<form id="Form1" runat="server">
<div id="ContentDiv">
<% Html.Kendo().Window()
.Name("ContactUsWindow")
.Title("Contact Us.")
.Draggable(false)
.Resizable(resizing => resizing
.MinHeight(300)
.MinWidth(300)
.MaxHeight(500)
.MaxWidth(500)
)
.Actions(actions => actions.Close())
.Content(() =>
{%>
<p>This is window Demo</p>
<%})
.Width(300)
.Height(300)
.Render();
%>
</div>
<% Html.Telerik().ScriptRegistrar()
.OnDocumentReady(() => {%>
var windowElement = $('#ContactUsWindow');
var undoButton = $('#undo');
undoButton
.bind('click', function(e) {
windowElement.data('tWindow').open();
undoButton.hide();
})
.toggle(!windowElement.is(':visible'));
windowElement.bind('close', function() {
undoButton.show();
});
<%}); %>
<span id="undo" class="t-group">Click here to open the window.</span>
</form>
When I close the window the undo button is not working. Is there something I missed to implement?
Regards,
Yeou
Hello,
I am very new to Kendo UI. Thanks for providing the Demos which are dam good and very useful for the beginners.
Have an issue with tree view.
Scenario:
I have two tree views.
First tree view contains options to add, delete, reorder the nodes in the second tree view.
Add- appends a node using Append method.
Reorder – Move the selected node up or down using the methods insertAfter and insertBefore
When am adding a node with some selection in the second tree view, it appends the node as the last node to the second tree and selection on the second tree view is retained.
But when I reorder the nodes using the above mentioned methods with some selection on second tree view, the selection was not retained after reordering.
Can anyone help me in retaining the selection .
Thanks,
Harika.
@Html.Kendo().TabStrip().Name("tabstrip").Items(items => { items.Add().Text("Home").Action("Index", "Home"); items.Add().Text("About").Action("About", "Home"); })transition: 'slide'