Telerik Forums
UI for WinForms Forum
1 answer
92 views

Separately, the comboBoxs work fine, but they do not want to do it together, but at the time of loading it gives an error: an entry with this key already exists on the radGridView5.Columns [3] = comboColumn_operation ;.
Downloading occurs once

radGridView5.Invoke(new MethodInvoker(delegate ()             {                 radGridView5.AutoSizeRows = true;                 radGridView5.DataSource = _bindingSocOperationGrid;                   GridViewComboBoxColumn comboColumn = new GridViewComboBoxColumn("соц. работник");                 comboColumn.DataSource = _bindingSocRabotnik;                 radGridView5.Columns[1] = comboColumn;                 comboColumn.FieldName = "fio";                   GridViewComboBoxColumn comboColumn_operation = new GridViewComboBoxColumn("операция");                 comboColumn_operation.DataSource = _bindingSocOperation;                 radGridView5.Columns[3] = comboColumn_operation;                 comboColumn_operation.FieldName = "operation";             }));

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Aug 2017
4 answers
732 views

I would like create Finical chart to update real time data, let say every 1 second. I have create a small application with CandlestickSeries type and timer to add data point to chart. i also attached my code to this post.

Questions:

- please look at video, chart keep re-render and keep refreshing. Is that a way that to prevent hold chart refreshed? (I think that Vertical Axis no need to render).

- I would like to build a chart to let use scroll back to see last hour data but on current screen i would liek to show only last 2 mins data. Is that a sample to resolve the requirements?

 

Please help

Regards

Hristo
Telerik team
 answered on 25 Aug 2017
1 answer
398 views

I have 5 Collapsible panels, all are lined up unexpanded on the right side of my screen.  When I run my program and expand the top panel, I would expect the others to move down to the bottom of the expanded first panel.

 

Please advise how to accomplish this

Dimitar
Telerik team
 answered on 25 Aug 2017
8 answers
153 views

It looks like the Browsable attribute, which I use on a data model class property to hide it from the properties grid, also stops the property from being used by the Diagram control.

e.g. if my 'x co-ord' property is as below, then all my objects in the diagram have their X position at 0.

[Browsable(false)]
public int ScrnW
{
    get { return _scrnW; }
    set { _scrnW = value; OnPropertyChanged("ScrnW"); }
}

 

Is there a way I can either hide properties from the properties grid in another way, or make the Diagram able to use these properties regardless of being Browsable? I should think the latter, as I am explicitly telling the Diagram control to use specific properties, but that request is ignored.

Thanks

Valentino
Top achievements
Rank 1
 answered on 24 Aug 2017
3 answers
356 views

I have diagram elements that are just text, and I noticed there's a RadDiagramTextShape so I'm using that. What I'm wondering is how to set the text alignment within the bounds. Currently the text is always centered, but I'd like to set it to Left or Right also. I've seen HorizontalAlignment and HorizontalContentAlignment properties but that's the closest I could find.

Thanks.

Valentino
Top achievements
Rank 1
 answered on 24 Aug 2017
3 answers
182 views

Is it possible to select multiple screen shapes at once? Either by Shift-click or mouse-drag over shapes to select them, or preferably both. Do I need to implement this myself separately to the RadDiagram functionality? I'd like to be able to drag around multiple items, or delete multiple items, etc.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
11 answers
559 views
Hi,
Is there an easy way to swap columns and rows of a radgridview? Columns in the rows and viceversa... 
thanks,


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
1 answer
217 views
Hello

Our problem is:

When you group by one column (Ex.: Status) and then sort the grid by other column, if one record change the column value (ex.: status change), the grid create another group, with the same name only for this record.
This is a grouping behavior from Teleriks.RadGridView and in this version we are using, we can't seem override it. Our version is 2010.2.10.914.

Please look at the attached .gif and .png files for reference. You can see, that after grouping (by Status) and then sorting (by Status Time) there are multiple groups with the same category (Break).

What we want to archive is:
We want a single group for all entires from centain status - like Available, Break, WrapUp etc.
We do not currently implement any custom grouping methods.
We do implement a custom sorting that when you sort by a column that contains the status image, it instead sorts by Status column. Otherwise sorting works as intented and as default.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
3 answers
169 views
hi,
I am using Winform TabStrip in Outlook add-in. I want my add-in should inherit outlook theme. It works fine with other controls. But Tabstrip uses it's own theme, can i disable theme or create transparent theme.

Regards
Sandeep
Hristo
Telerik team
 answered on 24 Aug 2017
4 answers
206 views

I have a data model that I'm trying to draw in a Diagram. I'm having some success with a custom shape class something like below. MyModelElement has X, Y, W, H & Text as well as other model data. I'm getting the bounding box in a different location to my visible shape, and it's always 100x100. I tried adding 

Size = new Size(element.W, element.H)

in the  RadDiagramShape creation below, but didn't change anything. Any help appreciated.

 

My code to populate the diagram is similar to below.

private void PopulateDiagram()
{
    foreach (var element in elements)
    {
        var elementShape = new MyElementShape(element);
 
        var shape = new RadDiagramShape
        {
            Text = element.Text,
            ElementShape = elementShape,
            ForeColor = Color.Black,
            DrawBorder = true,
            BorderThickness = new Padding(1),
            Position = new Telerik.Windows.Diagrams.Core.Point(element.X, element.Y)
        };
        radDiagram1.AddShape(shape);
    }
 
 My custom shape class
public class MYElementShape : ElementShape
{
    public MyElementShape(MyModelElement element)
    {
        _element = element;
    }
    public override GraphicsPath CreatePath(Rectangle bounds)
    {
        GraphicsPath path = new GraphicsPath();
        path.AddRectangle( new Rectangle(_element.X, _element.Y, _element.W, _element.H));
        return path;

   }

 }
Hristo
Telerik team
 answered on 24 Aug 2017
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?