Declined
Last Updated: 22 Nov 2024 08:54 by ADMIN

Hi, all. I am using the example you guys provide in your website and you can get from here: https://www.telerik.com/blogs/winforms-scaling-at-large-dpi-settings-is-it-even-possible-#example

As you can see in the image, I open the form in my main screen with Scale 100%. I have a second screen running in 150%. When I grab the form near to the left edge side of it, it resizes in one way, what I believe that is the correct way. However, if you grab the form near to right edge side, near the minimize, maximize and close button, it resizes differently. We have several users using our application and we are not able to fix this scalling issue, even in your own example. Could you guys have a look at it and prioritize? This kind of issue has been around for a long time without a final resolution. if not possible, let us know that we will have to decide move to another development tool.

Telerik version: 2024.2.514

Declined
Last Updated: 16 Sep 2024 09:31 by ADMIN
Created by: Laszlo
Comments: 1
Category: UI for WinForms
Type: Feature Request
0

Please consider integration / enhancement of the following rich sting rendering capabilities enabling performance for quick rich string related rendering tasks, providing further alternatives to GDI and GDI+ based tiresome and limited solutions, allowing scaling: https://github.com/toptensoftware/RichTextKit

 

 

Declined
Last Updated: 26 Aug 2024 17:09 by ADMIN
Created by: fabrizio
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

Hi, the new feauture Merge Cells is very nice but the alignment is only at the center.

Can I align the merged cells in the same mode of the column?

Thanks, Fabrizio

Declined
Last Updated: 09 Aug 2024 11:54 by ADMIN
Created by: Czeshirecat
Comments: 2
Category: UI for WinForms
Type: Feature Request
0

I’m converting 20+ year old c# .net winform software that a clever internal ex dev wrote a themed control suite for. I’ve been working with those controls for almost the same length of time but am recently tasked with updating the whole app as customers are experiencing fall overs on some modern versions of Windows. Ive had the pleasure of (almost quietly ?) converting/updating by using Telerik for many years as my choice of replacement themed control systems.

Conversion experience has been pretty good, except for combo boxes, probably listboxes too (sorry guys Im writing this in bed at 5am so can’t/won’t just go testing). I did try, i think, using your conversion wizards without success. I do wish that you’d let us add any type of object to a combobox.item array in the same way that microsoft winform control allows.
Ive also noticed that some events dont occur in telerik, eg index changed need to be switched to valuechanged and these are only spotted when testing, which means extra work.

anyway. Bless an thanks to you all for my good experience with Progress/Telerik. Im old, poorly and crumbly now and wont be around much longer. May i last long enough not to need a pension to survive and i hope each of you invests in enough private pension to give yourselves a decent holiday or three per year ;) 

 

Declined
Last Updated: 22 Jul 2024 13:40 by ADMIN
Created by: Henri
Comments: 1
Category: UI for WinForms
Type: Bug Report
1
I am running the latest version of Telerik for Winforms. Once we click in the launch demo it is crashing. Another problem, I am not able to find the tssp files for the latest Visual Studio 2022 light and dark. Where are the files located? How can I download them?
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:54 by ADMIN

When using the new Office 2019 Light theme in the SyntaxEditor there are no scrollbars displayed in the CompletionList window. Also the list is not scrollable using the scrollwheel. Only when using the arrows on the keyboard.

When using the fluent theme it is working fine.

See attached screenshots.

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. 

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.

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.
Declined
Last Updated: 17 Apr 2024 08:22 by ADMIN
The issue is reproducible only on Windows XP. On newer versions of windows, the images are rendered as expected.

WORKAROUND: You may try implementing custom filter that handles the CMYK scenario. How to implement custom DCTDecode filter is described in this documentation article:
https://docs.telerik.com/devtools/winforms/pdfviewer/customize-and-extensibility/customize-pdf-rendering
Declined
Last Updated: 03 Apr 2024 15:24 by Sagar
Created by: Sagar
Comments: 4
Category: UI for WinForms
Type: Bug Report
0
# Vulnerability Report: Account Takeover via Email Change Functionality

## Summary:
During security testing of the email change functionality on the Telerik website, it was discovered that the application can be vulnerable to an account takeover attack. The vulnerability allows an attacker to change the email address associated with an account to their own email address, effectively taking over the victim's account.

