Declined
Last Updated: 05 Jul 2024 12:59 by ADMIN

We are trying to display read only versions of documents. Some of these documents are of type .docm and have elements like dropdowns and text boxes. Most of the documents are being converted properly but all text within these .docm elements are missing. We have tried loading into the RadRichTextBox control and directly exporting to plain text with no luck. We do not need full support for these elements but in order to use Telerik's library for our document viewer we need to be able to at least extract text from these elements.

Is this currently unsupported or is there some other provider I should be using?

Declined
Last Updated: 05 Jul 2024 12:59 by ADMIN

Hi
I'm building a .net app with VB 2019.

With RadChartView, for some unknown reason, I can't change the Font on the Legend
Nor can I set the exact legend position when using following code

With myRadChartView

.ShowLegend = True
                    .ChartElement.LegendElement.Font = New Font("Arial", 12.0F, FontStyle.Regular)
                    .ChartElement.LegendPosition = LegendPosition.Float
                    .ChartElement.LegendOffset = New Point(1600, 300)

end with

NB: This was not working with previous release either.

Declined
Last Updated: 05 Jul 2024 12:57 by ADMIN

Erro encontrado no RadGridView, quando está com configurado como ("SelectionMode" : FullRowSelect) e ("ClipboardCopyMode" = "EnableWihoutHeaderText"), o mesmo está abrindo um menu de contexto/menu suspenso "Copy" e impede a abertura do menu de contexto customizado. E ao copiar o conteúdo de uma célula em específico, copia a linha toda.

Na imagem a baixo, mostrando que está impedindo o menu de contexto do sistema

Sobre o Clipboard, aparentemente não está enviando o conteúdo da célula corrente e sim mandando da linha toda

resolvi aqui usando o evento KeyDown do RadGridView
if (e.Control && e.KeyCode == Keys.C)
{
    Clipboard.SetText(myGrid.CurrentCell.Value.ToString());
}

Declined
Last Updated: 05 Jul 2024 12:57 by ADMIN
Created by: Scott
Comments: 4
Category: UI for WinForms
Type: Bug Report
0

Using a RadForm and rad controls like the RadTextbox and RadDropdown, I create this form. It looks like this:

I save and close the form. I reopen and it changes all the formatting. It now looks like this:

Notice, that the spacing has been increased and the dropdown lengths have been increased. I'm pretty sure there's other changes too.

What am I doing wrong?

 

Thanks,

Scott

 

 

Declined
Last Updated: 05 Jul 2024 12:53 by ADMIN
Created by: Bernadette
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

It used to default to the control default and now it defaults to a theme. 

It seems to also not recognize controls I add to the forms until I do a build. I shouldn't have to add that step before I select debug. 

Acting very, very strangely. 

Unplanned
Last Updated: 19 Jun 2024 07:32 by ADMIN
Created by: Toby
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
The default behavior is to auto ellipsis at the end of a long text. This functionality can be extended so that the user can choose where to auto-ellipsis the text: at the beginning, at the center, at the end, .etc.
Unplanned
Last Updated: 18 Jun 2024 10:16 by ADMIN
In this scenario, a new archive is created in code and two files are added to the archive. The archive is protected with a password. When trying to open the file inside and typing the correct password, a message appears with a text that the typed password is incorrect.
Declined
Last Updated: 13 Jun 2024 14:13 by ADMIN
Created by: Zubin
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

Hi,

 

I added a screen with RadSpreadsheet on it. When I open that screen from the parent screen, the DPI (scale) of the whole application changes.

 

Please find the source in the attachment.

Unplanned
Last Updated: 10 Jun 2024 13:33 by ADMIN
Created by: Manikanta
Comments: 1
Category: UI for WinForms
Type: Feature Request
0

Hi All.

Could you please add or let me know locators for "RadChat" window for Automation purpose. I am unable to find locators on the below area.

 

