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

Control to host another app in this app

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
License
Top achievements
Rank 1
License asked on 18 Mar 2021, 06:20 PM
Hi - we'd like to host one of our webapps in another app.  ie. in app1, we'd like to if possible have a menu option, window, whatever, that opens up access to our other internal webapp.  We're thinking something similar to iframes but are wondering if there is a browser control or something similar in Telerik's arsenal that we could use for this.  If we could pass in a particular URL to go to then even better.  Essentially, we want multiple webapps to appear as if they are the same app to the users.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Mar 2021, 10:57 AM

Hi,

Our Window component may load a URL by setting LoadContentFrom with string URL. And its Iframe property controls whether iframe will be rendered or not. This is a sample configuration with iframe, loading our Kendo UI demos inside the MVC Window demo:

@(Html.Kendo().Window()
    .Name("window")
    .Title("Rams's Ten Principles of Good Design")
    .Content("loading user info...")
    .LoadContentFrom("http://localhost/kendo-ui")
    //.LoadContentFrom("AjaxContent", "Window")
    .Draggable()
    .Iframe(true)
    .Events(ev => ev.Close("onClose"))
    .Resizable()
)

 

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions
Asked by
License
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or