Setting width of RadWindow from Code

2 posts, 0 answers
  1. ITC
    ITC avatar
    19 posts
    Member since:
    Nov 2010

    Posted 11 May 2012 Link to this post


    I am having issues setting the RadWindow.Alert window from Code. The method I tried is as follows:

                    new DialogParameters
                            Content = new ContentControl { Width = 800, Height = 600, Content = editorView },
                            DialogStartupLocation = WindowStartupLocation.CenterScreen,
                            Closed = (sender, e) => this.AddChartSeriesGroupClosed(sender, e, newChartSeriesGroup),

    The window size using the above code seems to be 400x600 which is coincidental i.e. it is the size regardless of the Width and Height values used above. I have tried MinWidth and MinHeight as well.

    Any ideas?
  2. Yana
    Yana avatar
    4547 posts

    Posted 16 May 2012 Link to this post

    Hello Dirk,

    In order to change the Width of the Confirm window, you should create a custom style. The approach is explained in this article.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top