RadWindow Equivalent?

6 posts, 0 answers
  1. Don
    Don avatar
    44 posts
    Member since:
    Apr 2009

    Posted 06 Jan Link to this post

    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.
  2. Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 09 Jan Link to this post

    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.
  3. Don
    Don avatar
    44 posts
    Member since:
    Apr 2009

    Posted 09 Jan Link to this post

    That will work. (I THINK) Is there an example of loading content into the window dynamically?
  4. Don
    Don avatar
    44 posts
    Member since:
    Apr 2009

    Posted 10 Jan Link to this post

    Another issue I'm having is that the window does not show modal. Is there anything to do other than setting the modal property?
  5. Don
    Don avatar
    44 posts
    Member since:
    Apr 2009

    Posted 10 Jan Link to this post

    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;
            }
  6. Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 11 Jan Link to this post

    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 the .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.
Back to Top