Custom Button Broken With New Version

2 posts, 0 answers
  1. Alp
    Alp avatar
    6 posts
    Member since:
    Oct 2008

    Posted 23 Feb 2013 Link to this post

    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.

  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 25 Feb 2013 Link to this post


    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?

    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.
Back to Top