radtoolbar changes color when drag radwindow

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

    Posted 06 Jul 2010 Link to this post

    In our home page, we have a div for toolbar, there are a couple of radtoolbars with many radtoolbarbuttons in them. simply e.g.

    <div id="toolbar">
          ......

     

     

    <div id="tbextra">

     

     

     

    <telerik:radtoolbar id="OthersToolBar" runat="server" onclientbuttonclicked="otherbarClicked"

     

     

     

    backcolor="#181437" forecolor="White"

     

     

     

    onbuttonclick="OthersToolBar_ButtonClick">

     

     

     

    <Items>

     

     

     

    <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/help_32.png"

     

     

     

    PostBack="False" ImagePosition="AboveText" Text="Help" Value="HELP">

     

     

     

    </telerik:RadToolBarButton>

     

     

     

    <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/logout_32.png"

     

     

     

    PostBack="true" ImagePosition="AboveText" Text="Log Out" Value="LOGOUT"

     

     

     

    CommandName="LOGOUT">

     

     

     

    </telerik:RadToolBarButton>

     

     

     

    <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/cancel_all_32.png"

     

     

     

    PostBack="False" ImagePosition="AboveText" Text="Cancel All" Value="CANCELALL">

     

     

     

    </telerik:RadToolBarButton>

     

     

     

    </Items>

     

     

     

    </telerik:radtoolbar>

     

     

     

    </div>

     

    .........
    </div>

     

     

    <telerik:radwindowmanager id="WinMan" runat="server" showcontentduringload="False"

     

     

     

    restrictionzoneid="surface" behavior="Default" initialbehavior="None" destroyonclose="True"

     

     

     

    autosize="True" backcolor="#9900CC" bordercolor="#000066" borderstyle="Solid"

     

     

     

    borderwidth="4px" font-names="Arial,Helvetica,Sans Serif" visibletitlebar="False"

     

     

     

    onclientdragstart="WindowDragStart">

     

     

     

    </telerik:radwindowmanager>

     



    I set the javascript as following.

     

     

    function WindowDragStart(oWin, args) {

     

     

     

    var resizeExtender = oWin._resizeExtender;

     

    resizeExtender.set_hideIframes(

     

    false);

     

    }



    The problem is when I start to drag any opened radwindow to close to the <div id="toolbar"> in the home page. The each RadToolBarButton inside the <div id="toolbar"> change color.

    Please advise what cause the color changed.

    Thanks,

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

    Posted 06 Jul 2010 Link to this post

    Another question: In the same scenario, how to drag a RadWindow by holding the mouse button on something in the middle of a RadWindow?

    Thanks a lot,

    Yao
  3. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 09 Jul 2010 Link to this post

    Hello Yao,

    In reference to your questions:
    • The provided information in your first post to this thread is not enough for me in order to determine the reason for the described problem. Could you pleases open a new support ticket and send me a runnable project which shows the issue? I will check it and do my best to provide a working solution as soon as possible
    • "..how to drag a RadWindow by holding the mouse button on something in the middle of a RadWindow?"
      By design RadWindow object can be dragged using its title bar only and this behavior cannot be changed.

    Greetings,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top