Telerik Forums
UI for WinForms Forum
0 answers
77 views

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?

Rabia Nur
Top achievements
Rank 1
 asked on 21 Jun 2023
1 answer
80 views

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

 

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jun 2023
1 answer
118 views

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

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jun 2023
1 answer
80 views

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.

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jun 2023
1 answer
70 views
Is there a way to add a ButtonTextBox to the status or ribbon bars?   I'm trying to create a fast way for users to open a form that requires parameters.   Rather than popping a form just to ask for the parameters, I'm hoping to I could have someplace in a tool bar -- much the way that there is a URL bar on your browser to put your search parameters which it passes to your search engine.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jun 2023
1 answer
68 views

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.

My fear is that at some point, it doesn't graph well and it jumps strangely when graphing, could this happen?

Thank you so much
Dinko | Tech Support Engineer
Telerik team
 answered on 19 Jun 2023
1 answer
131 views

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.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2023
1 answer
220 views

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.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2023
7 answers
1.8K+ views

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

 

erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Jun 2023
1 answer
66 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jun 2023
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?