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

Bugs in RadWindow

3 Answers 169 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marcin Praski
Top achievements
Rank 1
Marcin Praski asked on 26 Dec 2009, 11:52 PM
Hi,

I found a lot of bugs in the RadWindow control. First of all, the size of the control is not rendered properly in the Opera 10.x browser. if you open this link (http://demos.telerik.com/aspnet-ajax/window/examples/radwindowobject/defaultcs.aspx) in Opera and Chrome you can see the difference. The second problem with Opera and RadWindow is annoying horizontal scrollbar which appears when you open RadWindow with modal parameter set to true. The sample is available here (http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window) when you click the "Edit" link.  The third problem occurs when you are moving the RadWindow.  Unfortunately, during this action the target page is not visible. Moreover, there is a lot of problems with auto size. For example, when you open this link (http://demos.telerik.com/aspnet-ajax/window/examples/autosize/defaultcs.aspx) in the IE8 browser you can see that RadWindow doesn`t look properly. In addition, the auto size mode doesn`t work when the target page consists of html table and scrollbars are displayed. 
Is there any chance to get bug fixes?

Thanks in advance for your help,
Martin

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 30 Dec 2009, 12:54 PM
Hi Marcin,

We are aware of the mentioned problems under Opera but I am afraid that currently there are no workarounds for them that would produce consistent result in all major browsers. We are doing our best to provide equivalent support for all browsers, but this is certainly not a trivial task. Unfortunately, of all browsers, Opera is at present (still) the hardest browser to debug due to lack of adequate integrated tools.

As to the IE8 / autosize problems:

1) I tested the demo under IE8 but I could not see the problem and also I am not sure what exactly you mean by "RadWindow doesn`t look properly" - do you mean that there is a scrollbar or skin problem? On a side note, it is possible that the first time you load the page, the image needs some time to be downloaded by the browser and this could cause some side effect but this is not related to the autosize functionality but to loading time of images and I also could not reproduce it - I attached a sample video capture of my test under IE8.

2) We are not aware of autosize problems when there is a TABLE element and scrollbars on the page - can you please prepare fully runnable simple reproduction demo and share its code here? Once you do so, I will built up a test demo based on it and I will debug it locally. If the issue turns out to be related to configuration, I will help you resolve it and in case it turns out to be a bug, we will fix it, provide a workaround and also update your account with Telerik points for your kind cooperation. 



Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
dlewis
Top achievements
Rank 1
answered on 22 Jan 2010, 05:07 PM
AutoSizing works great for us in all browsers with the exception of IE.  Doesn't matter which version.  The problem is usually related to the height.   A nice work around for this would be to be able to seperately set AutoSizeHeight, AutoSizeWidth, AutoSizeBoth.  Either way,  it's currently not creating a good look for our member base.

0
Svetlina Anati
Telerik team
answered on 26 Jan 2010, 12:40 PM
Hi dlewis,

I already answered your support thread and for your convenience and for others who might encounter the same problem I pasted my reply below:

In order to get cross-browser behavior, you should include the following style in the content page's head which is loaded inside the RadWindow:

Copy Code
html, body, form
{
  height: 100%;
  margin: 0;
  padding: 0;
}

Note, also that you should not hide the overflow of the content page. The above should solve calculations related problems.

As to your other request about implementing an enum for autosizing, we have this already logged in our database but we are gathering feedback on this. For the time being you can easily achieve what you need by choosing one of the following options:

1) Put a wrapper DIV with explicitly set width (height) or explicitly set pixel width(height) to the HTML, BODY and FORM elements and this will make the autosize respect it - if you use this all the same actually no resize will be done on this size (width or height) and you can mimic AutoSizeHeight, AutoSizeWidth.

2) You can not use autosize functionality but simply calculate the desired size and set it through the client API of the RadWindow. E.g if you need to resize only the height you can calculate it and them use only the set_height method.

I hope that my explanations and suggestions are helpful, let me know how it goes.


Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Marcin Praski
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
dlewis
Top achievements
Rank 1
Share this question
or