Unplanned
Last Updated: 30 May 2024 14:25 by ADMIN
Created by: Markus
Comments: 4
Category: UI for WinForms
Type: Feature Request
3
Currently the extension in Visual Studio has VB templates only for the classic .NET Framework.
Declined
Last Updated: 27 May 2024 12:32 by ADMIN
This exception is a result of changes in the Current property of the IEnumerator interface. With the lastest version, if the current item is undefined it will throw an exception if we try to access it with the Current property, while in the older version, it will return null.
Unplanned
Last Updated: 27 May 2024 11:18 by ADMIN
Created by: Dinko
Comments: 1
Category: UI for WinForms
Type: Feature Request
1

In.NET8 Microsoft has released databinding improvements: What's new in Windows Forms .NET 8 - Windows Forms .NET | Microsoft Learn. Add Command Binding and DataContext Support in .NET 8+

Unplanned
Last Updated: 21 May 2024 10:33 by ADMIN
The location of controls is messed up when RadForm is shown runtime on HDPI (125%).
Unplanned
Last Updated: 16 May 2024 11:52 by ADMIN

 

 

When a RadValidationRule has the "PropertyName" assigned to a non-existent property, the RadVAlidationProvider.ValidateCore throws a NullReference exception because the property cannot be found via reflection and throws no error handling.

 

From OpenEdge ABL class, this is the code written into the forms InitializeComponent method.  The "IsValid"  property doesn't actually exist.

        radValidationRule3:AddControl(THIS-OBJECT:myTextBox).         radValidationRule3:Operator = Telerik.WinControls.Data.FilterOperator:IsNotEqualTo.         radValidationRule3:PropertyName = "IsValid".         radValidationRule3:ToolTipText = "Test".         radValidationRule3:Value = TRUE.

 

While we don't expect the functionality to actually work because the property isn't actually available to .NET, but the NullReferenceException is poorly handled.

 

I've attached a screenshot of the bit of code from RadValidationProvider.ValidateCore where this occurs.  This is from version 2020.3.1020.20

Here is the thrown stack exception details from visual studio.

System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Telerik.WinControls.UI
StackTrace:
at Telerik.WinControls.UI.RadValidationProvider.ValidateCore(Object sender, EventArgs e)

 

This

Unplanned
Last Updated: 03 May 2024 13:42 by ADMIN

Documentation about High-DPI mechanisms available on the website is very outdated and mostly does not consider the changes and improvements that Microsoft made with .net 7.0 and 8.0.

What's needed is thorough documentation about Telerik's behavior in comparison with the different situations on .net Framework 4.9 and the major .net Versions 6.0, 7.0, and 8.0.

Kind regards

Erwin

Unplanned
Last Updated: 24 Apr 2024 08:22 by ADMIN
Exceptions

Top Level Exception
Type:        System.OverflowException
Message:     Arithmetic operation resulted in an overflow.
Source:      TelerikCommon
Stack Trace: at Telerik.WinControls.NativeMethods.GetMonitorDpi(Screen screen, DpiType dpiType)
   at Telerik.WinControls.VisualElement.GetScaledFont(Single scale, Font fontToScale)
   at Telerik.WinControls.UI.LightVisualElement.CreateTextParams()
Unplanned
Last Updated: 17 Apr 2024 14:40 by ADMIN

Repro-steps:

  1. Create a RadGridView
  2. MultiSelect = true
  3. SelectionMode = CellSelect
  4. Fill it with lots of cells (in my case: 7 columns, 8544 rows)
  5. Press CTRL-A
  6. Press Delete

Expected behavior:

  • All rows are gone

Observed behavior:

  • 50/50 change that some rows remain.

I traced the problem back to the method GridViewSleectedCellsCollection.IsSelected / GetHashCodeString.

internal bool IsSelected(GridViewRowInfo row, GridViewColumn column) => row != null && column is GridViewDataColumn && this.hashtable.Contains((object) this.GetHashCodeString(row, column));

