Telerik Forums
UI for WinForms Forum
3 answers
100 views

Two things quickly.

Why has the forum link to UI for WinForms (http://www.telerik.com/forums/winforms) disappeared from the main Telerik Developer Forums page (http://www.telerik.com/forums) and why is it no longer accessible directly but this sub forum is available?

 Also, UI for WinForms Q1 2016 (version 2016.1.112) has been released but it isn't yet available for download and installation in the Control Panel. I've been waiting for some fixes for a while now and really need this latest version to able to continue with the build and release of the next versions of my applications.

 I assume things will be up and running soon but wanted to post this in case these haven't been picked up on yet.

Stefan
Telerik team
 answered on 14 Jan 2016
2 answers
191 views

Hi all,

is there a possibility to erase (or set it to color white) the small vertical line (see attached pictures) in a DropDownButtonElement-DropDownMenu?
Or is it the radMenuSeparatorItem?

FillPrimitive fp = burgermenu.DropDownButtonElement.FindDescendant<FillPrimitive>();
   fp.ForeColor = Color.White;
   fp.BackColor = Color.White;
   fp.GradientStyle = Telerik.WinControls.GradientStyles.Solid;

didn't work.

Kind regards
Oliver

 

 

 

Oliver
Top achievements
Rank 1
 answered on 14 Jan 2016
4 answers
124 views
How I can change language? The platform is Windows Form with c #
Raymundo
Top achievements
Rank 1
 answered on 11 Jan 2016
5 answers
178 views
First as a prologue, I am aware of the deficiency that radmenus do not show the accelerator key all the time, despite the windows default having been set. To get around that, I have added code which I have found elsewhere in this forum, basically this:

Public Sub ShowMenuShortCuts(ByVal AMenuItems As Telerik.WinControls.RadItemOwnerCollection)
    Dim i As Int32 = 0
    While (i < AMenuItems.Count)
        Try
            CType(AMenuItems(i).Children(2).Children(0).Children(1).Children(0), Telerik.WinControls.Primitives.TextPrimitive).ShowKeyboardCues = True
            AddHandler CType(AMenuItems(i).Children(2).Children(0).Children(1).Children(0), Telerik.WinControls.Primitives.TextPrimitive).PropertyChanged, AddressOf MenuPropertyChanged
 
            If (TypeOf AMenuItems(i) Is myMenuItem) AndAlso (CType(AMenuItems(i), myMenuItem).Items.Count > 0) Then
                ShowMenuShortCuts(CType(AMenuItems(i), myMenuItem).Items)
            End If
        Catch
            'Failure
        End Try
        i += 1
    End While
End Sub
 
Public Sub MenuPropertyChanged(ByVal sender As Object, ByVal e As PropertyChangedEventArgs)
    Dim tPrimitive As Telerik.WinControls.Primitives.TextPrimitive
    tPrimitive = CType(sender, Telerik.WinControls.Primitives.TextPrimitive)
 
    If (e.PropertyName = "ShowKeyboardCues" AndAlso (Not tPrimitive.ShowKeyboardCues)) Then
        tPrimitive.ShowKeyboardCues = True
    End If
End Sub


I am pointing this out because it may be relevant to current issue.

Ok let's say you have this in place:
- You have parent window, with a menu, where one of the items has an accelerator key of "a".
- You have a child window, with a control, with an accelerator key of "a"
So two controls with the same accelerator key. Here is what you do with normal windows forms to invoke one or the other
- If you HOLD DOWN the Alt key, and press your accelerator letter at the same time, this invokes the control on the child window.
- If you press and RELEASE the Alt key, the focus is now on the menu, and you can then type "a" to invoke the menu item.

But here is what happens if the menu is a radmenu:
- I press and HOLD DOWN the Alt key, and then press "a" at the same time. Result? Focus goes to the menu. It should not, it should set focus to the control on the child form.

Thanks for looking.
Dimitar
Telerik team
 answered on 11 Jan 2016
3 answers
121 views

Hi All, 

i create new winform and add radRibbonBar, but whenever open the form, it automatically added a another, please see attach file.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2016
3 answers
277 views

When the datasource is set for a gridview with sorting applied, the first row in the Rows collection is selected rather than the first row in the ChildRows collection. This causes the gridview to scroll to the position of the first row in the datasource rather than the first displayed row in the gridview.

 

 Steps to reproduce:

Set the datasource for the gridview

Sort the gridview

Set the datasource for the gridview again

The first row in the datasource will be selected and scrolled to, rather than the first displayed row.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2016
3 answers
345 views
Hi,

How can i add text or control in a specific date or day cell?

Thanks,
Angus
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jan 2016
2 answers
105 views

I have a grid populated from a base class. The base class has a enum property to identify what type of derived object it is. When the user adds a new row and changes that enum value, I need to replace the object with the associated derived type. Example:

public enum ObjectType
{
    Base,
    ChildA,
    ChildB
}
 
public class Base
{
    public ObjectType Type { get; set; }
}
 
public class ChildA : Base { }
 
public class ChildB : Base { }

The grid will initially create a new row with a DataBoundObject of Type 'Base'.

When the the user changes the 'ObjectType' column to 'ObjectType.ChildA' I need to replace the row's DataBoundObject with a new instance of 'ChildA'.

The grid's DataSource is set to a BindingSource; who's DataSource is set to BindingList<Base>.

I tried to replace the object in the BindingList. Then set the BindingSource.DataSource to the updated BindingList. And then call BindingSource.ResetBindings(false) to updated the GridView. But I receive a NullReferenceException.

How can I replace the Row's DataBoundObject with a derived object?

Paul
Top achievements
Rank 1
 answered on 06 Jan 2016
4 answers
924 views
Hi Telerik team,


For the pie chart, I saw that Telerik tools that have smart labels(refer to the attachment with the red color box), there are few features like draw connecting line and labels border, sync labels border color and line color. But I can't find it in the property of visual studio for chartView, please advise. Is it need to write back end coding instead of using property to use those features?
Apart from that, the label(refer to left red color box of attachment) show in my pie chart is by percentage(%) but the label show in Telerik is in character for each categories, may I know how to set it?


Best regards,
Nicholas
John
Top achievements
Rank 1
 answered on 06 Jan 2016
2 answers
171 views
Hello,

When I add a RadButtonElement to my alert, it causes the ContentImage to be cut off at the top of the button element, despite the button being on the other side of the alert. See the attached images as an example.

Is there a BringToFront event (or something along those lines) for ContentImage?

Thanks!
Ryan
Top achievements
Rank 1
 answered on 06 Jan 2016
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?