Varible height for the dynamically created RadDoc

3 posts, 1 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 28 Mar 2011 Link to this post

    Hello,

    I am creating raddocs dynamically. I do have dynamic radzones. Also I wish to create raddocs with varible height dynamically. Its height should get varied as per the contents inside it.

    If I do not set the height of raddoc while creating it dynamically then it set to some default value and displayes scrollbar.

    Prayag
  2. Answer
    Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Mar 2011 Link to this post

    Hello Prayag,

    This should not happen by default. I tested our MyPortal demo to see if I can recreate the issue there, but the
    Height is adjusted according to the content within the docks. Could you please provide more information about the problem? If possible send us a sample code that shows the issue.
    You could enforce height: auto to all docks on the page using the following CSS:
    .RadDock
    {
        height: auto !important;
    }

    Greetings,
    Pero
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 29 Mar 2011 Link to this post

    Thanks Pero. This CSS solved the problem. Bravo!
Back to Top