Telerik Forums
UI for WinForms Forum
1 answer
170 views

Hey guys,

It is possible to export the data in radGridView to Excel, including the summary rows, I have a grouped grid with summary rows, I haven't found a way to export the grouped grid, but at least I would like to know if I can include the summary rows.

 

PS: If I can export with the theme style, it would be great

Thank you!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2019
7 answers
488 views
Hi,

We have a grid with a couple of thousand rows of data, handlers on data change/selection change events, RowFormatting/Cell Formatting events and a number of conditional formatting rules applied.

We are trying to ensure that the user is placed back on their previously selected row after the grid data is refreshed. At the moment, we are storing the ID of the current row and after a refresh call Grid.TableElement.ScrollToRow to navigate back to the row. There is validation present to ensure that the row is still present.

The ScrollToRow seems to be performing very slowly though when the selected row is fairly far down the grid and it is difficult to track whether this is caused by a specific event firing for selection change, the formatting events, conditional formatting rules or something else, so I suspect that the ScrollToRow approach is not the ideal solution.

Is there a better way to navigate back to the previously selected row when the grid is refreshed?

Thanks,

Mark.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Nov 2019
2 answers
164 views

Hello

I need to perform a drag from a radgridview onto a radtextboxcontrol (which is in a talelayout which is in a PageView control ..)

I have managed to implement a drag and drop within a gridview to reorder the lines
and to do a drag from a grid view and drop on another gridview

but I can't find how to do a drag from a gridview and a drop on the textboxcontrol.
I guess this is related to the OLEDragandDrop and the RadGradDorpServices but I'm stuck.

Thanks in advance

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 13 Nov 2019
1 answer
486 views

Hey,

I'm working on Telerik UI for Winforms version 2019 R3. I have to implement in my project below functionality:

  1. Pdf file is loaded using RadPdfViewer
  2. User can mark using rectangles places on each page of the document
  3. After mark place by user I have to get coordinates of the rectangle in current page
  4. Each mark should be visible only on the page on witch is drawn
  5. Rectangles should be scalable and after scroll should point the same place

Is any possible  to realize above points?

I found something about custom layer https://www.telerik.com/forums/text-selection-and-highlight but the solution is in WPF.

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Nov 2019
2 answers
538 views

Hi- 

We're trying to add multiple summary rows to a gridview, similar to the single ones being added here:

https://docs.telerik.com/devtools/winforms/controls/gridview/rows/summary-rows

Using that example, I added one total, but can't figure out how to add the others that I need:  The example code below just shows a total for TotalTax, but not the others.   Can you point me to any documentation that shows how to do this?   Thanks, Evan

            Me.RGV_RIA_Input_Summary.MasterTemplate.ShowTotals = True

            Dim summaryItem As New GridViewSummaryItem()
            Dim summaryItemState As New GridViewSummaryItem("State", "{0}", GridAggregateFunction.Last)
            Dim summaryItemTotalTax As New GridViewSummaryItem("TotalTax", "Total Tax = {0}", GridAggregateFunction.Sum)
            Dim summaryItemGrossSales As New GridViewSummaryItem("GrossSales", "Total Gross Sales = {0}", GridAggregateFunction.Sum)
            Dim summaryItemExemptionAmount As New GridViewSummaryItem("ExemptionAmount", "Total Exempt = {0}", GridAggregateFunction.Sum)
            Dim summaryItemTotalTaxableSales As New GridViewSummaryItem("TotalTaxableSales", "Total Taxable = {0}", GridAggregateFunction.Sum)
            Dim summaryRowItem2 As New GridViewSummaryRowItem(New GridViewSummaryItem() {summaryItemState, summaryItemTotalTax, summaryItemGrossSales, summaryItemExemptionAmount, summaryItemTotalTaxableSales})
            Me.RGV_RIA_Input_Summary.SummaryRowsTop.Add(summaryRowItem2)

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2019
2 answers
187 views

hi

how i can create a chart 3D linear 

Thank you for giving me an example.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2019
6 answers
421 views

Hi Team,

 

I have changed the backcolor of the tooltip with below code but it is not working,

 

RadToolTip toolTip = new RadToolTip();
toolTip.IsBalloon = true;
toolTip.BackColor = Color.LightSkyBlue;
toolTip.SetToolTip(this.button1, "Telerik test");
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Nov 2019
19 answers
694 views

RadGridView.MasterGridViewTemplate.Filter.ToString()
easily gives me the current filter(s) .

Would be real nice if there were a just as easy way to set (restore) filter(s).

I still haven't figured out how to set the filters.
I guess I'll have to start with
Dim item As New Telerik.WinControls.Data.FilterExpression
RadGridView.MasterGridViewTemplate.FilterExpressions.Clear()
... not sure how to parse the string I got above and how to build it into item
RadGridView.MasterGridViewTemplate.FilterExpressions.Add(item)

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Nov 2019
8 answers
413 views

Hello

I have a Command bar with one row and three StripElements
Depending on some condition I wish to programmatically set the second strip element to visible or collapsed.
When I change the visibility property of the second strip element from Visible to Collapsed it is no longer visible but the third strip element does not move against the first strip, an empty space remains between the first end the third strip.

Also I have set the grip and overflow visibility to collapsed on all three strip elements.

How can I "force" the collapsing to occur ?

Thanks in advance

PJ

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Nov 2019
4 answers
436 views

Hi,

My issue is when I try to export the RadGridView data to excel I cant compile.

Language : VB.net

Using this code snippet

getting error on this line

Dim renderer As New Telerik.WinControls.Export.SpreadExportRenderer()

 

image attached for better understanding.

can anyone tell me what I am doing wrong?

isn't  SpreadExportRenderer member of Telerik.WinControls.Export ?

 

Nadya | Tech Support Engineer
Telerik team
 answered on 11 Nov 2019
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?