Telerik Forums
UI for WinForms Forum
3 answers
73 views
In my application users may choose to render a series of "KPIs" , each on their own chart, representing a float yval over an oa_time.

Thus far I have accomplished this by programatically creating a chart for each "kpi" i want to show and then dynamically adding the control to the form with approrpriate properties..

I'm wondering if this is best practice when its time to render many chart series on their on grid?  Is there a method of using a single radchart control and adding a seperate x and seperate y axis (vertically?, in columns?) for each series or am I best to stick with rendering one control per series .

If there are examples of showing 10+ series each on their own seperate x axis / y axis on a single chart control , are there any samples?


thanks a lot.
Ves
Telerik team
 answered on 21 Oct 2011
1 answer
82 views
Hi,  I understand that you can use barwidth percent and baroverlap to control the width of the series bars.  I have set the bar width but what I'm having touble with is the spacing between the major gridlines on the chart.  Presently I'm looking at a rendering of a single bar series.  There are 7 evenly space elements on the chart with plenty of room visually to place the points.  However, the first and the last elements in the series are cut off.  Had I added a second series to this the second series would not be visible on the first and last element.  I've set barwidth percent but it only makes the bars more narrow , not shorten the distance between points.

I would like to control the width between elements on the xaxis.

Also I would like clarification on the baroverlap property if possible (please and thank you).  The documentation I've found points to an obscure reference.

Thanks a lot in advance for your assistance.
Yavor
Telerik team
 answered on 21 Oct 2011
2 answers
294 views
Being terrible at writing custom controls myself and needing more functionality out of the listview I had decided to try yours.

I noticed in an example that you can use HTML tags to modify how things are displayed in the ListView and this lead me to wonder if it supports <div> tags and if I can place images over images.

An example would be to have <div style=\"background-image:url('whatever');\"><img src=\"whatever2\"> where 'whatever2' would then be overlaid on top of 'whatever'.

Basically, I have two columns on the listview: 1 that displays an image and the other that will have text formatted through HTML tags.

The image in the first column I want to put a specialized border around unique to the information that's being displayed and the border is an image. The easiest way to do this in HTML is to simply have one be a background to the other. How do I go about this in your ListView, if it's even possible at all?

Edit: This is in C# for WinForms, by the way.
Jon
Top achievements
Rank 1
 answered on 20 Oct 2011
1 answer
157 views
Hi!

I want to change the Data Source value of a RadDropDownListEditor instance contained by a GridView cell. I want to have that instance by getting the cell element from the RadGridView object with the cell's column and row indexes.

myRadGridView.Rows[cellRowIndex].Cells[cellColumnIndex]

What I'm trying to achieve is to set, dynamically, every Data Source value for every cell of my grid. So, I'm iterate trough my rows and try to set the Data Source value. 

How can I get the RadDropDownListEditor instance of a specified cell?

Thanks.
Alexander
Telerik team
 answered on 20 Oct 2011
2 answers
104 views
Is it possible to float a DocumentWindow?

For example, in the Visual Studio IDE example of the demos, can the windows Form1.cs or Form1.Designer.cs be floated?

If so, how? 

If not, is there a reason?  The actual Visual Studio IDE has the ability to float those windows, and I would like to do the same with WinForms.

Thanks.


Ken...
Stefan
Telerik team
 answered on 20 Oct 2011
9 answers
509 views
i have download the trial version of your product (WinForms) to test it and give feed back to my boss to decide if this will be useful to buy,
every this is alright except one issue,
pleas have a look on my code

dataGridView1.DataSource = tab; //where tab is returned from the database and have more than 100 row 
 for (int i = 0; i < dataGridView1.Rows.Count; i++)
     {
            try
                {
                    dataGridView1.Rows[i].Cells[0].CellElement.DrawFill = true;
                    dataGridView1.Rows[i].Cells[0].CellElement.BackColor = Color.Red;
                }
                catch
                { }
       }    
the loop stop every time on row number 9
it throw exception "Object reference not set to an instance of an object" on CellElement (CellElement is null)
is that because its a trial version?
i don't want to use Cell Formatting Event cuz this will not be helpful for me 
thanks
Stefan
Telerik team
 answered on 20 Oct 2011
1 answer
360 views
Hi,

Is there a way of counting the visible rows after applying a filter?
Stefan
Telerik team
 answered on 20 Oct 2011
4 answers
140 views
I am having a strange problem theming the RadListView control using the Visual Style Builder in Telerik RadControls for WinForms, Q2 2011, SP1. RadListView no longer appears in the Controls structure at all, for any of the themes! Here is the sequence of events that lead to this:

1) I exported all of the built-in themes to *.TSSP files.

2) I then opened the Office2010Silver.tssp package to use as a starting point for my custom theme.

3) I made some modifications to the theme for the RadButton and RadListView elements.

4) I saved it under a new name (say MySilver.tssp).

5) I integrated it into my application to test it.

6) I found some issues with my RadListView theming, made some changes, saved, and tested again.

7) Now I can't see the RadListView element in ANY of the themes, either the built-in ones or my custom theme, even if I exit and re-start Visual Style Builder.

I would appreciate any help that you can offer. Thanks!

-- John J. Szucs, Venio, Inc.
Ivan Todorov
Telerik team
 answered on 20 Oct 2011
1 answer
180 views
Hi,
I have a problem in exportin data from one RadGridView to Excel.

I am usig the method bellow but I receive an error: 


Dim
excelExporter As New ExportToExcelML(Me.adminGridView)  

excelExporter.SheetName = "SituatieGala"  

excelExporter.ExportVisualSettings = 

True  

excelExporter.RunExport(fs.FileName)

When I am trying to create the variable excelExporter I receive the attached jpg's error!

Also I have made the necesary imports:

 

Imports Telerik.WinControls  

Imports Telerik.Data Imports 

Telerik.WinControls.UI.Export 

Imports System.IO

 

Martin Vasilev
Telerik team
 answered on 20 Oct 2011
1 answer
139 views
Hi,

We are using telerik controls for our winforms project. When we add themes to that project it loads really slow

Is it possible to add themes runtime after user select or change any theme ??

Regards,

Dishant
Stefan
Telerik team
 answered on 20 Oct 2011
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?