This is a migrated thread and some comments may be shown as answers.

RadWindow Equivalent?

5 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Don
Top achievements
Rank 1
Don asked on 06 Jan 2017, 02:34 PM
We've been using the ASP Dot Net version of Telerik controls for years and use the RadWindow extensively. Is there an equivalent in Telerik MVC? I need to load an existing ASPX page in a pop up from an MVC view and can't get the JQuery dialog to work. (I know, long story) Thanks.

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Jan 2017, 08:44 AM

Hello Don,

The Telerik MVC Window component provides a way to browse external pages by setting a single LoadContentFrom property. This allows users to browse additional, external content while remaining within your application. Here is an example: http://demos.telerik.com/aspnet-mvc/window/ajax.

Best regards,
Rumen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Don
Top achievements
Rank 1
answered on 09 Jan 2017, 10:19 PM
That will work. (I THINK) Is there an example of loading content into the window dynamically?
0
Don
Top achievements
Rank 1
answered on 10 Jan 2017, 02:18 PM
Another issue I'm having is that the window does not show modal. Is there anything to do other than setting the modal property?
0
Don
Top achievements
Rank 1
answered on 10 Jan 2017, 02:35 PM

I guess I should clarify what I'm trying to do here. I need to load a URL in a modal dialog. Our app is a mixture of ASP Dot Net and MVC. (Don't ask, it's a long story) I am in a view and need to load an ASPX page in the modal dialog. I've tried a couple of other technologies to accomplish this but JQuery keeps getting stepped on and the dialog always loads in-line. I am sort of seeing the same thing with the Kendo control but want to make sure I have this set up correctly. I'm just using a basic window to get things going before I start in on the dynamic load but even this comes up in-line.

Window Definition
    @(Html.Kendo().Window()
    .Name("TaskDetailsWindow")
    .Title("Task Details")
    .Content("loading task details...")
    .Modal(true)
    .Iframe(true))
 
Open the window
        function openTaskDetails(url) {
            $("#TaskDetailsWindow").data("kendoWindow").open();
            return false;
        }
0
Rumen
Telerik team
answered on 11 Jan 2017, 03:40 PM

Hello Don,

The following online resources could help:

http://stackoverflow.com/questions/17281582/how-to-set-loadcontentfrom-kendo-window-in-run-time

https://kirandhappuri.wordpress.com/2014/12/12/kendo-ui-window-a-modal-dialog-with-kendo-grid-mvc-controller-action-partial-view-and-ajax-calls-to-refresh-data/ 

Yes, the window modality is controlled only via Modal(true) setting -> video demo: http://screencast.com/t/ItVyE2opjmrS.

 

Best regards,

Rumen

Telerik by Progress

Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Don
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Don
Top achievements
Rank 1
Share this question
or