This is a migrated thread and some comments may be shown as answers.

Get Window Name On Client

1 Answer 131 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ryan Means
Top achievements
Rank 1
Ryan Means asked on 03 Feb 2009, 08:16 PM
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"));
});

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Feb 2009, 06:45 AM
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.
Tags
Window
Asked by
Ryan Means
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or