Telerik Forums
UI for WinForms Forum
2 answers
246 views
Hi there,

Can somebody please advise re the following two questions on the RadChart control:

1. If I create one (Pie) radChart, then add two series to it, I get two separate pie charts - great. 
However, the two legends for these separate charts are "mixed", that is, they appear in one block.  Is it possible to have a separate legend for each pie chart/series?
The legends are created using the following line:
                    radChart1.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.ItemLabels;

2. What setting controls the colour of the number associated with the item, that is, the number appearing beside the pie chart slices showing the data for that segment?  Is is taken from one of the background or border colours, or can it be controlled invididually?

Thanks a lot - excellent product by the way,

Charles



CF Brain
Top achievements
Rank 1
 answered on 01 Feb 2010
1 answer
657 views
Hi,

I need to select/deselect items from one listbox to another.
For that I am using two radlistboxes, both are having same items. Both listbox's selectionmode="Multiple".

When user selects items in first list, I need to select them in second listbox through Javascript.
For that, I tried some code, but it works for single item only.

 
           var ctl1= $find('<%= lstTestcategory2.Clientid %>'); 
              var ctl= $find('<%= lstTestcategory.Clientid %>'); 
           
    for(var i = 0; i<= ctl.get_items().get_count()-1; i++)   
    {  
     
          var item1 = ctl.get_items().getItem(i);    
           alert(item1.get_text());  
          alert(item1.get_selected()); 
             check = 1;  
      for(var i = 0; i<= ctl1.get_items().get_count()-1; i++)   
        {  
      //     alert('in');  
           
                var item = ctl1.get_items().getItem(i);       
                if(item.get_text() == e.get_item().get_text())  
                {  
           //    alert('in1');   
                    item.set_selected(true); 
                    check = 1;  
                }  
               else 
               { 
                  item.set_selected(false); 
                } 
        }   

At present I am using it on "OnClientSelectedIndexChanging" event.

What should I do to work it for multiple items too?
Yana
Telerik team
 answered on 01 Feb 2010
1 answer
172 views
Hi,

I created a windows application with radribbonform. and i placed radgridview on that form and applied desert theme to radgridview and radribbonform also. Now i want to show vertical lines (sepertaes between columns). I applied below code what you gave previously. 
But it is not displaying.         


private void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e)
        {
            e.CellElement.BorderBottomWidth = 1;
            e.CellElement.BorderBottomColor = Color.Red;

            e.CellElement.BorderRightWidth = 1;
            e.CellElement.BorderRightColor = Color.Blue;

            //If you want to have a RadGridView with no lines at all  
           // e.CellElement.DrawBorder = false;  
        }

Please help me. thanks in advance.
Jack
Telerik team
 answered on 01 Feb 2010
5 answers
213 views
I am very impressed with using RadGridView in ASP.NET that when I click "edit" button on the Grid record, a templateform is shown and users can input and save data.

But how this kind of features handled in Telerik WinForm GridView? Or in WinForm GridView only provides Grid presentation or editing on the grid record?

My requiement:
1. click "add" or "edit" buttons, show a editing form (because need to process many fields, using a form format is better)
2. click "ok" or "cancel" buttons back to the grid and grid may need to be refreshed.

Benson.
Jack
Telerik team
 answered on 01 Feb 2010
7 answers
341 views
How can I have my combobox display nothing when my form loads?  Currently when it loads it shows an item from the table it is bound too.  I want the combobox to be blank/empty then the user can select what to pick. Currently there is only 1 item in the combobox.  Does that have any effect?   I tried to edit the combo and add a blank item but it is in the drop down but not selected.

Thank You
Victor
Telerik team
 answered on 01 Feb 2010
4 answers
302 views
All I want to do is have a paragraph of text in a cell wrap.  Why is this so hard with your grid control.  Never before have I had so much trouble.  I see the properties and options there (wordwrap, colwidth, rowheight, etc. etc. etc.).  No matter what I do, nothing wraps.
Nick
Telerik team
 answered on 01 Feb 2010
8 answers
516 views

Hi 

How to increase the gridview header's height when using  ColumnGroups.

When i am not using the Group header then by following code i am able to increase the size of header by
following code.

(this.radGridView1.GridElement as GridTableElement).TableHeaderHeight = 35;

 

 

but when i am using the group header ,above code is not working or does not have any affect on the header height.
 
Thanks
Ajay yadav

 

Jack
Telerik team
 answered on 29 Jan 2010
0 answers
118 views
i have a rad gridview and i want to set the sorting of it by 2 columns.

What i mean is when i sort one column, the result will also depend to the other column..

example:

Column 1 | Column 2 | Column 3
1                    1                ABC
1                    1               ADE
2                    1                ZZS

When i sort column 3, column 1 will also be sorted
Column 1 | Column 2 | Column 3
2                    1                ZZS
1                    1               ADE
1                    1                ABC

Is that possible?

this is for winforms in C#.net

Many Thanks

Jeff T.
jeff torririt
Top achievements
Rank 1
 asked on 29 Jan 2010
2 answers
127 views

I face with the attached Exception ,when i execute my application .

How do i remove this Exception?
please help me,Thanks.

Nikolay
Telerik team
 answered on 29 Jan 2010
1 answer
171 views
Hi, I have upload example file for this, because I can't describe the detail for error.
* My bad *

This apps is display sale in year.
It's work fine if I navigate from year that have sale (data), but it throw exception if I choose
another year that has sale (data) from no sale (no data) year.


Best Regards,
Fakhru Rahman
Ves
Telerik team
 answered on 29 Jan 2010
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?