Completed
Last Updated: 14 Feb 2019 18:28 by Al

To reproduce:

Add a RadBindingNavigator to a form and change its name.

Bind it to something.

Workaround:

Leave the default name.

Completed
Last Updated: 14 Feb 2019 16:55 by ADMIN
Completed
Last Updated: 14 Feb 2019 16:49 by ADMIN
Created by: Graeme
Comments: 2
Category: Editors
Type: Bug Report
1

Hi,

 

We have an issue with the RadMaskedEditBox control using an f0 mask.

The issue we have is..

 

When entering a number i.e. 123456 followed by pressing the backspace key, results in the number showing as 123450

We would expect this to show as 12345 so assume this is either a bug or requires up to add additional configuration when using f0.

 

I have included an example which demonstrates this

 

Many thanks

Completed
Last Updated: 14 Feb 2019 16:46 by ADMIN

To reproduce:

See the attached video.

Completed
Last Updated: 14 Feb 2019 16:42 by ADMIN

When you setup a hierarchical RadVirtualGrid and set the UseScrollbarsInHierarchy property to false and use VirtualGridAutoSizeColumnsMode.Fill for the child template, you expect that the column's width is calculated according to the total width of the respective template. Hence, if you shrink or enlarge the grid, the columns will shrink/enlarge respectively. However, if you double click the resize cursor between the column headers you will notice that the best-fit action is performed over the column and its width is adjusted. However, the VirtualGridAutoSizeColumnsMode.Fill setting is not respected and you either can't see all the columns, or you obtain some empty space if the column doesn't need much space. 

Completed
Last Updated: 14 Feb 2019 16:37 by ADMIN

To reproduce:

Add page view with some pages.

Add a scrollable panel with some labels on the page.

The labels have different BackColor 

Workaround:

 radScrollablePanel1.PanelElement.Fill.BackColor = Color.FromArgb(245, 246, 247);
 //or
 radScrollablePanel1.BackColor = Color.FromArgb(239, 239, 239);

Completed
Last Updated: 14 Feb 2019 16:34 by ADMIN
If ribbon group is collapsed and we open its drop-down panel and click on its dialog launcher then nothing happens. Observed in clean Word-inspired project (Font and Paragraph groups have launchers).
Completed
Last Updated: 14 Feb 2019 16:13 by ADMIN
Created by: Mihajlo
Comments: 2
Category: RichTextEditor
Type: Bug Report
1

I added this line just before Application.Run(new MainForm()); in Word-inspired project:

RichTextBoxLocalizationProvider.CurrentProvider = RichTextBoxLocalizationProvider.FromFile(@"AllCapsRichTextBoxStrings.xml");

 

I took RichTextBoxStrings.xml from localization page of RichTextEditor. In the xml file I converted all the text between <value> tags to uppercase, and also replaced "OK" (value of "Confirm" data element) with "AYE". I expected all the OK's in all the forms within rich text editor to be replaced, but they all remained as "Ok" (note the lower case "k" here). Well, all except Page Layout > Columns form, which did display AYE, and also References > Insert citation. So, here are the issues that I found:

  • XML file in localizaiton page of RichTextEditor is missing entries for resources "Ok", "Insert", and "Apply".
  • "Ok" resource is used in most places, but "Confirm" resource (with value "OK") is used in AddNewBibliographicSourceDialog.cs and SectionColumns\SectionColumnsDialog.cs. This seems inconsistent.
  • Paper sizes are not localizable, which is actually fine by me for all but the last paper size, "Size14x10", but then what is the purpose of all RibbonUI_PaperSizeXxx resources in resource file?
  • Value of resource "Documents_InsertHyperlinkDialog_SelectionInDocument" is weird. Not sure this resource should even exist, as I could not make it appear in the InsertHyperlinkDialog. Looks like a dummy placeholder.
  • Fallback mechanism for missing resources is weird. If resource is missing the resource name is returned as resource value, which is the reason why Ok, Insert, and Apply are actually shown. Maybe this is intentional, if resource is missing it will be obvious (for unusual resource names). Alternative would be not to change the string at all, as it is already set to default english in .Designer.cs file anyway. So instead of "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource");" it would be something like "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource", this.someTextBox.Text);".

