Telerik Forums
UI for WinForms Forum
3 answers
127 views
Hello everyone,

    Not sure if this has been discussed before, But I am using a code mentioned in the Help to add multiple chunks.

Dim RadRibbonBarChunk1 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk2 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk3 As RadRibbonBarChunk = New RadRibbonBarChunk()
RadRibbonBarChunk1.Text = "Options"
RadRibbonBarChunk2.Text = "Text"
RadRibbonBarChunk3.Text = "Alignment"
Dim RadRibbonBarCommandTab1 As RadRibbonBarCommandTab = radRibbonBar1.CommandTabs(0)
RadRibbonBarCommandTab1.Items.AddRange(New Telerik.WinControls.RadElement() { _
    RadRibbonBarChunk1, RadRibbonBarChunk2, RadRibbonBarChunk3})

Unfortunately it gives me an Error in the above statement, 
System.InvalidCastException was unhandled
  Message="Unable to cast object of type 'Telerik.WinControls.RadElement[]' to type 'Telerik.WinControls.RadItem[]'."

Can someone help me to add multiple chunks or tell me what am I doing wrong here...

Regards
Clatonh
Clatonh
Top achievements
Rank 1
 answered on 03 Jul 2007
2 answers
92 views
Hello everyone,

    Not sure if this has been discussed before, But I am using a code mentioned in the Help to add multiple chunks.

Dim RadRibbonBarChunk1 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk2 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk3 As RadRibbonBarChunk = New RadRibbonBarChunk()
RadRibbonBarChunk1.Text = "Options"
RadRibbonBarChunk2.Text = "Text"
RadRibbonBarChunk3.Text = "Alignment"
Dim RadRibbonBarCommandTab1 As RadRibbonBarCommandTab = radRibbonBar1.CommandTabs(0)
RadRibbonBarCommandTab1.Items.AddRange(New Telerik.WinControls.RadElement() { _
    RadRibbonBarChunk1, RadRibbonBarChunk2, RadRibbonBarChunk3})

Unfortunately it gives me an Error in the above statement, 
System.InvalidCastException was unhandled
  Message="Unable to cast object of type 'Telerik.WinControls.RadElement[]' to type 'Telerik.WinControls.RadItem[]'."

Can someone help me to add multiple chunks or tell me what am I doing wrong here...

Regards
Clatonh
Clatonh
Top achievements
Rank 1
 answered on 03 Jul 2007
1 answer
64 views
Hello,

Please, when the 2007 Q1 SP2 is ready to download ?

Regards

Lionel
Mike
Telerik team
 answered on 03 Jul 2007
7 answers
151 views
i'm trying to do a splash screen that's elliptic in shape, but i can't figure out how to set a background image for it.

thanks...

-
john
Jack
Telerik team
 answered on 03 Jul 2007
5 answers
1.3K+ views
Ok,

I'm having a problem that is driving me crazy.

I have a RadTreeView that is updated each time someone changes rows in a DataGridView that is besides the RadTreeView. Now the thing is that on some ocations, there are no entries to be displayed on the RadTreeView. I use clear each time a row change occurs, but the RadTreeView still keeps the values of the old entries, even after calling the RadTreeView.Clear() function and then RadTreeView.Refres().

Now, shouldn't this clear the RadTreeView and leave it with NO nodes?

Thanks,

Ricardo
Jordan
Telerik team
 answered on 03 Jul 2007
1 answer
147 views

Hi,

I want to be able to set the "Selected" property of a node, before I add it to the RadTreeView.

The following code will NOT select the node:

RadTreeNode node1 = new RadTreeNode("node1");
node1.Selected = true;
this.radTreeView1.Nodes.Add(node1);

but if I set the "Selected" property *afterwards*, it will work

RadTreeNode node1 = new RadTreeNode("node1");
this.radTreeView1.Nodes.Add(node1);
node1.Selected = true;

Is this a bug or by design. If by design can you explain the reasoning behind this?

Regards,
Phi Le

Boyko Markov
Telerik team
 answered on 03 Jul 2007
1 answer
152 views
Hi,
I wanna know how to resize the radpanelbar, once I run the application like the case of windows outlook.the problem is that I can do it out of execution but when I run the aplication, no way to do it.
Boyko Markov
Telerik team
 answered on 03 Jul 2007
5 answers
249 views
I am trying to create radPanelBarGroupElement dynamically and add it to aRadPanelBar.  Before I add the group element to the panel bar, I am adding a custom control to the element.  I am using a button to trigger the creation of additional group elements with a custom controls on them.  The problem is that a tremendous amount of flickering occurs when I try to accomplish this task.  What should I be doing to prevent this flickering from happening?  Or what am I doing wrong?  And what should I do to fix it?

Thanks.
Boyko Markov
Telerik team
 answered on 03 Jul 2007
2 answers
127 views
Hi,

I'm using a radChart (pie) for a small datasource. The dataset looks like this:

gebruiker     totaal
Kevin             11
Joeri              14
Ken               34

Now I want to see the pie, with a legend wich color is for wich name. I think this something easy to do, but I'm now trying for 3hours already and still cannot find it :(

If it can helps, this is how I make my Test DataSet:

            GrafiekData grafiekLijst = new GrafiekData();  
 
            GrafiekData.GrafiekDataRow newGrafiekRow;  
            newGrafiekRow = grafiekLijst._GrafiekData.NewGrafiekDataRow();  
            newGrafiekRow.gebruiker = "Kevin";  
            newGrafiekRow.totaal = 789;  
 
            grafiekLijst._GrafiekData.Rows.Add(newGrafiekRow);  
 
            GrafiekData.GrafiekDataRow newGrafiekRow2;  
            newGrafiekRow2 = grafiekLijst._GrafiekData.NewGrafiekDataRow();  
            newGrafiekRow2.gebruiker = "Ann";  
            newGrafiekRow2.totaal = 129;  
 
            grafiekLijst._GrafiekData.Rows.Add(newGrafiekRow2);  
 
Vassil Petev
Telerik team
 answered on 29 Jun 2007
7 answers
112 views
I was just wondering whether there was any news or a release date for SP2.

Best regards

Marek
Chris
Telerik team
 answered on 28 Jun 2007
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?