Telerik Forums
UI for WinForms Forum
7 answers
503 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
182 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
543 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
569 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
216 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
456 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
720 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
449 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
454 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
1 answer
159 views

Hi,

How do I make this part(marked in the picture) of the child table it's linked to invisible ?

Dimitar
Telerik team
 answered on 08 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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?