To create AllCapsRichTextBoxStrings.xml, make a copy of provided resource file, open it in Notepad++ and replace all <value>([^<]*)</value> with <value>\U\1\E</value> using regular expressions, and then replace all &AMP;, &LT; and &GT; with &amp;, &lt; and &gt;.

Approved
Last Updated: 14 Feb 2019 14:09 by ADMIN

The performance of the DayView when the control is bound to a large number of recurring appointments and it is grouped by resources needs to be improved.

Approved
Last Updated: 14 Feb 2019 12:41 by ADMIN

Steps:

1) Add a textbox to a form. Set tabindex set to 0.

2) Add a RadMaskedEditBox with tabindex set to 1, and add the code listed below.

        public Form1()
        {
            InitializeComponent();

            this.radMaskedEditBox1.MaskType = MaskType.Standard;
            this.radMaskedEditBox1.Mask = "000000";
            this.radMaskedEditBox1.PromptChar = '#';
            this.radMaskedEditBox1.SelectionStart = 0;
            this.radMaskedEditBox1.SelectionLength = 0;
            
            this.radMaskedEditBox1.Enter += radMaskedEditBox1_Enter;
            this.radMaskedEditBox1.Click += radMaskedEditBox1_Click;
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Click += TextBoxItem_Click;
        }

        void radMaskedEditBox1_Enter(object sender, EventArgs e)
        {
            this.radMaskedEditBox1.SelectionStart = 0;
        }

        void TextBoxItem_Click(object sender, EventArgs e)
        {
            this.radMaskedEditBox1.SelectionStart = 0;
        }

        void radMaskedEditBox1_Click(object sender, EventArgs e)
        {
            
        }


3) Add breakpoints to all 3 RadMaskedEditBox events.

4) Run the app. Press tab key. (Enter event works as expected for the MaskedEditBox class).

5) Close and re-run app. Click the end of the MaskedEditBox. Click event is not invoked by the MaskedEditBox class as expected. 

 

Expected Result:

Since this control really only has 1 primary subcontrol (a fancy textbox). Event subscriptions to Click should subscribe to MaskedEditBoxElement.TextBoxItem.Click the += operator...

Should be fixed for MouseUp/Down and the all the other related key and mouse events.

 

Actual Result:

Subscriptions to Enter work on the MaskedEditBox class, but only subscriptions to MaskedEditBoxElement.TextBoxItem.Click work for Click events. This is highly confusing to the programmer whom is used to subscribing the standard Click event of a given control, and makes for unnecessarily complicated code and knowledge of the internal Element structure to make it work as expect like any other control.

 

Feature request:

It would be nice if there was also a "SelectionStart_MouseClick" property that works similar to SelectionStart but for Click events.

Also a EnableSelectionStart_MouseClick property with a default of false to maintain existing control behavior.

This allows the user to override the default cursor start position for Mouse Clicks. In the case above, the user cannot enter numbers unless they specifically click the start of the Mask; users find that confusing... 

The purpose of the above code is to be able to set the cursor start position "on-click", rather than only on Enter, which the existing SelectionStart property doesn't achieve.

Then we programmers could just set the properties and be done with it, and any subscriptions to the Click event would work as expected ->

public Form1() { InitializeComponent(); var customControl = new RadMaskedEditBoxV2() { MaskType = MaskType.Standard, Mask = "000000", PromptChar = '#', SelectionLength = 0, SelectionStart = 0, EnableSelectionStart_MouseClick = true, SelectionLength_MouseClick = 6, SelectionStart_MouseClick = 0 }; this.Controls.Add(customControl); }

 

 

 

public class RadMaskedEditBoxV2 : Telerik.WinControls.UI.RadMaskedEditBox { public RadMaskedEditBoxV2() : base() { this.EnableSelectionStart_MouseClick = false; this.MaskedEditBoxElement.TextBoxItem.Click += SelectionStartMouseClick_OnClick; } public new event EventHandler Click { add { base.MaskedEditBoxElement.TextBoxItem.Click += value; } remove { base.MaskedEditBoxElement.TextBoxItem.Click -= value; } } protected virtual void SelectionStartMouseClick_OnClick(object sender, EventArgs e) { if (EnableSelectionStart_MouseClick) { this.SelectionStart = SelectionStart_MouseClick; this.SelectionLength = SelectionLength_MouseClick; } } public int SelectionStart_MouseClick { get; set; } public int SelectionLength_MouseClick { get; set; } public bool EnableSelectionStart_MouseClick { get; set; } }