When a cell is selected with GridViewCellInfo.IsSelected = true, it checks if it has already been selected. It does so by calling GridViewSleectedCellsCollection.IsSelected. which checks if a HasCodeString is already in a hashtable. But, when another selected cell has the same HasCodeString, the result is (incorrectly) true, which will result in not added it to the collection of selected cells. 

I guess that is can be easily fixed by changing:

 private string GetHashCodeString(GridViewRowInfo row, GridViewColumn column)
    {
      int hashCode = row.GetHashCode();
      string str1 = hashCode.ToString();
      hashCode = column.GetHashCode();
      string str2 = hashCode.ToString();
      return str1 + str2;
    }

to:

 private string GetHashCodeString(GridViewRowInfo row, GridViewColumn column)
    {
      int hashCode = row.GetHashCode();
      string str1 = hashCode.ToString();
      hashCode = column.GetHashCode();
      string str2 = hashCode.ToString();
      return str1 + "_" + str2;
    }

Since hashcodes 1 + 23 will result in the same string as hashcodes 12 + 3.

Making this change will reduce the problem significantly, but not entirely since hashCodes will never be unique.

Unplanned
Last Updated: 17 Apr 2024 14:39 by ADMIN

Apply the Office2010Silver theme to your application since it has a good border indication for the focus in RadSpinEditor. 

Please run the attached project and click in the RadSpinEditor that is not in the RadPopupContainer. You will notice that when you move the mouse away that the border is highlighted in yellow showing that the control has complete focus. Now, click in the RadSpinEditor that is in the RadPopupContainer and move your mouse away. You will notice that the border is not highlighted in yellow indicating that it does not have focus. You can also see that it does not fire the GotFocus event. If you click closer to the border out of the "TextBox" area, the control border will stay yellow showing complete focus and fire off the GotFocus event. However, in this case, the caret is not displayed.

Workaround: handle the GotFocus/LostFocus events for the SpinElement.TextBoxItem and apply the desired border for indicating the focus.
Unplanned
Last Updated: 17 Apr 2024 14:36 by ADMIN
ADMIN
Created by: Hristo
Comments: 0
Category: UI for WinForms
Type: Bug Report
3
Workaround: manually increase the font of the controls

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);

    var dpi = NativeMethods.GetSystemDpi();

    this.Font = new Font(this.Font.Name, this.Font.Size * dpi.X / 96, this.Font.Style);
    this.radMenu1.Font = new Font(this.radMenu1.Font.Name, this.radMenu1.Font.Size * dpi.X / 96, this.radMenu1.Font.Style);
    this.radCommandBar1.Font = new Font(this.radCommandBar1.Font.Name, this.radCommandBar1.Font.Size * dpi.X / 96, this.radCommandBar1.Font.Style);
}
Unplanned
Last Updated: 17 Apr 2024 14:33 by ADMIN

UI for WinForms - Latest version.

RadRibbonBarBackstageView - Edit UI Elements

RootRadElement.BackstageViewElement.BackstageItemsPanelElement.BackgroundImage

Click the … button and select your image.

 

To REMOVE this image you SHOULD be able to do the following:

click on the property BackgroundImage which should highlight the image-string completely.

click delete.

done.

What you HAVE to do is this: 

click on the property BackgroundImage.

click delete.

BEFORE YOU LEAVE THIS PROPERTY you have to click the … box

Once the box opens you have to click "Cancel"

 

Right below this property is BackgroundImageLayout - set to "Center"

There's a dropdown arrow presumably to allow you to change the layout but nothing happens when you click it.

 

*Missing Property?*

Whatever image you place in this control it gets stretched and there doesn't appear to be any way to avoid this:

place an image.

run the winforms ap.

set the main form in normal mode (not maximized) and resize the height.

Your image will stretch, shrink...this is not a UI property that should be presumed.  We should be able to set None, Tile, Center, Stretch or Zoom.

 

Still *LOVE* your products :)

Kindest regards,

Curtis Smith