Ways of passing data to RadWindow

2 posts, 0 answers
  1. Alan T
    Alan T avatar
    125 posts
    Member since:
    Apr 2010

    Posted 06 Oct 2011 Link to this post

    Can someone advise me on what are the best ways to pass data to RadWindows.

    At the moment i'm adding them onto the querystring i'm opening RadWindow with, but its becoming more complex. In this circumstance, i'd like to pass a mySQL query to the radwindow. I don't want to do this in the Querystring because it will get absolutely massive.

    I could add it to a session, and do it that way, but i just want to do the best way. I assume RadWindow cannot access the viewstate of its parent window, if i store it in there?


  2. Marin Bratanov
    Marin Bratanov avatar
    4626 posts

    Posted 07 Oct 2011 Link to this post

    Hello Alan,

    If you need the data in the code-behind this becomes a matter of cross-page communication which is not directly related to the RadWindow. You would have the same issue when opening new tabs/browser windows. Passing information between pages is considered general knowledge and there are different ways to do so, and actually none of them are related to our controls in any way. What I can suggest is that you start from the following google search and see which of the methods advised in the net best fits your needs: http://www.google.com/search?&q=call+method+from+another+page.
    For example:

    If you need the values in JavaScript you can examine the this help article on the matter: Please note that here applies the same domain JavaScript limitation (i.e. your pages must be from the same domain).

    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