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

RadDock object behaves improperly when i tries to drag and drop any object

3 Answers 57 Views
Dock
This is a migrated thread and some comments may be shown as answers.
sam
Top achievements
Rank 1
sam asked on 18 Oct 2009, 12:42 PM
Hi;
I face this issue and i donno how to fix it.
Rad Dock Object behaves improperly and
i cant release the object when i try to drag and drop any object 
*the object contains user control has chart reads 
from xml and refreshed every 3 seconds.


Please advice

Asmaa Sbaihi



3 Answers, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 21 Oct 2009, 12:57 PM
It is possible that the problem is caused by the fact that you are updating (AJAX, WebService etc.) the content of the RadDock while dragging it at the same time. Why don't you try disabling the refresh of the dock's content while dragging it?
0
sam
Top achievements
Rank 1
answered on 21 Oct 2009, 03:10 PM
if the rad dock object contain user control have  Rad chart everything working fine, but if i added a fusion charts int user control in the object the objects behaves improperly!!!!!

whts wrong in this case!!
0
Jim
Top achievements
Rank 1
answered on 26 Oct 2009, 12:29 PM
Are these fusion charts using flash objects? I guess you already know that the flash runs in a sandbox that does not trigger regular DOM events. Therefore if you drag a dock over a flash object the dock events will not be fired correctly. Test the following project and you'll notice that the dock does not behave as expected when moved over the flash videos.

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
            <telerik:RadDockZone ID="RadDockZone1" runat="server" MinHeight="300px" Width="300px" 
                Style="float: left"
                <telerik:RadDock ID="RadDock1" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock4" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock5" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
            </telerik:RadDockZone> 
            <telerik:RadDockZone ID="RadDockZone2" runat="server" MinHeight="300px" Width="300px" 
                Style="float: left"
                <telerik:RadDock ID="RadDock2" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock6" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock7" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
            </telerik:RadDockZone> 
            <telerik:RadDockZone ID="RadDockZone3" runat="server" MinHeight="300px" Width="300px" 
                Style="float: left"
                <telerik:RadDock ID="RadDock3" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock8" runat="server" Width="300px" Title="RadDock-Title"
                    <ContentTemplate> 
                        <object width="320" height="265"
                            <param name="movie" value="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"
                            </param> 
                            <param name="allowFullScreen" value="true"></param> 
                            <param name="allowscriptaccess" value="always"></param> 
                            <embed src="http://www.youtube.com/v/3FcCUXrR1-0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" 
                                type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" 
                                width="320" height="265"></embed></object
                    </ContentTemplate> 
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </telerik:RadDockLayout> 
    </div> 
    </form> 
</body> 
</html> 
 

This problem is not related to Telerik controls but it is a general behavior of the flash objects.
  
Tags
Dock
Asked by
sam
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
sam
Top achievements
Rank 1
Share this question
or