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

4 posts, 0 answers
  1. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 18 Oct 2009 Link to this post

    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



  2. Jim
    Jim avatar
    31 posts
    Member since:
    Jun 2009

    Posted 21 Oct 2009 Link to this post

    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?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. sam
    sam avatar
    31 posts
    Member since:
    Jan 2008

    Posted 21 Oct 2009 Link to this post

    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!!
  5. Jim
    Jim avatar
    31 posts
    Member since:
    Jun 2009

    Posted 26 Oct 2009 Link to this post

    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.
      
Back to Top