RadWindowManager is visible on my page

5 posts, 0 answers
  1. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 20 Jul 2008 Link to this post

    EDIT: Workaround: I just stuck it in a div and set the style to display:none. This can't be what we're extected to do???

    I noticed a blank line at the bottom of my web page and using the IE Developer Toolbar I found out it's the RadWindowManager.

    Why is it visible as surely it shouldn't be...???

    Here is my code,

            <telerik:RadWindowManager ID="radWindowManager" runat="server" Skin="Web20" style="z-index: 90000;">  
                <Windows> 
                    <telerik:RadWindow ID="radWindowAbout" runat="server" Animation="FlyIn" Overlay="True" KeepInScreenBounds="True" Behavior="Default" InitialBehavior="None" Left="" 
                        NavigateUrl="Dialogs/About.aspx" Style="display: none;" Top="">  
                    </telerik:RadWindow> 
                </Windows> 
            </telerik:RadWindowManager> 

    It ends up creating this HTML which is clearly showing as a blank line,

            <div id="ctl00_ctl00_ContentPlaceHolder_radWindowManagerPanel">  
     <div id="ctl00_ContentPlaceHolder_radWindowManager" style="z-index:90000;display:none;">  
      <div id="ctl00_ContentPlaceHolder_radWindowAbout" style="display:none;">  
         
                    <input id="ctl00_ContentPlaceHolder_radWindowAbout_ClientState" name="ctl00_ContentPlaceHolder_radWindowAbout_ClientState" type="hidden" /> 
      </div><div id="ctl00_ContentPlaceHolder_radWindowManager_alerttemplate" style="display:none;">  
      <div class="windowpopup radalert">     
       <div class="dialogtext">  
       {1}      
       </div> 
         
       <div> 
        <a  onclick="$find('{0}').close();" 
        class="radwindowbutton" href="javascript:void(0);">  
         <span class="outerspan">  
          <span class="innerspan">##LOC[OK]##</span> 
         </span> 
        </a>      
       </div> 
      </div> 
      </div><div id="ctl00_ContentPlaceHolder_radWindowManager_prompttemplate" originalAttribute="href" originalPath="javascript:void(0);">  
         <span class="outerspan">  
          <span class="innerspan">##LOC[OK]##</span> 
         </span> 
        </a>      
       </div> 
      </div> 
      </div><div id="ctl00_ContentPlaceHolder_radWindowManager_prompttemplate" style="display:none;">  
      <div class="windowpopup radprompt">     
       <div class="dialogtext">  
       {1}      
       </div> 
         
       <div> 
        <input type="text"  class="dialoginput" value="{2}" /> 
       </div> 
       <div> 
        <onclick="$find('{0}').callBack(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"      
         class="radwindowbutton" href="javascript:void(0);" originalAttribute="href" originalPath="javascript:void(0);" ><span class="outerspan"><span class="innerspan">##LOC[OK]##</span></span></a> 
        <onclick="$find('{0}').callBack('');" class="radwindowbutton"  href="javascript:void(0);"><span class="outerspan"><span class="innerspan">##LOC[Cancel]##</span></span></a> 
       </div> 
      </div>    
      </div><div id="ctl00_ContentPlaceHolder_radWindowManager_confirmtemplate" originalAttribute="href" originalPath="javascript:void(0);"><span class="outerspan"><span class="innerspan">##LOC[Cancel]##</span></span></a> 
       </div> 
      </div>    
      </div><div id="ctl00_ContentPlaceHolder_radWindowManager_confirmtemplate" style="display:none;">  
      <div class="windowpopup radconfirm">     
       <div class="dialogtext">  
       {1}      
       </div>        
       <div> 
        <onclick="$find('{0}').callBack(true);"  class="radwindowbutton" href="javascript:void(0);" originalAttribute="href" originalPath="javascript:void(0);" ><span class="outerspan"><span class="innerspan">##LOC[OK]##</span></span></a> 
        <onclick="$find('{0}').callBack(false);" class="radwindowbutton"  href="javascript:void(0);"><span class="outerspan"><span class="innerspan">##LOC[Cancel]##</span></span></a> 
       </div> 
      </div>    
      </div><input id="ctl00_ContentPlaceHolder_radWindowManager_ClientState" originalAttribute="href" originalPath="javascript:void(0);"><span class="outerspan"><span class="innerspan">##LOC[Cancel]##</span></span></a> 
       </div> 
      </div>    
      </div><input id="ctl00_ContentPlaceHolder_radWindowManager_ClientState" name="ctl00_ContentPlaceHolder_radWindowManager_ClientState" type="hidden" /> 
     </div> 
  2. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 20 Jul 2008 Link to this post

    I can't recall the RadWindowManager occupying space anytime I've used it before so I don't think that you are experiencing the default behavior.  Which version of IE are you experiencing this with?

    I suppose there could be something in your stylesheet that is setting something globally that is getting picked up by the RadWindowManager's html.  But even if that was the case, I agree that the RadWindowManager should never be visible anyway.

    Personally, I don't like just how much html is rendered to the page by the RadWindowManager as opposed to just having a RadWindow - but it's the only way I can control the z-index :(
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 21 Jul 2008 Link to this post

    Hi ADe,

    In general RadWindowManager is not shown on the page. Can you please let me know have you by any chance updated it with Ajax in some way? If this is so and you are using RadAjaxManager, you need to set its UpdatePanelsRenderMode property.



    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 21 Jul 2008 Link to this post

    I hadn't but I moved it to tyhe top of the page where at first it didn't show but when a menu was clicked which makes a window popup it suddenly created the blank line where the RadWindowManager would have been.

    Thanks for responding.
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 21 Jul 2008 Link to this post

    Hi ADe,

    I am still not able to reproduce the problem locally, but if you open a support ticket and send me a reproduction project, I will check it right away. This way we will be able to examine the issue locally and provide you with a solution so you will not need to hide the manager in a div.


    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017