## Vulnerability Details:
- **Functionality Description:**
  - The Telerik website provides a functionality for users to request a change in their email address.
  - This functionality consists of two sections: current email and new email.
  - The current email is not accessible from the user interface, while the new email can be inputted by the user.
  - After inputting the new email and clicking the "Change Email" button, the user's request is processed.

- **Attack Scenario:**
  1. **Attacker Inputs Their Email:** The attacker inputs their own email address in the new email section.
  2. **Intercepting the Request:** Using interception tools, the attacker intercepts the request before it is sent to the server.
  3. **Modifying the Request:** The attacker modifies the request to replace their own email address with the victim's email address in the current email section.
  4. **Consent Form Manipulation:** Additionally, the attacker can manipulate the consent form associated with the email change request to gain access to the victim's account without their consent.
  5. **Changing the Email Address:** The modified request is forwarded to the server, resulting in the victim's email address being changed to the attacker's email address.



## Impact:
- **Account Takeover:** The vulnerability allows an attacker to take over the victim's account by changing the email address associated with it.
- **Data Access:** Once the attacker gains access to the victim's account, they may have unauthorized access to sensitive data and functionalities associated with the account.

## Mitigation Recommendations:
- **Input Validation:** Implement strict input validation to ensure that only legitimate email addresses are accepted in the new email section.
- **Consent Verification:** Require additional verification steps, such as email confirmation or user authentication, before processing email change requests.
- **Session Management:** Implement session management mechanisms to detect and prevent unauthorized access to account settings and functionalities.
- **Security Awareness:** Educate users about the risks of phishing attacks and social engineering tactics used by attackers to gain unauthorized access to accounts.