It would also allow the programmer to set the Enter and Click SelectionLengths separately.

 

Regards,

-Shawn.


Completed
Last Updated: 14 Feb 2019 12:37 by ADMIN
If we open paragraph properties dialog and then Tabstops properties dialog, and then close the second one the first one will also close automatically.
Approved
Last Updated: 14 Feb 2019 10:11 by ADMIN
Use attached to reproduce.
Completed
Last Updated: 13 Feb 2019 15:39 by ADMIN

Dears

Looks like after last Telerik update to 2019.1.117.40 lilter do digits/numbers is not working any more. When I'd like filter out on decimal columns (or even text column but with linked decimal/int values) I get no results, no rows.

With text columns all is ok.

 

BR

Approved
Last Updated: 13 Feb 2019 14:16 by ADMIN
How to reproduce: check the attached file

Workaround: create a custom drag-drop service 
public class CustomListControlDragDropService : ListControlDragDropService
{
    private RadListDataItem draggedItem;

    public CustomListControlDragDropService(RadListElement owner) 
        : base(owner)
    {
    }

    protected override void PerformStart()
    {
        base.PerformStart();

        RadListVisualItem draggedVisualItem = this.Context as RadListVisualItem;
        if (draggedVisualItem != null)
        {
            this.draggedItem = draggedVisualItem.Data;
        }
    }

    protected override void PerformStop()
    {
        base.PerformStop();

        this.DisposeHint();
        this.draggedItem = null;
    }

    protected override void OnPreviewDragDropCore(RadListElement targetList, RadListVisualItem targetElement)
    {
        int index = targetList.Items.Count - 1;
        if (targetElement != null)
        {
            index = targetList.Items.IndexOf(targetElement.Data);
        }
        
        if (this.draggedItem.Owner != targetList)
        {
            index++;
        }
        RadListElement dragedListView = this.draggedItem.Owner;

        IList<RadListDataItem> itemsToMove = new List<RadListDataItem>(dragedListView.SelectedItems.Count);

        foreach (RadListDataItem item in dragedListView.SelectedItems)
        {
            itemsToMove.Add(item);
        }

        dragedListView.BeginUpdate();
        foreach (RadListDataItem item in itemsToMove)
        {
            item.Selected =
                item.Active = false;
            dragedListView.Items.Remove(item);
        }

        dragedListView.EndUpdate();
        targetList.BeginUpdate();
        foreach (RadListDataItem item in itemsToMove)
        {
            if (index > targetList.Items.Count)
            {
                targetList.Items.Add(item);
            }
            else
            {
                targetList.Items.Insert(index, item);
            }

            item.Selected = item.Active = true;

            index++;
        }

        targetList.EndUpdate();
    }
}
Approved
Last Updated: 13 Feb 2019 11:18 by ADMIN

To reproduce:

Update the data source directly and check the OldItems array.

Approved
Last Updated: 11 Feb 2019 08:00 by ADMIN

To reproduce:

Copy an image and paste is several times inside the document.

In Development
Last Updated: 08 Feb 2019 15:36 by ADMIN
Completed
Last Updated: 08 Feb 2019 13:11 by Ioannis
Created by: Ioannis
Comments: 2
Category: UI for WinForms
Type: Bug Report
1

To reproduce:

- Open the Print Preview dialog and select "Print Entire Workbook"

- Nothing happens and only the current sheet is printed

Approved
Last Updated: 07 Feb 2019 09:50 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: PdfViewer
Type: Feature Request
4

			
Approved
Last Updated: 06 Feb 2019 14:06 by ADMIN

Right-click on header/footer usually does nothing. If we double-click them we enter their edit mode. After we close header and footer and right-click on them we get context menu as if we are still in edit mode. If we scroll out of view of header/footer, and then back in, right-click will again do nothing.

Also, separate but similar bug, in demo document's footer there is a three-column table. It is possible to resize with the mouse all the columns widths, and even the row height. Mouse will change shape, as if in edit mode. It is not necessary to enter and leave edit mode like in previous case, the error is observable from the start. But if we scope out and scope back in the changes are undone, in a way like in previous case.