Can a RadWindow be idsabled/hidden if necessary

2 posts, 0 answers
  1. Dan
    Dan avatar
    25 posts
    Member since:
    May 2008

    Posted 12 Feb 2010 Link to this post

    Hi:

    We have a RadWindow in our application that does some very sophisticated logic in the code behind. Generally we need to use the RadWindow to obtain certain preliminary information before we can invoke this logic.

    But now we've come up with a situation where we want to invoke the logic directly without actually showing the RadWindow. The logic will ultimately open yet another window (to display a Word document) and, in this situation, the 'Word Document' window is the only window that we want to see.

    Is there a way to do this using the code in the Radwindow code-behind?

    Thanks for your suggestions.  
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 17 Feb 2010 Link to this post

    Hi Dan,

    Basically, you can hide a RadWindow by referencing its client object and calling its method close(). This should be done by using script and since you need to do it from the server you can execute the script from there as explained in the article below:

    http://blogs.telerik.com/blogs/posts/09-05-05/executing_javascript_function_from_server-side_code.aspx


    All the best,
    Svetlina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top