question about using the telerik's static client library

2 posts, 0 answers
  1. yao wang
    yao wang avatar
    25 posts
    Member since:
    May 2010

    Posted 23 May 2010 Link to this post

    I posted a question before and got great help

    the method in telerik's static client library works very well
    var bounds = $telerik.getBounds(oWnd.get_popupElement());

    There is the way how I use this method as following.

    In main page which contains the radwindowmanager, I added an radwindow "A" under the radwindowmanager. After I opened the radwindow "A", I tried to open another radwindow "B" from radwindow "A" by using the code below.

    function ShowWindow() {

                   var found = false;

                   var allWindows = GetWindowManager().get_windows
                   for (var i = 0; i < allWindows.length; i++) {

                       var oWnd = allWindows[i];

                       var bounds = $telerik.getBounds(oWnd.get_popupElement());
            if (oWnd._title == "B" ) {

                            found = true;





    in web.config.

    <location path="Telerik.Web.UI.WebResource.axd">



            <allow users="*" />




    However, recently I always got the error message as below

    Message: 'window' is null or not an object

    Line: 124

    Char: 54

    Code: 0

    URI: http://srfwpc12.????.com/????/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a1c53f111-a7b9-466f-ae26-3bd14c91dc5a%3a16e4e7cd%3af7645509%3a22a6274a%3a24ee1bba%3a1e771326%3a2bef5fcc

    I was wondering whether the new probelm is related with some IIS setting or other permission issue? I

    Thanks a lot.

  2. yao wang
    yao wang avatar
    25 posts
    Member since:
    May 2010

    Posted 24 May 2010 Link to this post

    I figured out the result, in the page without the radwindowmanager can not use the method. Thanks anyway
Back to Top