Open a window when event fires

2 posts, 0 answers
  1. Jean-Marc
    Jean-Marc avatar
    93 posts
    Member since:
    Mar 2011

    Posted 05 Dec 2011 Link to this post

    My scenario:
    aspx containing ascx(1)
    ascx(1) containg ascx(2)

    ascx(2) raise an event. ascx(1) catch it and has to open a radWindow that is own by itself.
    Some values have to be passed to radwindow navigateUrl depending on the selected row grid of ascx(1)

    Is there a way to do it?
    Thank you
  2. Marin Bratanov
    Marin Bratanov avatar
    5244 posts

    Posted 06 Dec 2011 Link to this post

    Hello Jean-Marc,

    I believe that the following sticky thread on opening a RadWindow from the code-behind will be useful in your scenario: Since you already handle the events and have the values you can easily pass construct the URL on the server and inject it into a JavaScritp variable that will instruct the RadWindow which page to open. You may also find useful this article on injecting scripts from the sersver.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top