Telerik Forums
UI for WinForms Forum
1 answer
173 views
Dear friends,

I want to bind some values to a radChart. I mean, for each month, i want to display in radChart the sales with success and sales without success. I use a radChar Bar, with two bars for each month where each bar represents the sales with success and without success.

How can i bind an array of 24 positions(with 24 integers inside) to my radChart and how can i change the legend of the values, replacing 'Series 1' and 'Series 2' by 'Success' and 'No Success'.

Thanks.

My code:

    //this.radChart1.PlotArea.YAxis.AutoScale = false;
            //this.radChart1.PlotArea.YAxis.IsZeroBased = false;
            //this.radChart1.PlotArea.YAxis.AddRange(0, 100, 10);

            //this.radChart1.PlotArea.XAxis.AutoScale = false;
            //this.radChart1.PlotArea.XAxis.IsZeroBased = false;

            //ChartAxisItem item1 = new ChartAxisItem("Jan.");
            //ChartAxisItem item2 = new ChartAxisItem("Fev.");
            //ChartAxisItem item3 = new ChartAxisItem("Mar.");
            //ChartAxisItem item4 = new ChartAxisItem("Abr.");
            //ChartAxisItem item5 = new ChartAxisItem("Mai.");
            //ChartAxisItem item6 = new ChartAxisItem("Jun.");
            //ChartAxisItem item7 = new ChartAxisItem("Jul.");
            //ChartAxisItem item8 = new ChartAxisItem("Ago.");
            //ChartAxisItem item9 = new ChartAxisItem("Set.");
            //ChartAxisItem item10 = new ChartAxisItem("Out.");
            //ChartAxisItem item11 = new ChartAxisItem("Nov.");
            //ChartAxisItem item12 = new ChartAxisItem("Dez.");
            //radChart1.PlotArea.XAxis.Items.Add(item1);
            //radChart1.PlotArea.XAxis.Items.Add(item2);
            //radChart1.PlotArea.XAxis.Items.Add(item3);
            //radChart1.PlotArea.XAxis.Items.Add(item4);
            //radChart1.PlotArea.XAxis.Items.Add(item5);
            //radChart1.PlotArea.XAxis.Items.Add(item6);
            //radChart1.PlotArea.XAxis.Items.Add(item7);
            //radChart1.PlotArea.XAxis.Items.Add(item8);
            //radChart1.PlotArea.XAxis.Items.Add(item9);
            //radChart1.PlotArea.XAxis.Items.Add(item10);
            //radChart1.PlotArea.XAxis.Items.Add(item11);
            //radChart1.PlotArea.XAxis.Items.Add(item12);
            
            //int[] intArray = new int[12] { 10, 11, 12, 13, 5, 5, 8, 44, 3, 5, 77, 8 };
            //radChart1.DataSource = intArray;

            //radChart1.DataManager.ValuesYColumns = new string[] { "numberOfOrders" };
            //radChart1.PlotArea.XAxis.DataLabelsColumn

            //radChart1.DataBind();
Tiago
Top achievements
Rank 2
 answered on 27 Oct 2009
1 answer
108 views
hi, when I create a RadPlayer in the winform , and i can play the video smoothly ,but i can't add a event on the RadPlayer, it seems that all the events of the RadPlayer are not responding, could u pls give me an idea?
and this version has also existed this bug (the RadControls for WinForms Q2 2009 SP1)
pls do as following if you want reproduce this bug 

Integration/Media Player/press any key
Nick
Telerik team
 answered on 27 Oct 2009
2 answers
97 views
Dear Sir or Madame,

having trouble with referencing any Telerik Component in the latest Version of Visual Studio 2010 Beta 2. It let me references all Controls but when i try to build the Project the References are gone. And Visual Studio tells me ... Are you missing an Assembly? --> This just happens strangly just with your Assemblys. Tryed some others. Seems like there is something wrong with Code Access Security Evidence. But i'm not quite sure.
What can i do, to get rid of this error?

Excuse me, i'm talking about: RadControls_WinForms_2009_3_1016_trial

Thx

Patric
Deyan
Telerik team
 answered on 27 Oct 2009
1 answer
86 views
After doing the upgrade from Q2 2009 to Q3 2009 beta all of my RadTabItems that were set to Tahoma, 12pt Bold in my RadTabStrips reset to Tahoma, 8.25pt without the bold setting.  I make the change back to Tahoma, 12pt Bold, save, compile and they are fixed, but upon pulling up the form in designer mode again, all of the fonts are reset back to Tahoma, 8.25pt.

In addition, several of my RadTabStrips are defaulting to the second tab instead of the first now, is there a new property or setting to set that instead of doing a code fix?
Nick
Telerik team
 answered on 27 Oct 2009
4 answers
148 views

When I try to assign shortcuts in the shortcuts control, the userinterface disappears or I get a ”Unable to cast object of type ’Telerik.WinControls.UI.splitcontainerElement’ to ’System.ComponentModel.IComponent” error. Using shortcuts on very simple forms seems to work ok.

 

I am using a demo version of 2009.2.9.729 in vs2008.

Georgi
Telerik team
 answered on 26 Oct 2009
3 answers
105 views
When I set WrapText to true the alignment is fixed to the left even when I've set the TextAlignment to MiddleCenter

Is this a known issue?
Martin Vasilev
Telerik team
 answered on 26 Oct 2009
4 answers
209 views
Hello,

I`m Using radGridview But KeyPress, KeyDown, CellPaint and Some one else doesn't execute.

Best Regards.
Jack
Telerik team
 answered on 26 Oct 2009
1 answer
96 views
Hi, i have searched the forums and i havent been able to find an answer to this simple question. Our DB server is Oracle and hence it doesnt have a boolean / bit type in it. Any boolean columns are defined as char(1) and the values are set to Y or N (this is stock standard oracle practice).
I want to display data in the radgridview and the most natural column type for the user to use to change values in the Y N column is the checkbox column. Is there any way to bind the column so that if the db value is Y, the check box is checked and if the value is N it is unchecked (and conversly when you check and uncheck the checkbox, the data in the underlying datasource is updated to Y or N),

In the standard .net datagridview, the column has properties called TrueValue  and FalseValue which can be bound as followed to achieve what i am after
CheckBoxColumn.TrueValue = "Y";
CheckBoxColumn.FalseValue = "N";
What is the telerik equivalent?
Martin Vasilev
Telerik team
 answered on 26 Oct 2009
0 answers
87 views
Hi,

In the gridview control how can i make a column accept Return(enter)
Currently if i click enter it takes me to the next cell.

Thanks,

Smitha Test
Top achievements
Rank 1
 asked on 23 Oct 2009
4 answers
127 views
Hi,

We are using the Telerik winform to build our application.
Its working fine at the developer machine
But when its deployed at the client machine it gives the following error as attachment.

We tried using both the XCopy and GAC deployment methods specified in the deployment documentation.

We are using the RadDoc feature in our application. After installing using click once or doing Xcopy it gives an unexpected error page and when we check the event log it gives the error in the attachment.

Please let us know if its a problem with Raddock in itself or we are missing something.

Thanks in advance,
Smitha



Atul Nisar
Top achievements
Rank 1
 answered on 23 Oct 2009
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?