RadWindowManager

5 posts, 0 answers
  1. Divya M
    Divya M avatar
    3 posts
    Member since:
    Sep 2009

    Posted 07 Sep 2009 Link to this post

    Hi,

    I am using RadWindowManger and displaying a Modal Popup. I am trying to customize the look and feel onMouseDrag using the client side event OnClientDragStart. I click on the titlebar to move the window, and the control never returns back i am not able to click on any other part of the browser. This is the code i have added

    <

     

    telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableEmbeddedSkins="true" OnClientPageLoad="OnClientPageLoad" VisibleStatusbar="false" OnClientClose="OnClientClose" IconUrl="favicon.ico" OnClientDragStart="OnClientDragStart" OnClientDragEnd="OnClientDragEnd">

     

     

     

    </telerik:RadWindowManager>
     Please let me know if i am doing any thing wrong here. In the client side events i just have an alert statement.

    Thanks,
    Divya

     

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Sep 2009 Link to this post

    Hi Divya,

    The code that you posted looks good, but I don't know what is the code in the JavaScript functions that you have used for OnClientDragStart and OnClientDragEnd. Could you please post them as well?


    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Divya M
    Divya M avatar
    3 posts
    Member since:
    Sep 2009

    Posted 07 Sep 2009 Link to this post

    Hi Georgi,

    The javascript function just has an alert statement:

    function OnClientDragStart(sender, eventArgs){
    alert('OnClientDragStart called...');
    }
    The moment i add the client side function, the cursor points only to the pop up and DragEnd is never called.

    Thanks,
    Divya
  4. Divya M
    Divya M avatar
    3 posts
    Member since:
    Sep 2009

    Posted 08 Sep 2009 Link to this post

    Hi Georgi,

    I was going through the forum on Window control and found an issue quiet similar to the one i am facing.


    In their case the background is black. But in our case its a white background with all the text being hidden when the Modal Window is being dragged.
    I was trying to change the transparency using onClientDragStart event which now i feel after looking at the above forum issue that i may not be able view the text using the client side events too.
    Please let me know if there is a work around to display the text in the content area of the RadWindow as well as the background.
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Sep 2009 Link to this post

    Hi Divya M,

    I am not sure that this is the same problem. Note that when the RadWindow is moved or resized, we intentionally hide the IFRAME in order to avoid the mouse cursor going in it. If this happens, the IFRAME will consume the mouse events and the RadWindow would simply "don't know" when the resizing / moving has finished which will lead to inconsistent behavior.

    Please open a support ticket and send us a small sample project that will allow us to get a better view over your exact case and the problem itself. We will check it and do our best to help.


    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top