RadWindow Height Issue

10 posts, 0 answers
  1. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 26 Oct 2015 Link to this post

    I have been battling with this for days and cannot find a solution. There is not a hard-coded height anywhere. Why is the height of this window so big overall and how can I fix it?

     

  2. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 28 Oct 2015 Link to this post

    Hi Stephanie,

    The default wdth and heigh ot RadWindow are 300px and should be rendered with these sizes unless its AutoSize functionality is not enabled. When the window is auto sized (AutoSize="true") it gets resized depending on its content size - can you, please, verify that this is not the case on your side?

    If this is not the case, though, please send us a runnable sample we can replicate the problem with so we can examine what is causing it on our side.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 28 Oct 2015 in reply to Vessy Link to this post

    Thank you for the response. We have many radwindows and all have autosize set to true but this is the only one with all this extra space. As you can see there is not any content down there. So what can I look into as to why auto-size is getting such a huge value for the height?
  5. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 28 Oct 2015 Link to this post

    Hi Stephanie,

    The only thing I can suggest you is to examine the content of the problematic conent page of the Window ad see whether there is no any height/width set in it explicitly.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  6. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 28 Oct 2015 in reply to Vessy Link to this post

    Thanks. I have countless times and I see no height specified on anything on that page.
  7. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 29 Oct 2015 Link to this post

    Hi Stephanie,

    We will be glad to assist in searching for the problem , but we will need to examine the code which is leading to the undesired behavior. Please, prepare and send us a runnable in which we can reproduce the issue so we will be able to examine it on our side and advise you further.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  8. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 29 Oct 2015 in reply to Vessy Link to this post

    How do I send it to you? It is apparently too large to attach.
  9. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 30 Oct 2015 Link to this post

    Hello Stephanie,

    I suggest you start from the following article that explains the most common problems related to AutoSizing and how to resolve them: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/troubleshooting/autosizing-issues.

    If you still have difficulties, you can open a support ticket and send us an example. Trimming it down to the bare bones minimum that shows the problem will help us assist much more efficiently. Also, we do not need the Telerik assemblies, just noting the version you are using is enough. This should help get the sample down to a few text files.

    Regards,

    Marin Bratanov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  10. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 30 Oct 2015 in reply to Marin Bratanov Link to this post

    Thank you, I have already done a lot of looking for solutions. I have a sample zipped and ready for you. I will open a ticket and try to submit it that way. Otherwise why do you say a 'runnable', to me that means everything need to 'run' it....
  11. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 02 Nov 2015 Link to this post

    Hello Stephanie,

    Sorry for not being clear enough. WIth "runnable", we mean code that we can get and run because it does not depend on custom classes, data sources or other code that we cannot emulate. We have our own assemblies, so leaving them our simply reduces the attachment size for everyone's convenience.

    As for the original issue - for anyone else having the same problem - it turned out that some elements did not have specified widths, some elements had width: auto or width: 100%, there were elements with float: right which puts them out of the standard element flow and there are some paddings in the content. This is what caused the additional whitespace. For more details on problems with autosizing I advise reviewing the following article in detail: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/troubleshooting/autosizing-issues.

    Regards,

    Marin Bratanov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017