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

RadWindowManager

4 Answers 60 Views
Window
This is a migrated thread and some comments may be shown as answers.
Divya M
Top achievements
Rank 1
Divya M asked on 07 Sep 2009, 09:23 AM
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

 

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 07 Sep 2009, 01:25 PM
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.
0
Divya M
Top achievements
Rank 1
answered on 08 Sep 2009, 04:40 AM
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
0
Divya M
Top achievements
Rank 1
answered on 08 Sep 2009, 07:11 AM
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.
0
Georgi Tunev
Telerik team
answered on 10 Sep 2009, 01:25 PM
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.
Tags
Window
Asked by
Divya M
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Divya M
Top achievements
Rank 1
Share this question
or