rad dock usercontrol

4 posts, 0 answers
  1. saed
    saed avatar
    1 posts
    Member since:
    May 2014

    Posted 01 May 2014 Link to this post

    hello to all


    i have a web page that load user control ,a user control  sometime contain datagrid ,  chart, ....

    my problem when the usercontrol contain dock every thing is fine untill the user move the dock then when the user select another webcontrol  to load that time dock is still showing on  the page .
    i will post code if necessary but beacuse the project is big thats why i try to get help without code

    thanks
     


     
  2. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 06 May 2014 Link to this post

    Hello,

    Unfortunately I wasn't able to reproduce the behavior that you are describing. Could you, please, specify in more details what is the expected scenario? It would be even better, if you upload a short video showing the exact cases.

    And in order to assist you in the most efficient way I would kindly suggest that you provide us with a very simplified runnable project that demonstrates the behavior that you describe. Thus we could test it locally and determine what might be causing the issue that you are experiencing.

    Thank you in advance for your cooperation. 

    Regards,
    Dimitar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Saed
    Saed avatar
    6 posts
    Member since:
    Mar 2013

    Posted 06 May 2014 in reply to Dimitar Link to this post

    many thanks to you Dimitar

    i found what is causing problem , if the rad dock is dynamicly created in (radpanal) and dock mode is floating (not docked) problem occur ,so what i did is removing rad panal so problem solved , but why there is problem between floating dynamic docks and rad panal ?

    i post this because may be someone face same problem


    thanks everyone




  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 08 May 2014 Link to this post

    Hello Saed,

    From the provided information it seems that you are trying to ajaxify a floating dock which is actually a not valid scenario. The reason for that is because a floating dock can be moved on the page and this modifies its position in the DOM tree which was initially inside an UpdatePanel, so that it will be no longer a child of this UpdatePanel.

    The problem is that when you move the RadDock and then initiate AJAX request, the UpdatePanel will add a new RadDock control with the same ID on the page, because the original dock will not be inside it.

    The solution for this problem is to:
     - Either use UpdatePanels only for adding RadDock controls on the page, which will be immediately docked into a RadDockZone control as shown in this online demo
      - Or wrap the RadDockZone controls with UpdatePanels and prevent the docks from undocking, which is shown here .

    More information on the matter is available in Placing a RadDock in an UpdatePanel help article.

    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top