Dock & Menu Ajaxing for Portal Site

2 posts, 0 answers
  1. Angela
    Angela avatar
    19 posts
    Member since:
    Mar 2008

    Posted 08 Apr 2008 Link to this post

    Hi,

    We are getting ready to buy your control for 2-4 developers (to start) and I have been asked to do program a dashboard.

    So I am using the 30 day trial period.  And I have gotten so far and now I am trying to understand how to do a complicate thing.

    I used the PortalSiteCS demo that was given as a starting point and developed my own Dashboard page.

    However, I need to be able to have your Menu Control tied to the DockLayout/Docks controls.  The Docks are Initiating UserControls.

    So, a person selects a particular type of dock from the RadMenu.

    AJAX wise it goes through adds the dock to the UpdatePanel and flushes javascript wise over to the appropriate zone on the client.

    For the client not show this movement on the page the UpdatePanel it wraps it in a div with display:none.

    However, I also need my Menu to be updated to not show that item anymore in the list.

    Same goes for closing a dock, I need the menu to also be updated  to show the dock that was jsut taken off.

    How, can I do this? I have tried several different ways with no success in meeting the basic requirement of updating the menu and not showing the movement of the dock/usercontrol on the screen.

    Any Help is greatly appreciated :)

    Angela
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 16 Apr 2008 Link to this post

    Hello Angela,

    Thank you for contacting us.

    To achieve the scenario you mention I suggest you try to place the RadMenu in an UpdatePanel, for example. When clicking on an item in the menu add the corresponding dock in the way demonstrated in the MyPortal example and delete the clicked item from the menu as shown in the Add/Remove/Disable Items online example of the RadMenu. On closing a dock you can add the needed item in the menu at dock's Command server-side event and manually update the UpdatePanel in which the RadMenu control is placed.

    Let us know if you need further assistance.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top