Opening a Window outside the browser area

12 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 08 Jul 2009 Link to this post

    Hello,
    I'm currently using the RadWindow to open the customer detail and I allow more then one window to be opened at the same time, the application user should compare those window looking at them at the same time, how do I open a window outside the browser area?
    Can I open in a new browser window or via javascript? any example?

    Thanks in advance

    Paolo
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 08 Jul 2009 Link to this post

    Hello Paolo,

    Silverlight is a web-browser plug-in which means that you cannot render any content outside the browser area. If you are willing to use RadWindow outside the browser you should create a Windows application in WPF where RadWindow is also available. Otherwise, there is no way you can open a window outside the browser. If you want to open a second page that contains your RadWindow, you should create your logic in another Silverlight application and navigate to it using the HtmlPage.Window.Navigate method. You can also achieve that in a single Silverlight application, but your application should have a Navigation. If you are using the Silverligh 3 plug-in, it has a built-in on, in case you have the Silverlight 2 version you can use our RadNavigation framework.

    All the best,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 08 Jul 2009 Link to this post

    I was afraid of this....

    what you mean with "You can also achieve that in a single Silverlight application, but your application should have a Navigation"??
    With this Navigation can I open outside the browser's space??
    Thanks

    Paolo
  5. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 08 Jul 2009 Link to this post

    Hello Paolo,

    No, you cannot open anything part of the Silverlight application outside the browser. You can however open your RadWindow in another tab part of the browser that displays a single window for example. In order to achieve that you either have to implement a RadWindow that is the starting point of your application(other than your initial application) or create Navigation in which you can, for example, write http://yourwebsite.com/details?order=23. In Silverlight this is achieved by Navigation. I hope this resolves your issues, and will be useful enough for fulfilling your requirements.

    Greetings,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 30 Jul 2009 Link to this post

    Hello,
    I've switched now from SL2 to SL3 ... how can I use the SL3 build-in feature for opening a page without passing from the browser?
    Thanks in advance
    Paolo
  7. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 30 Jul 2009 Link to this post

    Hi Paolo,

    To implement out of browser Silverlight application you should get familiar with several techniques that are well described in Tim Heuer's video about Out Of Browser support in Silverlight. Here is a link to this video, I hope this will resolve your issue.

    Greetings,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 30 Jul 2009 Link to this post

    Hello Hristo,
    I don't want to do an OOB application, when I had the first need of opening a popup XAML page, I was suggested by you to create another application and call it from the xaml main page, you also told me that SL3 does it build-in... with the Tim's tutorial can I only OOB a page??
    Thanks in advance

    Paolo
  9. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 30 Jul 2009 Link to this post

    Hello Paolo,

    What I have explained is that you can use the built-in navigation framework introduced in Silverlight to achieve deep linking. In this way you will be able to open a new browser window that is directed to a specific point in your code as given by the example http://yourwebsite.com/details?order=23. In addition to your request, I am repeating again that there is no way you can open a xaml popup outside the browser area. If you open a Silverlight popup, it will be limited to the scope of the current browser page. Would you explain your case and the reasons why you are willing to achieve this functionality in order to provide you with a straight-forward answer? Thank you for contacting us.

    Regards,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  10. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 30 Jul 2009 Link to this post

    Thanks Hristo for your reply,
    I try to explain you what I need to achive, I've got a grid showing up some information as customer name, how much he spent and when, I need on customer name click to open up a new window and to show some other data. The final user of the application will have more then one window open, to compare customer related detail. Right now I goal this in that way :

    SL Main Application [ Grid] -> on click I call a web page ShowCustomerDetail.aspx that loads another SL Application with the user detail XAML page....this is working but if I've the solution splitted up in two pieces and I'm to mantain alligned the two.... do you think I can open in a new popup window (even in browser, better in a tab) but without having to pass via ShowCustomerDetail page?

    Thanks again

    Paolo
  11. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 31 Jul 2009 Link to this post

    Hello Paolo,

    It depends from the number and size of windows your user is willing to compare. If you have no more than 3-4 windows, and you Silverlight application is occupying the whole browser area the experience which be much better if you use windows in the same application. However, if your Silverlight application doesn't occupy the whole browser area, or at least significant amount of it, you should use a second page that will show the details of your grid.

    By the way, with our Service Pack release which is coming soon, we have extended our RadWindow control to have IsRestricted property that is used to restrict the control to a specific area in the page. I think you can benefit from it as soon as we release our service pack. Thank you for contacting us and feel free to share any other experience you have.

    Best wishes,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  12. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 31 Jul 2009 Link to this post

    Hello Hristo,
    the details I need to show occupies the whole browser area, that's the reason I need to open it in a separate window, allowing the user to read clearly the details, what I don't understand clearly is how I should implement it... right now I use the .aspx page in the middle, can I keep it as it's?

    Thanks

    Paolo
  13. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 31 Jul 2009 Link to this post

    Hi Paolo,

    Yes you can have it like this. We are planning to create an example that will show taskbar functionality of multiple RadWindows which will be perfectly suitable for your case. Unfortunately, I cannot give you an exact time frame in which the example will be part of our Quick Start Framework. I hope this resolves your issue.

    All the best,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
DevCraft banner