This is a migrated thread and some comments may be shown as answers.

RadWindow Height Issue

9 Answers 355 Views
Window
This is a migrated thread and some comments may be shown as answers.
DogBizPro
Top achievements
Rank 1
DogBizPro asked on 27 Oct 2015, 12:32 AM

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?

 

9 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 28 Oct 2015, 01:12 PM
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
0
DogBizPro
Top achievements
Rank 1
answered on 28 Oct 2015, 01:33 PM
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?
0
Vessy
Telerik team
answered on 28 Oct 2015, 02:40 PM
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
0
DogBizPro
Top achievements
Rank 1
answered on 28 Oct 2015, 03:04 PM
Thanks. I have countless times and I see no height specified on anything on that page.
0
Vessy
Telerik team
answered on 29 Oct 2015, 09:59 AM
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
0
DogBizPro
Top achievements
Rank 1
answered on 29 Oct 2015, 03:59 PM
How do I send it to you? It is apparently too large to attach.
0
Marin Bratanov
Telerik team
answered on 30 Oct 2015, 12:04 PM

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
0
DogBizPro
Top achievements
Rank 1
answered on 30 Oct 2015, 12:57 PM
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....
0
Marin Bratanov
Telerik team
answered on 02 Nov 2015, 06:43 AM

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
Tags
Window
Asked by
DogBizPro
Top achievements
Rank 1
Answers by
Vessy
Telerik team
DogBizPro
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or