Close X button is ALWAYS disabled

2 posts, 0 answers
  1. nat
    nat avatar
    4 posts
    Member since:
    Jul 2006

    Posted 29 Jan 2013 Link to this post

    And the drag handle on the window titlebar is only the width of the title text on this window. (Help!)

    Opening my radwindow with these settings, set in a user control:

    <rad:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" runat="server">
            <rad:RadWindow ID="radwindowPopup" runat="server" VisibleOnPageLoad="true" Height="280px"
                Width="500px" Modal="true" Animation="None" VisibleStatusbar="false" VisibleTitlebar="true"
                Behaviors="Move, Close" Title="" KeepInScreenBounds="false" Skin="Default">

    There is a button on the user control like this to open the window:
    <rad:RadButton ID="btnUpload" Text="Go" Enabled="true" runat="server" AutoPostBack="false" OnClientClicked="btnUpload_Click" />

    function btnUpload_Click(sender, eventArgs) {
     var oWnd = window.radopen(null, "radwindowPopup");
      oWnd.set_title("Fooo Barrr");


    And in the page load of the user control I set the nav URL:

    protected void Page_Load(object sender, EventArgs e)
     radwindowPopup.NavigateUrl = "SomePage.aspx";

    And the dummy page itself:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileUpload.aspx.cs" Inherits="MyAgDataWebRole1.UI.FileUpload" %>
    <head id="Head1" runat="server">
    <body class="Popup">
    <form id="Form1" runat="server" >
            This is a test


    The window opens, and the close X button at the top right of the window is visible, but it is always disabled and clicking it does nothing. Also, the handle for dragging the window in the titlebar is only the width of the text in the title, not the 100% width of the titlebar. I tried changing the text to be longer and the handle changes width = text width.

    I have opened other RadWindows from server-side and the windows display, drag handle is 100% width of the titlebar and the close X button actually works. Not sure what is going on and any help to make this (simple) task work client-side would be much appreciated. I have at least 8 hours so far sunk into this trying to get your windows to work correctly. TIA.




  2. nat
    nat avatar
    4 posts
    Member since:
    Jul 2006

    Posted 29 Jan 2013 Link to this post

    I discovered (after a process of elimination in my css) that a panel on the user control behind the popup window was interfering with the window; specifically - the panel had a z-index setting of 10000 on it and when I commented it out, the close X works and the drag handle is 100% of the full width. I added a z-index setting of 10001 for the window's class and that fixed it (!). Not sure why this occurred but was a real time-sink to fix it.
Back to Top