Telerik Forums
UI for WinForms Forum
2 answers
279 views
hi
I need to save splitter location on runtime when the user exits and app were closed.
Bun when i read the splitter width from registery(seved settings)  and set splitter by it, splitter width does not work and not change.

My Code is :

Dim p1 As Integer = GetSetting("splWidth1", 100)
Dim pnl As SplitPanel = SPL.SplitPanels(0) 
pnl.SetBounds(pnl.Left, pnl.Top, p1, pnl.Height)
SplitPanel1.Size =
New Point(p1, SplitPanel1.Height)
SplitPanel2.Width = GetSetting(
"splWidth2", 100)

      
It is correct But don't work.
Hristo
Telerik team
 answered on 17 Dec 2014
2 answers
171 views
How can I Show Trackball for each series?

For i = 0 To Me.RadListView1.Items.Count - 1
                If RadListView1.Items(i).CheckState = Telerik.WinControls.Enumerations.ToggleState.On Then
                   Dim lii As Integer = RadListView1.Items(i).Value
                    Dim liText As String = RadListView1.Items(i).Text
                    ''SingleHistory = MeasureWS.SingleHistory(lii.ToString, TextBoxStart.Text, TextBoxEnd.Text, "120")
                    SingleHistory = MeasureWS.SingleHistory(lii.ToString, "", TextBoxStart.Text, TextBoxEnd.Text, "120")

                    Dim LineSeriesY As New LineSeries()
                    LineSeriesY.LegendTitle = liText
                    'LineSeriesY.Name = liText
                    Dim LineSeriesX As New LinearAxis()
                    LineSeriesX.HorizontalLocation = AxisHorizontalLocation.Left
                    LineSeriesX.AxisType = AxisType.Second
                    'LineSeriesX.Title = ""
                    LineSeriesY.VerticalAxis = LineSeriesX
                    LineSeriesY.HorizontalAxis = horizontalAxis
                    RadChartView1.Series.Add(LineSeriesY)

                    LineSeriesY.CategoryMember = "DateTime"
                    LineSeriesY.ValueMember = "PV"

                    LineSeriesY.DataSource = SingleHistory
                    'Form2.DataGridView1.DataSource = SingleHistory

                    Dim controler As New ChartTrackballController()
                    AddHandler controler.TextNeeded, AddressOf controler_TextNeeded
                    RadChartView1.Controllers.Add(controler)


                End If
            Next


Private Sub controler_TextNeeded(sender As Object, e As TextNeededEventArgs)
        Dim dataPoint As CategoricalDataPoint = TryCast(e.Points(0).DataPoint, CategoricalDataPoint)
        e.Text = String.Format("{0} : {1}", dataPoint.Category, dataPoint.Value)
End Sub
Jan Skovhus
Top achievements
Rank 1
 answered on 17 Dec 2014
1 answer
143 views
Hi! First I am new in telerik controls :)

I want use this control (Q3 2014 version) in the vertical orientation and with a background image (i draw this image). Good, set the background image is not a problem, only needs modificate BodyElement property in the RangeSelectorElement. The problem is to set a vertical orientation (in the RangeSelectorElement), this not work fine. The buttons in the borders of the control not work in the correct direction, and when i try move the selected range with the mouse it´s do strange things.

Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Dec 2014
1 answer
308 views
I've got a RichTextEditor that I'm filling with the output from an HtmlFormatProvider.Import

After I've imported, I'd like to change the font and font size for the entire document.  Is there a way to do this?
Hristo
Telerik team
 answered on 17 Dec 2014
1 answer
142 views
Hi,

I'm unable to close all MDI childs in once.
I've used the following code:

Public Class RadRibbonForm1
 
    Private Sub RadButtonElement1_Click(sender As Object, e As System.EventArgs) Handles RadButtonElement1.Click
        Dim childForm As New Form()
        childForm.Text = "MDI Child " & DateTime.Now.ToShortTimeString()
        childForm.MdiParent = Me
        childForm.Show()
    End Sub
 
    Private Sub RadButtonElement2_Click(sender As Object, e As System.EventArgs) Handles RadButtonElement2.Click
        Dim frmChild As Form
 
        For Each frmChild In Me.MdiChildren
            frmChild.Close()
        Next
    End Sub
 
    Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()
 
        ' Add any initialization after the InitializeComponent() call.
        Me.IsMdiContainer = True
 
        With Me.RadDock1
            .AutoDetectMdiChildren = True
            .ShowDocumentCloseButton = True
            .ToolWindowInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.ToBack
        End With
    End Sub
End Class
Dimitar
Telerik team
 answered on 17 Dec 2014
6 answers
120 views
I am building a RadScheduler application via a demo that I found online by a member of the Telerik team.  I have everything working but when I try and expand the calendar to 3 Rows (MultiViewRows = 3) and attempt to save it, it throws the following error:

Property accessor 'ZoomLevel' on object 'RadCalendar1' threw the following exception: 'Object reference not set to an instance of an object.'

Thanks for your help!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Dec 2014
2 answers
104 views
Hello,
I want to change the background color of a row if the progress is 100%.
Foreground color is changeable background color not.
What am I doing wrong?

regards
Frank

   Private Sub rGanttProjekteliste_TextViewCellFormatting(sender As Object, e As GanttViewTextViewCellFormattingEventArgs) _
                                                                        Handles rGanttProjekteliste.TextViewCellFormatting
        '
        Dim headercelltyp As Type = GetType(GanttViewTextViewHeaderCellElement)
        Dim elementcelltyp As Type = e.CellElement.GetType()
        '
        If Not headercelltyp.IsAssignableFrom(elementcelltyp) Then
            '
            If e.Item.Level = 1 Then
                e.CellElement.Font = New Font(e.CellElement.Font, FontStyle.Bold)
            End If
            '
            If e.Item.Progress = 100 Then
                e.CellElement.BackColor = Color.Gray
            Else
                e.CellElement.BackColor = Color.White
            End If
            '
        End If
        '
    End Sub
Frank
Top achievements
Rank 1
 answered on 16 Dec 2014
1 answer
207 views
Can any one help me display the font family in ribbon control using combo box, i do know how to do this without the ribbon control but it doesnt seem to work the same. This is what i use without the ribbon control and it works. thank you in advance
Hristo
Telerik team
 answered on 16 Dec 2014
3 answers
130 views
Hi there,

If someone can shed some light, I have purchased the license for winforms library over the phone, but can't seem to find the development (non-evaluation) library. When login-in to telerik.com the 'Products' sections doesn't have any product registered. How do I obtain the control library that can be used in production.

Any idea?

Thanks in advance.

Michael
Michael
Top achievements
Rank 1
 answered on 15 Dec 2014
1 answer
186 views
I just downloaded the telerik for UI win forms, I been going through the blogs trying to figure our if there is any code snippet or something to point me to right direction on how to implement a swipe up/down of a grid view control. anybody can help on that?

Thanks
Stefan
Telerik team
 answered on 15 Dec 2014
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?