1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Column Layout

Column Layout

9 posts, 1 answered
  1. Joe Keller
    Joe Keller avatar
    48 posts
    Registered:
    07 Apr 2010
    10 Sep 2010
    Link to this post
    Is there any way through the layout editor tool to force a column in the layout to maintain a given size?
    In my example I have created a 25% - 50% - 25% layout and I have placed a content section in the 50% layout section.
    When I publish and view it, I end up seeing my content section on the left hand side of my site, assumingly because I have not placed any content to place-hold the left column.

  2. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    11 Sep 2010
    Link to this post
    you can set a css class to the columns under the layout view and then set a min-width in your stylesheet.
  3. Joe Keller
    Joe Keller avatar
    48 posts
    Registered:
    07 Apr 2010
    11 Sep 2010
    Link to this post
    I know I could do that, but, it would seem highly annoying if I have to create a class in my stylesheet when it shows the layout in the designer as being 25 - 50 - 25, I would expect that the layout would do as it shows and use 25% of the screen, 50% of the screen, and then 25% regardless if I have content in the areas or not. Otherwise it would be very difficult to get a reliable layout using the layout tool without creating classes for every single column in your layout.
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    12 Sep 2010
    Link to this post
    I agree with Joe...is there no way around this?  Perhaps a property to set which would put something inline?
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    14 Sep 2010
    Link to this post
    Hi,

    Have you guys tried locking the content place holders from being auto-sized? Please review the attached screen cast on how you can set this property.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    14 Sep 2010
    Link to this post
    Slick!  I never even saw that little guy
  7. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    14 Sep 2010
    Link to this post
    I tried doing this on a page, not a template, and it did not remember that i set the columns to fixed.
  8. Joe Keller
    Joe Keller avatar
    48 posts
    Registered:
    07 Apr 2010
    14 Sep 2010
    Link to this post
    After lots and lots of testing with this, the only way I am able to get this to work is if I put a content section in every area of the template with some content in it. If I do this it maintains sizing just fine. Otherwise, it acts as if the section doesn't exist.

  9. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    15 Sep 2010
    Link to this post
    Hi Joe Keller,

    Thank you for getting back to us. We have found what the issue is. The problem manifests if you use layout elements with more than one place holders. We are going to resolve the issue for one our next releases. In the mean time you can use two column layouts instead.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
9 posts, 1 answered