Telerik Forums
UI for WinForms Forum
2 answers
208 views

Hi,

Code below add StatusStrip with one LabelElement to form. 

How to get the parent control of LabelElement by code?

Later on in my code, i must call Invoke method on StatusStrip, but i have only access to LabelElement 

 

// Add statusbar
RadStatusStrip status = new RadStatusStrip();
Controls.Add(status);
 
// Add label to statusbar
RadLabelElement label = new RadLabelElement();
label.Text = "test";
status.Items.Add(label);
 
// This is only radelement
RadStatusBarElement RadStatusBarElement = (RadStatusBarElement)label.Parent.Parent;
 
// Can't convert like that
RadStatusStrip RadStatusStrip = (RadStatusStrip)RadStatusBarElement;

konrad
Top achievements
Rank 1
 answered on 26 Nov 2015
1 answer
249 views

Hello Telerik,

I'm used to disable the automatic column generation in GridView because most of time it's just generate something you really don't want to deliver to your Customer.

But today, I have decided to take a little extra time, to understant how this automatic column generation works and found something in the documentation about preventing the generation of a column for specific property.

http://www.telerik.com/help/winforms/gridview-columns-generating-columns.html

That's a really nice and cool feature. But when I build a GridView most of time as developer we need more "options" to configure our grid. Do you have some more advanced resources about managing Automatic Column Generation with Properties Attribute ? I needed to configure for a given property the type of column used (could be an homemade custom column), the headertext of the column.

Of course if there is something generic about changing any properties of the column generated, it will be great ! 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Nov 2015
3 answers
456 views
Hello

Which control is best suited when you need to make multiple selections of the same list?
recently I made a ticket to ask how to make a multicheckbox combobox. I recieved a working solution but was also told the control was not designed for multi selections.

Then my logical next question is. what is? What if i have to create statistics for multiple users or multiple stores.
and what would you recommend when you have to make a multiple selection when you list contains of 500 customers or stores.

Dimitar
Telerik team
 answered on 26 Nov 2015
1 answer
231 views

Hi,

I am trying to provide a zoom feature for my pie chart, but I am not sure if that is possible because I've only seen examples where zoom is used for bar chart. I have two pie charts rcv1 and rcv2. Below is my code:

 public PDM_Chart()
        {
            InitializeComponent();

            rcv1.ShowPanZoom = true;
            ChartPanZoomController panZoomController = new ChartPanZoomController();
            panZoomController.PanZoomMode = ChartPanZoomMode.Horizontal;
            rcv1.Controllers.Add(panZoomController);

            rcv2.ShowPanZoom = true;
            ChartPanZoomController panZoomController1 = new ChartPanZoomController();
            panZoomController1.PanZoomMode = ChartPanZoomMode.Horizontal;
            rcv2.Controllers.Add(panZoomController1);
        }

Either pressing ctrl and scroll the mouse wheel or left click and drag doesn't seem to show anything. What am I doing wrong?

Dimitar
Telerik team
 answered on 26 Nov 2015
9 answers
1.2K+ views

Can I change the background color of the appointment according to my database info.

 

For example:

 

If am having several category

Category 1

Category 2

Category 3

Category 4

 

I want category 1 appointment in the scheduler to be blue\

Category 2 green

Category 3 red

Category 4 yellow

 

By the way am just retrieving the data from my database.

 

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Nov 2015
1 answer
168 views

The problem occurs in all 5 styles on this end.

There were no changes to the styles whatsoever, and the problem described in the title.

The only changes that were applied were in the code itself:

Following the application of these parameteres, the strange behaviour of the styles began:

"AutoSizeColumnsMode = Fill"

"AutoSizeRowns = True".

 

I will also include a video showing how the styles behave in order to clarify the problem.

 

 

 

Dimitar
Telerik team
 answered on 26 Nov 2015
1 answer
420 views

Hi Dev team,

I am facing with a trouble:

I'm developing a small program to manage HR and I have a virtual machine to test it. Every time I change my resolution or font size (100 to 125%), it seems all controls spread out stupidly and some controls (buttons, etc.) lost. --> How can I avoid that? Of course I can't resist my client wish (ask them not to change anything). So, is there any way to make an application that automatically fit to all resolution (from 1024x768 to higher and from 100% font size to higher)? If yes, can you provide me a simple example?

 Thanks,

JacobBT.

Dimitar
Telerik team
 answered on 25 Nov 2015
1 answer
195 views

Converting from using the microsoft DataGridView.  When using a checkbox column in DataGridView, you can set the value that the data holds for the item to be checked, or the true value.  In our system, True is 1, and 0 is false. 

Is there a way to have the GridViewCheckColumn identify what the data value should be for true?  It would be a lot of work to change all of our data to convert to use boolean rather than 1/0.

 

 

Dimitar
Telerik team
 answered on 25 Nov 2015
1 answer
122 views

Hi,

 

 When I want to enter the char 'Ä™' (right alt+e) editor insert additional '€' so in the end it look like '€ę'. The same situation is with 'ć'. After pressing alt+c it give me '©ć'.

I checked the CommandExecuting event and InsertText command is invoked twice.

That's the main problem. 

The following combinations also should not insert any character (at all): alt+r: Â®, alt+t: â„¢, alt+u: â‚¬

 

I am using keyboard polish (programmers) and polish language in Windows 10.

Hristo
Telerik team
 answered on 25 Nov 2015
4 answers
377 views
hiii

i just add 4 windows forms as tol window in a dock control, but i can't set its location that i need...
how can i set the form location in raddock.

i'm using these codes form adding forms to raddock but it shwoing as verticle.. i need to re order it like 2 column and 2 row table.. i mean the first row have 2 frms and second row too...
how can i ???
            frm1 = new Form(); 
            frm2 = new Form(); 
            frm3 = new Form(); 
            frm4 = new Form(); 
 
            
 
            frm1.BackColor = Color.Pink; 
            frm1.Text = "My Form1"
            this.radDock1.DockControl(frm1, DockPosition.Right); 
 
            frm2.BackColor = Color.Pink; 
            frm2.Text = "My Form2"
            this.radDock1.DockControl(frm2, DockPosition.Left); 
 
            frm3.BackColor = Color.Pink; 
            frm3.Text = "My Form3"
            this.radDock1.DockControl(frm3, DockPosition.Left); 
 
            frm4.BackColor = Color.Pink; 
            frm4.Text = "My Form4"
            this.radDock1.DockControl(frm4, DockPosition.Left); 
Thanks,
Shinurag
Oliver
Top achievements
Rank 1
 answered on 25 Nov 2015
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?