Hi folks. There seems to be a lot of questions about this and every answer I could find pointed me at some web solution. This is Winforms and nothing I've seen so far has been in line with my current issue - so here goes!
WinForms .Net 4.7.2 VB
A simple grid (See gridPIC.png)
3 Columns:
Export property settings:
When using ExportFormat = SpreadStreamExportFormat.Csv you can see the integer shows 111, the 2 decimal data shows 222.22 and the four decimal data shows 333.3333 as expected. (See csvPIC.png)
But when using ExportFormat = SpreadStreamExportFormat.Xlsx the results are incorrect (*See ExcelPic.png)
I was expecting that the export file would include the format information. I thought perhaps because I'd set spreadStreamExport.ExportVisualSettings = False that this was the cause but I can flip that to True and the output is identical.
The DATA that gets into Excel IS CORRECT. It's just not formatting the cells as expected.
Is there any way for spreadStreamExport to output the proper Decimal formatting?
If yes, can you point me at a sample? C# is just fine if you folks aren't vb.net users.
Thank you all!
Curtis

I have abound gridview that i have added a checkbox column to as the first column.
i cannot check any checkboxes in any row, only able to check the headercheckbox which selects all checkboxes of every row.
Dim checkboxcolumn As New GridViewCheckBoxColumn
checkboxcolumn.DataType = GetType(Integer)
checkboxcolumn.Name = "SelectedColumn"
checkboxcolumn.FieldName = "Select"
checkboxcolumn.HeaderText = "Select?"
GV_Assets.MasterTemplate.Columns.Add(checkboxcolumn)
checkboxcolumn.EnableHeaderCheckBox = True
radDDL.DropDownListElement.TextBox.Fill.BackColor = Color.Red;How to convert PDF pages to images in .NET Framework app? I've scoured the site, and it seems you recommend something like this:
RadPdfViewer pdfViewer = new RadPdfViewer();
pdfViewer.DocumentLoaded += (sender, e) =>
{
if (sender is RadPdfViewerElement pdfViewerElement)
{
for (int i = 1; i <= pdfViewerElement.Document.Pages.Count; i++)
{
Image pageImage = pdfViewerElement.ExportPage(i, 1, true, ImageFormat.Jpeg);
// Use pageImage
}
}
};
pdfViewer.LoadDocument(pdfPath);
pdfViewer.LoadElementTree();
Application.DoEvents();Is this really the best way for .NET Framework apps? There is an example that uses PdfProcessing instead of PdfViewer, but requires the assembly Telerik.Documents.Fixed.FormatProviders.Image.Skia, which I don't have available in my Visual Studio with latest update of Telerik UI for WinForms 2024.3.806.462. Nor is it available on nuget, or I don't know how to find it.

Hi everyone,
I’m currently using RadRichTextEditor to print logs. I have the following scenario:
How can I change the font color for different lines in RadRichTextEditor?
Thank you!

Created a column like this:
if (operation == "viplata")
{
GridViewCheckBoxColumn checkBoxColumn = new GridViewCheckBoxColumn
{
DataType = typeof(bool),
Name = "Выбрать",
FieldName = "Выбрать",
HeaderText = "Выбрать",
EditMode = EditMode.OnValueChange,
ReadOnly = false
};
checkBoxColumn.EnableHeaderCheckBox = true;
radGridView1.MasterTemplate.Columns.Add(checkBoxColumn);
}The column is shown, but nothing can be selected. I have an event connected to DataGridView1_DoubleClick, so the checkboxes must be set by one click. How can I implement it?
I have grouping enabled in my grid.How can I make it so that when I press a key, only open checkBoxColumn groups are selected?Thanks for your help.
Hi, I am customizing the theme VisualStudio2022Light. I have changed the purple color to the teal. However, I am not able to change the background and selected row in the theme.
When I run my application, it is still in purple.
I found a similar issue where I couldn't find where I can change the close button during click in the RadForm.
Create new Word-inspired project and add CommandExecuting event handler with the following code:
private void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
if (e.Command is Telerik.WinForms.Documents.RichTextBoxCommands.SaveCommand)
{
e.Cancel = true;
var newForm = new MainForm();
newForm.Show();
}
}When I click on Save quick-button I expect to see new form active and in focus, but what actually happens is that new form is created, gets in focus briefly, and then the old form steals the focus. How can I fix the focus steal? I need new form to be non-modal.
In theory I should be able to do it if I call Show(this) instead of Show(), and in OnShown overload set Owner = null, but even though the active window now is the new form, the keyboard focus is still on old form (type something to see). I suspect there is some OnTimer interference. Do you have an adequate solution?
Hi,
is there a way to clear the selection completely in a VirtualGrid?
I have a simple VirtualGrid with SelectionMode=FullRowSelect and MultiSelect=true. When I use the ClearSelection method the arrow in the row header is still visible and also the last clicked cell (see the attached video in the zip file).
Thank you very much.
Emanuele
