Completed
Last Updated: 11 Oct 2018 15:20 by Dimitar
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 10 Jul 2018 08:51
Category: Editors
Type: Bug Report
1
FIX. RadBrowseEditor - clear button is not shown when you set the BrowseElement.ShowClearButton property true
To reproduce: 

            this.radBrowseEditor1.Value = @"D:\Projects";
            this.radBrowseEditor1.ReadOnly = false; 
            this.radBrowseEditor1.BrowseElement.ShowClearButton = true;

You will notice that the clear button is not shown.

Workaround:

            LightVisualButtonElement btn = new LightVisualButtonElement();
            btn.Text = "X";
            btn.Click += btn_Click;
            btn.StretchHorizontally = false;
             
            this.radBrowseEditor1.BrowseElement.BrowseButton.Parent.Children.Add(btn);


        private void btn_Click(object sender, EventArgs e)
        {
            this.radBrowseEditor1.Value = null;
        }
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments