Handle big Contents in RadWindow.Confirm Dialogs

2 posts, 0 answers
  1. Peter
    Peter avatar
    37 posts
    Member since:
    Dec 2011

    Posted 11 Feb 2014 Link to this post

    I'm using RadWindow.Confirm to let the user confirm some content that is wider than 400 units. 

    Unfortunately RadWindow.Confirm shows the content with a horizontal scoll bar (see attachment). 

    How do I change this so this, so that the RadWindow.Confirm dialog resizes to its content if it gets wider?

  2. Yana
    Yana avatar
    4547 posts

    Posted 14 Feb 2014 Link to this post

    Hi Peter,

    You will need to edit the ControlTemplate of the Confirm in order to remove the horizontal scrollbar and adjust the TextBlock.  The most convenient way is to use Implicit Styles as explained in the following help topic:

    Also you could check here how to customize the template of any of the Telerik WPF controls.

    Hope this helps.


    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  3. DevCraft R3 2016 release webinar banner
Back to Top