Telerik Forums
UI for WinForms Forum
3 answers
170 views
Hello,

I am trying to create a ListView that contains a custom visual item containing multiple ChartViews.   What I am trying to achieve is a list, with some text for each item on the left and multiple pie charts horizontally across the item.  I have looked at the documentation for creating custom items in a ListView and taken basically the same approach.  I create a StackLayoutPanel in CreateChildItems in my SimpleListViewVisualItem derived class.  I add a LightVisualElement to the layout which will contain some text.  Then I try to add RadChartElements to the stack.  The problem is I cannot figure out the correct way to create the RadChartElement for this scenario.   I have tried many variations, but none seem to work. 

 I have tried to declare RadChartView's as members in the VisualItem class, create them in them in CreateChildItems and add them with a call like layout.Children.Add(myChartView.ChartElement).   Then in SynchronizeProperties, I go ahead and blow away the series for the chart and recreate it with the correct data for the item.  This almost works, except that only the first item in my list will ever display correctly. 

I have tried to declare RadChartElement's as members of the VisualItem class, but then I cannot figure out how to set the series for the chart in SynchronizeProperties

I have even tried creating the RadChartView in CreateChildItems, then in SynchronizeProperties, I just recreate the RadChartView and point the children of the layout to the newly created chart.ChartElement.

I have tried just recreating the entire layout in SynchronizeProperties.

...and many more combinations.

The best I could do with any of my attempts did correctly display the *first item*, with text on the left and four pie charts with correct data to the right, but *only the first item*.  In all the other items, the chart elements appear blank.

Is this impossible in the current version of the controls for Winforms, or am I missing something?

Best regards,
Justin

George
Telerik team
 answered on 14 Mar 2014
7 answers
210 views

Using a GridView control to bind to Hierarchical Data programmatically.  One of the columns in the Child Template  is a Combo Box. One of the requirements is that the items listed in the combo box are dependent on a value from a Column in the Parent row.

 

For example, if a Column named KitNumber  in the Parent row has a value of  12345 on editing the child row, the combo box should only display the PartNumbers that are relevant to the KitNumber.  Sounds simple enough but I have not been able to figure this out using the GridView control.  Is this possible?

Any suggestions greatly appreciated.

Stefan
Telerik team
 answered on 14 Mar 2014
7 answers
339 views
Hello there,

I have changed the default Segoe font to Arial 9pt for my RadGridView using the IDE. But the drop-downlist of items in a GridViewComboBoxColumn does not follow and still displays as Segoe. There is no option in the IDE to alter it. I am trying to find out how to alter the font of the drop-down list in code please? (vb.net)

I imagine I could use VisualStyle builder but I cannot seem to export from that all the settings for a given off-the-shelf theme, and I do not havethe time to make a whole theme with all it's settings...

Thanks in advance
Stefan
Telerik team
 answered on 14 Mar 2014
3 answers
285 views
If SelectNextOnDoubleClick is enabled, even if the control is set to ReadOnly = true, you can change the value by double clicking on the control.

The only workaround seems to disable the setting...
Stefan
Telerik team
 answered on 14 Mar 2014
12 answers
167 views
How can I turn off the grid lines in a MultiColumnComboBox?

Thanks,

David
Iva
Telerik team
 answered on 14 Mar 2014
1 answer
279 views
Hi.
I would like to achieve highlight of checkbox to be the same as mouse hover when I focus on checkbox with tab button. VisualStyleBuilder doesn't support this (or I just can't see this option). How can I achieve my goal?
Cheers,
Kuba.
Dimitar
Telerik team
 answered on 14 Mar 2014
1 answer
235 views
Is there a simple way to fill DropDownList with data from database instead of enum?

I've seen examples with "EditorInitialized" but that is too incomprehensible for me and to messy form my code.
I'am not real programmer and jusing only simple things, Is there something like this:

Dim x As New PropertyStoreItem(GetType(Something), "Status", Nothing, "Status", "", False)
Something.DataSource = linqquery

Dimitar
Telerik team
 answered on 13 Mar 2014
1 answer
157 views
Hi,

I am trying to merge one RadDocument into other, I have numbered list added to RichTextBox from Ribbon menu and after i merge this raddocument, by  below statements, i dont see the numbers in the numbered list

 aPolicyRadDocument.Selection.SelectAll();
mergedDocumentIntroductory.InsertFragment(aPolicyRadDocument.Selection.CopySelectedDocumentElements());

NUmbered list added to RichTextBox:

1. Some Text
2. Copied Text,
After merge, i just see the below text without numbers:
 Some Text
 Copied Text


Dimitar
Telerik team
 answered on 13 Mar 2014
3 answers
145 views
We have notice an issue with the vertical scroll behavior . When we click the small arrow (top or bottom) the list continue to scroll even if the mouse id released.

We also noticed that if we click the scroll bar, the indicator scrolls to the mouse location then stops.

How can I attached a zip file of the sample project and a video to demonstrate the issue?

Thanks

Kim
Dimitar
Telerik team
 answered on 13 Mar 2014
1 answer
718 views
 Public Overrides Function ProcessKey(ByVal keys As KeyEventArgs) As Boolean
        Try
            If keys.KeyCode = Windows.Forms.Keys.Tab Or keys.KeyCode = Windows.Forms.Keys.Enter Then
                If GridViewElement.Navigator.IsLastColumn(GridViewElement.CurrentColumn) Then
                    'Me.GridControl.ClearSelection()

                    Me.GridControl.GridNavigator.SelectNextRow(1)

                    Dim columnIndex = Me.GridControl.Columns("NewPrice").Index
                    GridViewElement.CurrentRow.Cells("NewPrice").IsSelected = True
                    GridViewElement.CurrentRow.Cells("NewPrice").BeginEdit()

                End If
            End If
        Catch ex As Exception

        End Try
        Return MyBase.ProcessKey(keys)
    End Function
Stefan
Telerik team
 answered on 13 Mar 2014
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?