Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > controlling height of dynamic content inside a dhtml rad window
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered controlling height of dynamic content inside a dhtml rad window

Feed from this thread
  • Thomas Lang avatar

    Posted on Feb 3, 2011 (permalink)

    <telerik:RadWindow ID="SearchResultsWnd" OffsetElementID="OffsetElement" Title="Search Results"
        runat="server" Modal="true" DestroyOnClose="false" ShowContentDuringLoad="false" Width="700px" Height="500px"
         OnClientShow="SearchResultsWnd_onClientShow"  OnClientClose="SearchResultsWnd_onClientClose"  >
        <ContentTemplate>
            <div id="SearchResultsDiv" >search results</div>
        </ContentTemplate>
    </telerik:RadWindow>

    hi.

    i have a simple radwindow as shown above.

    I need to set the div 'SearchResultsDiv' with the results of a PageMethod.  The problem, the results
    take on the full height and width of the radWindow.

    I am returning a table with results.  I can control the width of the table.  but the height is not so simple. 

    is there a way return populate that div without it taking the full height of the window?

    Thanks,
    Tom

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Feb 9, 2011 (permalink)

    Hi Thomas,

    By default the <div> and <table> height depends on their content, e.g. they cannot be higher than there content is except you have set that height explicitly. Can you confirm this is not the case?

    All the best,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > controlling height of dynamic content inside a dhtml rad window