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

Custom Button Broken With New Version

1 Answer 80 Views
Window
This is a migrated thread and some comments may be shown as answers.
Alp
Top achievements
Rank 1
Alp asked on 23 Feb 2013, 02:38 PM
We were using a custom button in radwindow (as described in your article - adding custom button with javascript) and recently upgraded to the latest version. Now, the title bar is totally broken when custom button is added. The title width is automatically adjusted; and changing the list width (via its style - as described in your article) is overridden by title being re-adjusted automatically.

As a result, if you add a custom button on radwindow title bar, close buttons falls down on the second line; background image of title bar starts repeating in an ugly way (since the height of the title bar is extended due to close button showing in second line).

Attached is the situation right after the new version. We were using a version that is 1 year old; and it was just fine.

Please advise asap.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 25 Feb 2013, 12:33 PM
Hi,

I have just tested the project attached in the KB article with the Q1 2013 release (2013.1.220) and it appears to be working fine with me. For your convenience I am attaching it here as well, together with a short video from my test. Can you confirm if this is working as expected on your end? If not - can you locate the difference with your actual case - e.g. larger images being used, some error being thrown, the page having invalid markup or doctype, etc.? If taking the approach used in the sample still does not work for you can you post the code that is actually causing issues with you so I can check it?


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
Alp
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or