Telerik Forums
UI for WinForms Forum
5 answers
524 views
Hi, we are testing this package in VB.NET, how can i populate a RadGridView with a XML file?

I get this XML from a PHP (NuSOAP) webservice, i need to add this XML to an Array or can i populate direct to the Grid control?

thank's


Kiril
Telerik team
 answered on 27 Dec 2007
1 answer
218 views
Hi All :) ,

is it possible know the region area when the user click on a pie chart ?

For example:

I have a pie chart that displays the number of schedules jobs that that runs on a daily basis;  let say 40 jobs failed and 50 succeed .. I want to know if it is possible
to know if the users clicks on Failures region it will fires an event  to drill down a grid and show the details of these jobs?


Thanks In Advance
Dwight
Telerik team
 answered on 27 Dec 2007
3 answers
461 views
Hi,

I'm trying to use your ComboBoxElement control inside a RibbonBar.

My goal is to create a combo box "color picker" where the user would click on the drop down menu and each of the items would have it's own color. Here's what I have tried:

private

void InitBackgroundCombo()
{
    // this returns all the color in the Color struct
    
Color[] systemColors = GetAllColors();
    
for (int i = 0; i < systemColors.Length; i++)
    {
        
RadComboBoxItem item = new RadComboBoxItem();
        item.ForeColor = systemColors[i];
        item.Text = systemColors[i].Name;
        item.BackColor = systemColors[i];
        cbxBackground.Items.Add(item);
    }
 }



This doesn't work though. The ForeColor property works but not the BackColor. The BackColor is always White.

Can you help?
Georgi
Telerik team
 answered on 21 Dec 2007
1 answer
158 views

