Dim imageStream As Stream = File.OpenRead(DestPath)
Dim radDocument As RadDocument = txtBody.Document
Dim caretPosition As DocumentPosition = radDocument.CaretPosition
caretPosition.MoveToLastPositionInDocument()
Dim inlineImage As New ImageInline(imageStream)
txtBody.InsertInline(inlineImage)
this way the picture shows up in radrichtextbox but after sending the mail it only shows up in my attachments. I also want it to come embedded in the body, that is, in the part where the message is written. What should I do?
I have a RadTextBox whose MouseDown and MouseMove events do not fire when the mouse is inside the text box.
Running Spyxx reveals that at least the MouseMove event is firing. But both events are being ignored by the RadTextBox control.
Bug? Is this a known issue?
Jay
Hi,
Is it possible to export to Excel only the selected rows from a gridview using GridViewSpreadExport?
My code looks like this at the moment:
Using ms As New System.IO.MemoryStream
mspreadExporter = New GridViewSpreadExport(radDocuments) 'radDocuments is the gridview
Dim exportRenderer As New SpreadExportRenderer()
mspreadExporter.ExportFormat = SpreadExportFormat.Xlsx
mspreadExporter.ExportVisualSettings = False
mspreadExporter.HiddenColumnOption = HiddenOption.DoNotExport
mspreadExporter.ChildViewExportMode = ChildViewExportMode.ExportCurrentlyActiveView
mspreadExporter.SheetMaxRows = ExcelMaxRows._1048576
mspreadExporter.SheetName = "Report"
mspreadExporter.FileExportMode = FileExportMode.CreateOrOverrideFile
mspreadExporter.RunExport(ms, exportRenderer)
Using fileStream As New System.IO.FileStream(strFilename, IO.FileMode.Create, IO.FileAccess.Write)
ms.WriteTo(fileStream)
End Using
End Using
Hi, good morning.
I am using a Pivotgrid, PivotFieldList and Chartview.
The chartview graphs whatever the Pivotgrid has, but there are times when the Pivotgrid has too many records and the Chartview takes a long time to generate.
As seen in the documentation, a Chartview takes time, because it is recalculating the points to regenerate the graph, after having created it previously.
This has led me to think that if instead of the Chartview graphing the Pivotgrid, it would better graph a DataTable.
My idea is the following:
I already generated a filtered DataTable, the result of the interaction between the Pivotgrid and the PivotFieldList and that DataTable fills the Chartview to generate the graph, I think it would take less time to create the graph, since each time the filtered DataTable would be created.
I was looking at this example that you provide to create a graph from a datatable:
https://www.telerik.com/forums/use-radgridview-as-a-datasource-for-radchartview
But it does not graph as expected, that is, it does not show the graphs the same as when the pivotgrid is filled.
Is it possible to do this, or even if you do, will the graph creation time be the same? Because if so, there is no point in working on this solution.
Thank you very much for your attention.
Hello good afternoon.
I ask for your support, for the following.
In a graph, when there are many elements in X, the labels come together a lot and the text is not understood.
When I apply a configuration by code, the graph does look better:
horizontalAxis.MajorTickInterval = 10;
horizontalAxis.TickLength = 10;
horizontalAxis.TickWidth = 10;
I would like to start from the number of elements on the X axis that the labels begin to join, to automatically apply the aforementioned code.
Hi,
we have a problem when using the Enter key to select an item in a RadTextBox with Autocompletion because it's triggering the closing of the form, instead of just selected the item.
We have a simple form with a RadTextBox with Autocompletion enabled. In this form, we also have a Button that is used to close the window. This form has the "AcceptButton" property set to this Button. Once we select the RadTextBox and start typing, the autocompletion "dropdown" is shown with the multiple options. We scroll the options with the Arrow keys, and we want to select one element by pressing the Enter key. But, once the Enter key is pressed, the "AcceptButton" is triggered in the form, and the form closes. We only want to select the item with the Enter key without closing the window. Is this possible?
Note: We can't get rid of the "AcceptButton" functionality for the form, since it's a must for all forms in our application.
We attached a sample project with the reproduceable issue.
Please let us know how to achieve this functionality.
Thank you.
I have used designer of Telerik Controls for Winforms at runtime. It was working fine in .Net framework 4.8. After upgrade to .net6.0 I used the Nuget package UI.for.WinForms.AllControls.Net60.Trial. Telerik.WinControls.UI.Design assembly is missing in this package. Hence runtime designer feature is not working.
I've had this nagging error for the last few months with Visual Studio 2022.
Visual Studio 2022 stopped responding for 88 seconds. Disabling the extension Progress Telerik UI for Winforms Extension 2202.3.921.3.
The seconds shown are grossly underreported and exceed 180 seconds. I disabled it through Extensions>Manage Extensions. The freezing has stopped.
VS2019 is not exhibiting this behavior.
Microsoft Visual Studio Enterprise 2022
Version 17.4.0 Preview 2.1
VisualStudio.17.Preview/17.4.0-pre.2.1+32916.344
Microsoft .NET Framework
Version 4.8.04084
Win 10 21H2, Core i9-12900K, 64/1TNVMe
Before I attempt to go down this road, can the RadListControl (or any other Telerik control) do the following:
We need text on the left and 2 images on the right both of which can be clicked to fire separate events.
Thanks
Carl