Portal Approach - Is this correct?

3 posts, 0 answers
  1. czone
    czone avatar
    6 posts
    Member since:
    Jun 2005

    Posted 19 May 2007 Link to this post

    I'm building a portal and would like to use Prometheus.  My requirements include the following:

    • Dynamic portal page layout - 2 column, 3 column and other page layouts - I will load a different layout based on the page requested
    • Drag and drop of content within the page layout columns
    • Save the locations of the content blocks in a database

    I think using the following approach will help me achieve what I need to do.

    • Use a RadDocLayout control as the primary container
    • Place RadDocZone controls inside the layout control, using a zone for each one of my columns or rows that I have on my page
    • Use the RadDoc for all my content objects

    I have two questions.

    1. Does this approach seem correct?
    2. I can't seem to get the zone controls in a side by side (horizontal) configuration, I can only get them in a vertical (one on top of the other) configuration.  How can I get the zone controls to be configured to be side by side so I can use them as columns for my page layout?
    • In regards to my 2nd question, I looked at your portal example and you use tables to create the 3 column zone layout that I want. Is this the only way to do this or can I use Div tags or some other approach?

    Thanks in advance for the help.

  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 21 May 2007 Link to this post

    Hello Dave,

    The approach seems correct and actually, we designed RadDock to work mainly in similar scenarios. Did you check our online examples? This one could be of help to you:

    Regarding the question #2: the RadDockZone controls are rendered as DIV elements, which are block elements and are automatically placed on a new line. You could override this behavior in several ways:
    1) Set style="float:left" to the controls, just like the example above:
    <telerik:raddockzone id="RadDockZone1" runat="server" width="45%" style="float:left;margin-right:15px;" />
    <telerik:raddockzone id="RadDockZone2" runat="server" width="45%" style="float:left;" />

    2) Put the RadDockZone controls in table cells on one table row, something like this:
    <td><telerik:raddockzone id="RadDockZone1" runat="server" /></td>
    <td><telerik:raddockzone id="RadDockZone2" runat="server" /></td>

    I strongly recommend the upgrade to the latest version of RadDock "Prometheus", which will be available later today.

    Valeri Hristov (Senior Developer, MCSD)
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. czone
    czone avatar
    6 posts
    Member since:
    Jun 2005

    Posted 21 May 2007 Link to this post

    This was very helpful, thanks for the support.  I'll download the new version of RadDoc when its ready!
Back to Top