## Affected URL:
- Email Change Functionality: [https://www.telerik.com/account/support-center/email-change](https://www.telerik.com/account/support-center/email-change)

## Conclusion:
The discovered vulnerability poses a significant security risk to Telerik website users by allowing attackers to take over accounts through manipulation of the email change functionality. It is imperative for the development team to address this vulnerability promptly by implementing appropriate security controls and mitigations to safeguard user accounts from unauthorized access.

**Best Regards,**
Sagar Dhoot
Declined
Last Updated: 01 Mar 2024 13:13 by ADMIN

PerformClick method of RadButtonElement is sending next error:

System.InvalidCastException: 'Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.MouseEventArgs'.

Find my code below:

private void btnAddField_Click(object sender, EventArgs e)
{
    RadDiagramShape sourceShape = new RadDiagramShape()
    {
        Text = "source",
        Shape = new RoundRectShape(5),
        BackColor = Color.Red
    };

    sourceShape.Position = new Telerik.Windows.Diagrams.Core.Point(150, 100);
    radDiagram.AddShape(sourceShape);

    sourceShape.IsSelected = true;
    RadButtonElement additionalContent = Telerik.WinControls.UI.Diagrams.Primitives.ItemInformationAdorner.GetAdditionalContent(
                                            this.radDiagram.DiagramElement.ItemInformationAdorner) as RadButtonElement;

    additionalContent.PerformClick();
}

What I want is to display the SettingsPane automatically when adding a RadDiagramShape item in a RadDiagram

Regards

Declined
Last Updated: 20 Feb 2024 12:26 by ADMIN

Hi- When I add a Rad context menu to a RadToolbarForm, the toolbar vanishes from the designer after a build.  This is new behavior because I have other context menus that I had previously added to the form.  If I drag a RadContextMenu from the toolkit, or I copy/paste an existing context menu, the toolbar disappears after a build.  I am running the latest release (2024.1.130) and toolkit config (although this also happens when running the previous Telerik release)

I tried closing the designer before the build and the toolbar still disappears.  Doing a Clean before build has no effect.  This form is inherited from a simple RadToolbar form (no controls except the toolbar).  The toolbar is still listed in the list of controls for the form

Ha!  Just found out what's happening.  It's deleting the toolbar configuration code from the designer code.  Everything below is gone.  If I add it back in, then do anything with the new context menu, like rename it, it gets removed again

            // 
            // RadToolbarFormControl1
            // 
            RadToolbarFormControl1.AutoSize = false;
            RadToolbarFormControl1.CenterItems.AddRange(new Telerik.WinControls.RadItem[] { RadLabelElement1, RadButtonElement_Task_New, RadButtonElement_Task_Edit, RadButtonElement_Task_Delete, RadCheckBoxElement_ShowCompleted });
            RadToolbarFormControl1.CenterItemsVerticalAlignment = Telerik.WinControls.UI.RadVerticalAlignment.Bottom;
            RadToolbarFormControl1.FarItems.AddRange(new Telerik.WinControls.RadItem[] { RadLabelElement_WorkHours, RadLabelElement_Work_StartDate, RadLabelElement_Work_EndDate, RadButtonElement_SelectDates, RadButtonElement_Invoices, RadButtonElement_Summary });
            RadToolbarFormControl1.NearItems.AddRange(new Telerik.WinControls.RadItem[] { RadLabelElement2, RadLabelElement_Projects, RadButtonElement_New, RadButtonElement_Edit, RadButtonElement_Delete, RadButtonElement_Refresh });
            RadToolbarFormControl1.ShowText = false;
            RadToolbarFormControl1.Size = new Size(1804, 52);

 

Here's my dev environment:

Microsoft Visual Studio Community 2022
Version 17.8.7
VisualStudio.17.Release/17.8.7+34601.278
Microsoft .NET Framework
Version 4.8.09037

Installed Version: Community

ActiveReports 16   16.3.1.0
The first report writer for Microsoft .NET

ASP.NET and Web Tools   17.8.358.6298
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.8.358.6298
Azure App Service Tools v3.0.0

C# Tools   4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Code Converter   1.0
Code Converter Extension Details

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.8.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Progress Telerik UI for WinForms Extension   2023.3.1110.93
Progress® Telerik® UI for WinForms Extension

TypeScript Tools   17.0.20920.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

 

Declined
Last Updated: 16 Feb 2024 22:25 by ADMIN

I can't provide a project or even code snippets that would make sense out of context because the code base is too complex for an easy replication to be setup.

We are trying various things like calling Refresh, Update.

 

Hoping this is something you've encountered before and have some suggestions.

Declined
Last Updated: 16 Feb 2024 22:24 by ADMIN

C#. net core 6, winforms application, TekerikNuGet3 package source, UI.for.WinForms.AllControls.NetCore package 2022.2.622

I am trying to export selected cells from a RadGridView as a csv file.

When using "var exporter = new ExportToCSV(Dgv)" then "exporter.RunExport(fileName);" writes the csv file correctly. It exports every cell.

It doesn't support exporting selections so I wrote a function to do this . The one below is what I used in my project to test what I was doing. It initially writes the csv to a worksheet and wrote that using formatprovider to file, then I just created a stringbuilder adding quotes and appended that to the file afterwards.

Writing the worksheet, the csv values haven't been quoted, plus number fields have had leading zeros removed which proves to be a problem when telephone numbers are stored in a field.

So I googled and found the Settings property which is there to set csv options. But they are private, not public therefore I can't set up the csv propertly.

private void radButton1_Click(object sender, EventArgs e)
  {

    var workbook = new Workbook();
    var worksheet = workbook.Worksheets.Add();

    var rowIndex = 0;
    var columnIndex = -1;
    var sb = new StringBuilder();
    var prevColumnIndex = -1;

    // ForEach cell are accessed vertically then horizontally.
    foreach (var cell in Dgv.SelectedCells)
    {
      // Cell is included in selection even if it's invisible
      // so check visibility and ignore if it isnt
      if (!cell.ColumnInfo.IsVisible) continue;

      // At bottom of column, rownum will change. Watch for this
      // and reset x and y values
      var rowNum = cell.RowInfo.Index;
      if (rowNum != prevColumnIndex)
      {
        prevColumnIndex = rowNum;
        rowIndex = 0;
        columnIndex++;
        sb.AppendLine("");
      }
      else if (!string.IsNullOrEmpty(sb.ToString()))
        sb.Append(",");

      var value = cell.Value;
      worksheet.Cells[columnIndex, rowIndex++ ].SetValue(value.ToString());
      sb.Append($"\"{value.ToString()}\"");
    }

    var fileName = @"C:\temp\SampleFile.csv";

    IWorkbookFormatProvider formatProvider = new CsvFormatProvider();
    using var output = new FileStream(fileName, FileMode.Create);
    formatProvider.Export(workbook, output);
    output.Close();

    // Write contents of sb to the file for comparison sake
    File.AppendAllText(fileName, sb.ToString());

  }

Declined
Last Updated: 16 Feb 2024 22:22 by ADMIN

I just upgraded to the latest version of Telerik products and facing the issues described below.

When dragging and drop Telerik UI objects from the toolbar on a form, the dialog box below is displayed with question but there is no button to click to answer the question and I don't where to stop it.

See screenshot attached.

1 2 3 4 5 6