Telerik Forums
UI for WinForms Forum
29 answers
1.0K+ views
I am trying to write some code for the cellDoubleClick event, but it seems that it only fires if the cells column is readonly.  Is there a way around this?  It looks like the first click will open the cell up for editing and the second click is ignored.  I want to have different code run for a single click  or a double click event.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2017
2 answers
136 views

I have RadForm-derived class that I'm adding as RadDock document windows. How do I make them stay the same size as the container? Please see attachment.

 

The code I'm using is something like this:

var view = new MyView(rule)
{
    Dock = DockStyle.Fill,
    TopLevel = false,
    FormBorderStyle = FormBorderStyle.None,
    MdiParent = this,
    Text = "blah",
};
 
view.Show();
var wnd = new DocumentWindow {Text = "blah"};
wnd.Controls.Add(view);
radDock1.AddDocument(wnd);

 

I'm using an older version of Telerik at the moment. The version of RadDock.dll is 2017.3.912.40 and Runtime version is v4.0.30319.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2017
5 answers
223 views
Hi,

I am currently using Rad Control for Winforms Q2 and Q3 2013.

I am developing a winform application and trying to use MetroTheme.

MetroTheme has a feel of light green in almost everywhere such as top border of winform border.

I'd like to change this color scheme slightly and create my own style theme. All the style elements should stay the same as MetroTheme except that this light green color should be replaced with my own color like light gray

I tried to use Visual Style Builder and watched some video tutorials but couldn't find the solution.

Can you help me please?

Thanks,

Patrick
Dimitar
Telerik team
 answered on 16 Nov 2017
3 answers
145 views

I was under the assumption that any UI element you wanted to update from the Backgroundworker had to be in the ProgessChanged event. However, I have noticed, only by accident, that I have been able to update the RadLabelElement's Text property w/ in the BackGroundWorker DoWork event.  Is this by design?  I have not been able to find any documentation on this related to the RadLabelElement.

 

TIA

Dimitar
Telerik team
 answered on 16 Nov 2017
11 answers
446 views
Hi,

If I double click the header of Toolwindow, it will become floating. May this function be closed? Thanks.
Hristo
Telerik team
 answered on 15 Nov 2017
8 answers
152 views

Hello, 

is it possible to hide the filter symbol in a specific column header while excel-like filtering remains enabled? 

I have to filter a specific column via some radio buttons only.

This works for me: 

Private Sub rbAktiv_CheckedChanged(sender As Object, e As EventArgs) Handles rbAktivAuftraege.CheckedChanged
 
        Dim filter As New FilterDescriptor()
        Dim filtervalue As String = String.Empty
        filter.PropertyName = "oa_status"
        filter.[Operator] = FilterOperator.Contains
        filter.IsFilterEditor = True
        Select Case True
            Case sender Is rbAktivAuftraege
                Me.RGV_auftraege.FilterDescriptors.Clear()
                filtervalue = CStr("aktiv")
                filter.Value = filtervalue
                Me.RGV_auftraege.FilterDescriptors.Add(filter)
End Select

Best Regards,

V. Adler

 

 

 

Elliott
Top achievements
Rank 2
 answered on 14 Nov 2017
4 answers
119 views

I want to apply formatting to a cell in a summary row (or the entire row in some cases) but I have several summary rows in my grid. How can I tell in the viewrowformatting or other event which summary row is active?

Jeff
Top achievements
Rank 1
 answered on 14 Nov 2017
4 answers
192 views

Hi,

I use a spreadsheet to display a xlsm file which contains buttons and data validation from a list.

The attached file "Excel" shows how this file looks in Excel.

The attached file "SpreadSheet" shows how this file looks in the spreadsheet :

- buttons are not displayed

- the data validation in the cell works correctly according to the list but drop down arrow is not shown in the cell even if the options "In-cell dropdown" is checked

Thanks for your help

Regards

 

 

Frédéric
Top achievements
Rank 1
 answered on 14 Nov 2017
3 answers
187 views

hi . i'm using vs 2015 on win 10 . raddatetime picker shamsi calendar work on win 10 but not work on other windos(7,8,8.1)

on windows 8.1 it convert to miladi

my code :

 Me.DateTimePicker1.Culture = New System.Globalization.CultureInfo("Fa-IR")

 

Hristo
Telerik team
 answered on 13 Nov 2017
2 answers
494 views

Hello Telerik Team,

I want all MultiColumn ComboBoxes in a form ReadOnly mode

foreach (Control ctrl in this.Controls)
{
  if (ctrl.GetType() == typeof(RadMultiColumnComboBox))
     ((RadMultiColumnComboBox)ctrl).ReadOnly = true//like that
}

However, ReadOnly property does not exist.

How can I set  MultiColumn ComboBox to ReadOnly ?

Zan
Top achievements
Rank 1
 answered on 13 Nov 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?