Telerik Forums
UI for WinForms Forum
1 answer
172 views
I have discovered what I believe to be a bug on the RadLabel control. When you react to the ToolTipTextNeeded event the sender is the Label element and not the label control, this is contrary to the other events, such as the mouse click event which the sender is the Label.
Deyan
Telerik team
 answered on 03 Sep 2009
2 answers
179 views
I've recently tested the new raddock and the code for pretty much all operations is so much simpler that it really is a complete pleasure to use. However there is one thing that I got an example from off these forums some months ago that for some reason (I assume some simple oversight of mine) I cannot duplicate.

That is to add a close button(or any button) to a tab on the right side of said tab.
I can add the button no problem (with alot less code than before \o/)
 - correct size etc but for some reason it always aligns the button left.

I'm quite certain I'm missing something simple but for some reason can't figure it out.

Thanks in advance
Kenneth Jackson
Top achievements
Rank 1
 answered on 02 Sep 2009
4 answers
269 views
I downloaded and installed the new version of all the Telerik controls.  I am in a project that I've been working on for awhile and some of my design pages will not load or when I run/test the program, it doesn't work because now some "object references are not set to an instance of an object."  When I open a design page, I get errors like this (and I can't see teh design page at all):  "No such property registered: IsPressed, Telerik.WinControls.UI.RadButtonItem" or "No such property registered: NumberOfColors, Telerik.WinControls.UI.LightVisualElement" or just "Object reference not set to an instance of an object"  Is there something else I need to do besides just installing the new version of the Telerik controls?
Victor
Telerik team
 answered on 02 Sep 2009
2 answers
216 views
Hi,
    How can I do the following.

I have a radchart set to be a pie chart and I have a datatable with many columns in it. When I set the datasource of the chart to the datatable I get results for every column. What I want to do is get it to create a pie chart on just one column. How do I achieve this?

radChart1.DataSource = Myds; //Is the datatable with many columns


What do I set on radchart to just use one column from that table.

Thanks.
Ves
Telerik team
 answered on 02 Sep 2009
3 answers
143 views
I'm running into a problem with the caption of the group has odd alignment when the form loads. I am using the OutlookNavPane style.

I am programmatically expanding and selecting the first group panel group with code like this:

RadPanelBarGroupElement group = pnlMainNav.Items[0] as RadPanelBarGroupElement; 
if (group != null) { 
  group.Expanded = true
  group.Selected = true
  group.ContentPanel.Controls.Add(new PersonMenuPanel()); 

Everything looks fine  at first as the caption at the top of the PanelBar is correctly named but it is not centered. Manually clicking the panel group button the text centers. I'm not sure what is causing this, but I'd like it display properly when the form loads.

Has anyone experienced this or have a workaround/fix for this?
Boyko Markov
Telerik team
 answered on 02 Sep 2009
1 answer
205 views
Hello,

I have a scrollbar on a radform and it works just fine except when you try scrolling using the mouse wheel.  Does anyone have any suggestions? I wasn't sure on how to use the RadVScrollBar1_MouseWheel event.  Please advise.

Thanks,
Jack
Telerik team
 answered on 01 Sep 2009
1 answer
213 views
Hi, I am trying to insert a new row with the Winform RadGridView Control.

This is my Grid Code
Dim Cod As New GridViewDataColumn("ID""DOM_ID")  
            Dim Domicilio As New GridViewTextBoxColumn("DOMICILIO")  
            Dim Provincia As New GridViewComboBoxColumn("PROVINCIA")  
            Dim Localidad As New GridViewComboBoxColumn("LOCALIDAD")  
            Dim Cp As New GridViewTextBoxColumn("CP")  
 
 
            'COLUMNAS HEADER  
            Domicilio.HeaderText = "Domicilio" 
            Provincia.HeaderText = "Provincia" 
            Localidad.HeaderText = "Localidad" 
            Cp.HeaderText = "CP" 
 
            'COLUMNAS VALORES  
            Provincia.DisplayMember = "PRO_NOMBRE" 
            Provincia.DataField = "DOM_PRO_ID" 
            Provincia.ValueMember = "PRO_ID" 
            Provincia.DataSource = mgrEntidades.ObtenerProvincias  
 
            Localidad.DisplayMember = "LOC_NOMBRE" 
            Localidad.DataField = "DOM_LOC_ID" 
            Localidad.ValueMember = "LOC_ID" 
            Localidad.DisplayMember = "LOC_NOMBRE" 
            Localidad.DataSource = mgrEntidades.ObtenerLocalidades  
 
            Cp.DataField = "DOM_CP" 
            Domicilio.DataField = "DOM_DOMICILIO" 
 
            'AGREGAR COLUMNAS  
            gv_Domicilio.Columns.Add(Cod)  
            gv_Domicilio.Columns.Add(Domicilio)  
            gv_Domicilio.Columns.Add(Provincia)  
            gv_Domicilio.Columns.Add(Localidad)  
            gv_Domicilio.Columns.Add(Cp) 


This is my Update Code.

    Private Sub gv_Domicilio_CellEndEdit(ByVal sender As ObjectByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles gv_Domicilio.CellEndEdit  
        If Not e.RowIndex = -1 Then 
            Dim Dom As New Domicilio  
            With Dom  
                .id = CInt(TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(0).Value)  
                .domicilio = TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(1).Value  
                .provincia = New Provincia  
                .provincia.id = TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(2).Value  
                .localidad = New Localidad  
                .localidad.id = TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(3).Value  
                .cp = TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(4).Value  
            End With 
            mgrCliente.GuardarDomicilio(CInt(TryCast(sender, RadGridView).Rows(e.RowIndex).Cells(0).Value), Dom)  
        End If 
    End Sub 

I want to validate "ALL" cells values before insert the new Record but i dont know how.

Regards!

Geoorge.
Jack
Telerik team
 answered on 01 Sep 2009
9 answers
1.3K+ views
hello,

how can i format a cell that is currently displayed as "dd.mm.yyyy hh:mm:ss" to "dd..mm.yy" by code?

another cell that is displayed as "hh:mm:ss" should be displayed as "hh:mm".

thank you for the answer!

andreas
Jack
Telerik team
 answered on 01 Sep 2009
2 answers
215 views
I need to get the splitter width for all the windows in a raddock to default to a bigger area.
I tried editing the UI element tree from the smart tag and even tried it in code

((

Telerik.WinControls.UI.SplitterElement)(this.dockMain.GetChildAt(1).GetChildAt(0))).AutoSize = false;

 

((

Telerik.WinControls.UI.SplitterElement)(this.dockMain.GetChildAt(1).GetChildAt(0))).SplitterWidth = 15;

 



however although I get no exceptions , my splitter widths remain the default width.
Is there a different property that needs to be applied to change the splitter width ?
Kenneth Jackson
Top achievements
Rank 1
 answered on 01 Sep 2009
5 answers
198 views
I am trying to use the property builder to add colums and their headers in the latest Telrik WinControls and either the property builder close while doing this or when i click to add a new colum it closes down without saving. I therefore can't save any new colums using the property builder.

Has anyone else encountered this?
Nick
Telerik team
 answered on 01 Sep 2009
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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?