Telerik Forums
UI for WinForms Forum
3 answers
578 views
Is there a way to hide the column showing the > image for the current row?
Nikolay
Telerik team
 answered on 03 Sep 2009
3 answers
148 views
Hello Telerik team,

I'd like to know if the grid view (and all RadControls for Winforms in general) supports the abovementioned interfaces for automaticallty notifying validation errors to the end user.
I have a business classes hierarchy  implementing these interfaces. I have developed some projects using another control suite. I'm considering migrating one of them using the RadGridView, and automatic support for IDataErrorInfo and INotifyPropertyChanged would be critical requirements to proceed.

Best regards,

Gonzalo
Jack
Telerik team
 answered on 03 Sep 2009
1 answer
133 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
131 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
192 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
163 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
114 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
150 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
181 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.2K+ 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
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?