Telerik Forums
UI for WinForms Forum
6 answers
241 views

Let's say we have 5 items and we want to group them by either 'Outdoor' or 'Indoor' respectively.

1) Lawn Mower - Outdoor

2) Cabinet - Indoor

3) Fence - Outdoor

4) Table - Indoor

5) Couch - Indoor

 

There isn't a column dedicated to whether these are Indoor or Outdoor items, but I still want to group them based on that "Indoor/Outdoor" data that I have for them.

I can do this with a ListView fairly easily by just dynamically creating a group and adding the items I want to this group.  What I need to know is how I can create a group in a GridView based off of data not present in the columns.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Feb 2019
3 answers
92 views

Hello,

My RadRangeSelector associates to a RadChartView.

The RadChartView updates in real time, likewise for the RadRangeSelector by using:

RadRangeSelector1.RangeSelectorElement.InitializeElements()
RadRangeSelector1.RangeSelectorElement.ResetLayout(True)

 

Two controls update perfectly.

But if I move the RangeSelector or RangeSelectorScrollElement to change the range of the chart during updating, the move is very difficult.

Some time I cannot drag the selector or I cannot keep dragging for long time. It seems the mouse move event has been blocked for a while during the update.

But when I stop the update, it works ok.

The dragging is more smoothly for the static data chart than live data chart.

You can find the demo here:

https://www.dropbox.com/s/ag04nuonewr0y4a/TelerikWinFormsApp1.rar?dl=0

Thank you by advance.

Regards

Hristo
Telerik team
 answered on 05 Feb 2019
2 answers
91 views

Hello i'm using spline in this chart and why it goes below "ground" for some reason.

In the attachment you have values i wanna display and how spline goes below 0.

Thanks in advance!

Joavn
Top achievements
Rank 1
 answered on 05 Feb 2019
1 answer
86 views

Hello,

 

Let me start by saying I'm using 

rssGeneralView.SpreadsheetElement.PrintPreview()

to do the print, and the rssGeneralView spreadsheet has a workbook with multiple sheets. I'm saying this because there's always the change that I'm using the wrong command to do what I want.

 

So, the problem is that the dialogue that opens will only print the active worksheet, even though on its Settings I selected "Print entire Workbook".

 

P.S. This is irrelevant to this problem, but it's not the second consecutive post where when I try to post it I get the error message "Suspicious content has been detected by our anti-spam service. Try to revise your post or submit it for review."

I obviously have no suspicious content, so I'm just letting you know that there could be an issue with the anti-spam service.

Dimitar
Telerik team
 answered on 05 Feb 2019
2 answers
109 views

Hi,

I have a grid containing a GridViewRatingColumn (amongst other columns).

I need the grid to be read-only, and have set AllowEditRow and AllowAddNewRow properties to false on the radGridView.

None the less, the user is able to change the value of the rating field anyway. How do I prevent changing of the rating column as well?

Regards

Thomas

Thomas Bargholz
Top achievements
Rank 1
Iron
 answered on 05 Feb 2019
1 answer
106 views

Hello, i would like to know if it's possible to resize chart view area to fit container, at the moment whole ChartView is docked to "Fill" for that container but Area has that white border.
Example what i want is shown on image.

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Feb 2019
3 answers
186 views

Hi there,

I'm using a RadScheduler with the month view as ViewType in my WindowsForms application. The main goal is the following:

I need to set the width of each appointment based on integer values. For example: I have a total (100%) of 41. It should now create an appointment with value 41 with the full width. So far so good, this is easy. But I need now two different appointments ("Open" and "Done") with a percentage width of the 41. E.g. 27 "Open", so the width of this appointment should be about 66% of the full width. Then I have 14 for "Done", which should be an appointment with about 33% of the full width. I provided an example image of how it should look at the end.

I hope you know what I mean. Is this possible?

 

I add the appointments like this:

 

schedule.FocusedDate = DateTime.Today;
schedule.Resources.Add(new Resource() { Id = new EventId(1), Name = "PlannedDay", Color = Color.LightGreen });
schedule.GroupType = GroupType.Resource;
schedule.ActiveView.ResourcesPerView = 2;
schedule.Appointments.Clear();
 
Appointment app1 = new Appointment(DateTime.Today.AddDays(2), new TimeSpan(0, 0, 5), "Total: 41 Boxes");
Appointment app2 = new Appointment(DateTime.Today.AddDays(2), new TimeSpan(0, 0, 4), "Open: 27 Boxes");
Appointment app3 = new Appointment(DateTime.Today.AddDays(2), new TimeSpan(0, 0, 3), "Done: 14 Boxes");
 
app1.AllowEdit = false;
app1.AllowDelete = false;
app1.ResourceId = new EventId(1);
 
app2.AllowEdit = false;
app2.AllowDelete = false;
app2.ResourceId = new EventId(1);
 
app3.AllowEdit = false;
app3.AllowDelete = false;
app3.ResourceId = new EventId(1);
 
schedule.Appointments.Add(app1);
schedule.Appointments.Add(app2);
schedule.Appointments.Add(app3);
Danilo
Top achievements
Rank 1
 answered on 05 Feb 2019
3 answers
154 views
Is it possible to style a LinearAxis in a RadChart with ScatterLineSeries to have arrow heads in positive directions, as indicated in red on attached picture.
rudi
Top achievements
Rank 1
 answered on 05 Feb 2019
1 answer
417 views

How can I only transfer Datagridview selected row to a Radgridview with the same columns ?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Feb 2019
1 answer
265 views

In RadGridView, the user can set the string to search.

How to determine that RadGridView is searching? Is it possible to programmatically interrupt the search process?

If there are many rows in the table, the search can take quite a long time. If the user does not wait for the end of the search and closes the form with the RadGridView, an error occurs.

 

************** Текст исключения **************
System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "RadGridView".
в System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
в System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
в Telerik.WinControls.UI.GridSearchCellElement.searchRow_SearchProgressChanged(Object sender, SearchProgressChangedEventArgs e)
в Telerik.WinControls.UI.GridViewSearchRowInfo.OnSearchProgressChanged(SearchProgressChangedEventArgs e)
в Telerik.WinControls.UI.GridViewSearchRowInfo.ReportSearchProgress(Int32 percent, GridSearchResultCellInfo resultCell, GridSearchResultCellCollection resultCells)
в Telerik.WinControls.UI.GridViewSearchRowInfo.TraverseRows(DoWorkEventArgs e)

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Feb 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
CheckedDropDownList
ProgressBar
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
NavigationView
VirtualKeyboard
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?