Telerik Forums
UI for ASP.NET MVC Forum
0 answers
142 views
I have a grid inside my grid editor template (subgrid). And both grids have popup editing. Right now the subgrids popup window shows as a part of the main grid editor template (right below the subgrid) and it doesn't show the title. How can I show it as a new window?
Valeria
Top achievements
Rank 1
 asked on 17 Jan 2022
0 answers
105 views
Hello,
I'm trying to animate the kendo window, however nothing is happening. The window opens without any animation. Am I missing something in the code?

@(Html.Kendo().Window()
.Name("createProjectDialog")
.Animation(c => c.Open(builder => builder.Zoom(ZoomDirection.In).Duration(AnimationDuration.Slow))
                .Close(builder => builder.Zoom(ZoomDirection.Out).Duration(AnimationDuration.Slow)
           ).Enable(true))
.Title("Create New Project")
.LoadContentFrom("Create""Projects")
.Modal(true)
.Draggable(true)
.Width(650)
.Visible(false))
Heres the script for opening the dialog:

 $("#newProjectbtn").bind("click"function () {
 	$("#createProjectDialog").data().kendoWindow.open();
 });

In the DOM i can see that the window was successfully initialized and the windows options has the enable animation section:
  1. optionsObject
    1. actionsArray[1]
    2. animationObject
      1. closeObject
        1. duration600
        2. effects"zoom:out"
        3. hidetrue
        4. __proto__Object
      2. openObject
        1. duration600
        2. effects"zoom:in"
        3. showtrue

Am I missing something here?
daniel danie
Top achievements
Rank 1
 asked on 28 Nov 2012
0 answers
48 views
hi,
i have an issue about uploading file using kendoWindow.
The content is loaded from a partial view, and since the form contains an input[type=file] element, its 'enctype' attribute should be 'multipart/form-data', so it can't be an ajax form, just be a basic html form. The issue is that when i submit the form, the whole page is replaced with returned content from the handler function in related controller code. How to make the page stayed not replaced & refreshed partly?
thanks for replying.
jimbung
Top achievements
Rank 1
 asked on 27 Oct 2012
0 answers
127 views
Hello,

I have a MVC View that displays raw XML.  The view display properly and I don't have a bug or anything with the Kendo MVC window.  I just don't know how to make the Window display the page from the server, not content or template data on the client-side.  Basically, when I click a button that opens the window, I want it to show a specific URL like:  /MyXmlController/FileID=100.

Is this possible?  Non of the demos show how to do this.  I don't want to use a IFRAME if I don't have to. 

- Rashad
Rashad Rivera
Top achievements
Rank 1
 asked on 16 Sep 2012
0 answers
71 views

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

Yeou
Top achievements
Rank 1
 asked on 14 Sep 2012
0 answers
187 views
Hi, I want to position my window OFF center to the left. So it does not cover up a part of the screen I want the user to see. I am using this to open it. Any ideas on how I can manipulate the positioning? Css? 

.data('tWindow').center().open()
James
Top achievements
Rank 1
 asked on 23 Aug 2012
0 answers
91 views
How to achieve the alert or messagebox  function of.
I Don't   find the alert UI at kendo UI.
Do use the window to achieve 
Zhou
Top achievements
Rank 1
 asked on 11 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?