Telerik Forums
UI for WinForms Forum
1 answer
190 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
119 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
123 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
101 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
193 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
341 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
2.1K+ 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
113 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
1 answer
148 views

Hi,

I am new to Telerik UI Winforms need a help for below mention needs

Have two ComboBoxColumn in a grid based on selection of item in 1st ComboBox values in 2nd ComboBox is loaded(just a cascading of ComboBox ).
But in another row I am choosing some other value in 1st ComboBox now I need some other datalist in 2nd ComboBox how I can provide this feature with Telrik grid.

Basically want to choose different datasources for 2nd ComboBox column different rows.

for better understanding kindly refer to attached image.

I am using Telerik grid and GridViewComboBoxColumn as column type in grid.

Thankyou 

 

 

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

Are there coding samples somewhere to give me an idea of how to write selections made in a RadCheckedDropDownList, which is inside a RadGridView, back to a database?

Thank you.

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 15 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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?