Get Window Name On Client

2 posts, 0 answers
  1. Ryan Means
    Ryan Means avatar
    32 posts
    Member since:
    Dec 2006

    Posted 03 Feb 2009 Link to this post

    I am trying to figure out how to get the name of the window on the client from the RadWindow client object?  The get_id() method gets me the client id of the window which contains the name, but I need the name by itself.  I can see that the name is part of the json serialized Telerik.Web.UI.RadWindow object.

    Sys.Application.add_init(function() {
        $create(Telerik.Web.UI.RadWindow, {
    "behaviors":37,"clientCallBackFunction":"OnClientClose","clientStateFieldID":"ctl00_ctlWindowManager_rwClientSearch_ClientState",
    "formID":"aspnetForm","height":"550px","iconUrl":"","left":"","minimizeIconUrl":"","modal":true,"name":"rwClientSearch",
    "navigateUrl":"/WindowHost.aspx?Control=012345","reloadOnShow":true,"showContentDuringLoad":false,"skin":"Gray","title":"Assign to report  version ","top":"","visibleStatusbar":false,"width":"550px"}, null, null, $get("ctl00_ctlWindowManager_rwClientSearch"));
    });
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Feb 2009 Link to this post

    Hello Ryan,

    You can use the get_name() method for this purpose.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top