I'm workin with RadControls for WinForms. I have two questions about GridView.
First - how to turn off default ContextMenuStrip which appears after I click r-mouse button and hold it?
Second - I don't know if it's an error but after migration from Q2 filter text box (most right) is in front of the scrollbar (previously it wasn't)


Jack
Telerik team
 answered on 21 Dec 2007
1 answer
80 views
Hi. I attended the Silverlight demo last week and it blew me away. Very impressive stuff. Here's a Silverlight control you may wish to develop:

r.a.d. slideshow: Enable users to put together images, text, and animation using the easy-to-use design time controls that Telerik does so well. For example, users could do product demos and tutorials using this control, stitching together screen captures along with audio and mouse movements, screen transitions, and ability to export to PPTX/PDF formats.

Users could select the images and enter the text for each slide and choose animation for objects.
Valeri Hristov
Telerik team
 answered on 21 Dec 2007
1 answer
209 views
Hi,

I am creating a waitingbar control at runtime and when the control is displayed the default theming of the control is not applied. White bar is shown.

radWaitingBar1 = new Telerik.WinControls.UI.RadWaitingBar();
radWaitingBar1.Location = new System.Drawing.Point(110, 38);
radWaitingBar1.Name = "radWaitingBar1";
radWaitingBar1.Size = new System.Drawing.Size(150, 15);
radWaitingBar1.TabIndex = 0;
radWaitingBar1.WaitingSpeed = 10;
radWaitingBar1.ThemeClassName = "Telerik.WinControls.UI.RadWaitingBar";

If I place the control on the form at design time, the theming is shown. (green bar)

I was hoping to avoid having to set the UI primitives. What properties should I be setting to get the control's default theme?

Cheers
Peter
Nikolay
Telerik team
 answered on 21 Dec 2007
1 answer
295 views
Hi,

I'm a relatively new user of the telerik RadControls in Windows Forms and I'm looking to get a piece of functionality working.

Our product requires us to classify a list of items into a "Type / Category / Sub Category" hierarchy.  We would like the items to be displayed in a RadGridView with one column each for "Type", "Category" and "Sub Category".

When a value is selected for the "Type" column the corresponding "Category" cell should populate with the appropriate Category values for that Type value.  This  behavior should be repeated when the "Category" column value is selected.

I have tried creating custom columns as described in this post: "How to add a ProgressBar column ?" however I couldn't seem to get the cell's value to update properly.

I have seen another thread (Dynamic ComboBox) where something similar to what I wish to achieve is described but I am unsure as to the solution.  Wouldn't changing the column's DataSource alter values in all the cells?

Which event is best to handle in order to react after the grid's datasource has been updated?
Georgi
Telerik team
 answered on 20 Dec 2007
3 answers
277 views
Hi,

I'm having a lot of problems trying to programatically a TextBox (or RadTextBox or RadTextBoxElement) control to a Button group inside a ribbon chunk).

Here's what I have:
My application is a content editor (a bit like Flash but not nearly so advanced). So when I click on an Image:
1. I want the "Image" context group to appear
2. I want the the correct properties to appear
3. When I change the properties in the ribbon - the image has to change

Because there are several different items and all of them have the same basic functionality I have created:

// class for handling object operations
public

class BaseRibbonObjectHandler : RadRibbonBarCommandTab

// create the chunk
m_chkPositionAndSize =

new RadRibbonBarChunk();
m_chkPositionAndSize.Orientation = System.Windows.Forms.Orientation.Vertical;
m_chkPositionAndSize.Text =
"Position and Size";

// create the ribbon bar group
RadRibbonBarButtonGroup radRibbonBarButtonGroup1 = new RadRibbonBarButtonGroup();
radRibbonBarButtonGroup1.Orientation = System.Windows.Forms.
Orientation.Horizontal;
radRibbonBarButtonGroup1.MinSize =
new System.Drawing.Size(22, 22);
radRibbonBarButtonGroup1.ShowBorder =
true;

// create the labels
RadLabelElement
radLabelElement1 = new RadLabelElement();
RadLabelElement radLabelElement2 = new RadLabelElement();
radLabelElement1.Text = "Width ";
radLabelElement2.Text = "Height ";

// create the textboxes

tbSizeWidth =
new RadTextBoxElement();
tbSizeWidth.MinSize =
new Size(100, 0);
tbSizeWidth.AutoSizeMode =
RadAutoSizeMode.WrapAroundChildren;
tbSizeHeight = new RadTextBoxElement();
tbSizeHeight.MinSize =
new Size(100, 0);
tbSizeHeight.AutoSizeMode =
RadAutoSizeMode.WrapAroundChildren;

// add the controls to the button group
radRibbonBarButtonGroup1.Items.AddRange(
new RadItem[] { radLabelElement1, tbSizeWidth, radLabelElement2, tbSizeHeight });

// add the group to the chunk
m_chkPositionAndSize.Items.Add(radRibbonBarButtonGroup1);

// add the chunks to the control
this.Items.Add(m_chkPositionAndSize);

The idea is that in this class I create the tab page, the basic chunks and the basic items:


If I add the TextBoxes (it doesn't matter which kind of TextBox - RadTextBox, RadTextBoxElement or WinForms TextBox) the application hangs up (If I wait about a minute I get a stack overflow exception).
This behavior happens on 3 machines...

A few more facts:
- I have another chunk (I didn't copy the code here) with a button and a combobox and it works ok
- If I add the radTextBoxElement directly to the chunk (and not to a button group) - it works

Am I doing something wrong? Or is this a bug?
Vassil Petev
Telerik team
 answered on 20 Dec 2007
1 answer
106 views
I would like to see a HtmlGridColumn type supported in the radgridview for winforms for more free form column elements.
Georgi
Telerik team
 answered on 20 Dec 2007
1 answer
122 views
I was browsing through the new documentation today and noticed something I thought I better get clarification on. In the documentation for Q3 it says that when creating custom dock objects you can either derive from UserDockControl or UserDockForm. In previous versions I was deriving from DockPanel.

What I have still works with my newly installed Q3 but I wonder if I should be changing all of those controls from DockPanel to UserDockControl.

What is the difference? Do I gain anything one way or the other?
Julian Benkov
Telerik team
 answered on 19 Dec 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?