Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Setting height/width for Find and Replace Dialog
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Setting height/width for Find and Replace Dialog

Feed from this thread
  • Joseph Bonanno avatar

    Posted on Jun 1, 2011 (permalink)

    How do I adjust the height and width of the find and replace dialog? We are using a custom skin and after setting up the DialogCSS.css file and importing all the other skins, I find that the "close" button is being chopped off both vertically and horizontally. Are there any particular css classes or attributes that need to be set?
    Attached files

  • Rumen Rumen admin's avatar

    Posted on Jun 7, 2011 (permalink)

    Hello Joseph,

    You can use the code below to resize the Find and Replace dialog from the server:

    protected override void OnPreRenderComplete(System.EventArgs e)
        {
            base.OnPreRenderComplete(e);
            DialogDefinition imagePropertiesDialog = RadEditor1.GetDialogDefinition("FindAndReplace");
            imagePropertiesDialog.Height = Unit.Pixel(900);
            imagePropertiesDialog.Width = Unit.Pixel(900);
        }

    All the best,
    Rumen
    the Telerik team

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

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Editor > Setting height/width for Find and Replace Dialog