This is a migrated thread and some comments may be shown as answers.

radtoolbar changes color when drag radwindow

2 Answers 54 Views
Window
This is a migrated thread and some comments may be shown as answers.
yao wang
Top achievements
Rank 1
yao wang asked on 06 Jul 2010, 11:41 PM
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 Answers, 1 is accepted

Sort by
0
yao wang
Top achievements
Rank 1
answered on 07 Jul 2010, 03:11 AM
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
0
Fiko
Telerik team
answered on 09 Jul 2010, 03:01 PM
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
Tags
Window
Asked by
yao wang
Top achievements
Rank 1
Answers by
yao wang
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or