Telerik Forums
UI for WinForms Forum
9 answers
148 views
I have a problem
I'm running a GridViewlookUpColumn with ID and name.
The lookup displays the name so it's working fine.
BUT, if i click the header it sorts by the ID and not by the name.
How to set that??
Nikolay
Telerik team
 answered on 30 Sep 2009
1 answer
127 views
Hello,

I hope that someone can help me with an issue related to binding a bindable collection class to one of the Winforms Telerik list controls.  

If you bind to a plain ole windows list control like this...

    dim list as new comboBox
    
    with list
        .DataSource=myCollectionClass  'this contains a collection of widgets.
        .ValueMember="WidgetID"
        .DisplayMember="WidgetName"
    end with

I can then get a widget out of the list by doing this...

    Dim myWidget as Widget=ctype(list.Items(0),Widget)

If you do the exact same code with for example a Telerik RadListBox (same example as above)
but change line one to be   

    Dim list as new RadComboBox.  

With RadControls it seems you cannot cast to the Object type directly.  Whenever I try this I get the following error...  

    Unable to cast object of type 'Telerik.WinControls.UI.RadListBoxItem'
    to type 'Widget'.

Can someone at the least confirm that this is a known limitation of Telerik RadControls for Winforms or let me know the proper way to do it.

Thanks.

Seth
Nikolay
Telerik team
 answered on 30 Sep 2009
3 answers
212 views
Hi Telerik Team,
I am just preparing a prototype application for my client using telerik, Came across an issue that is " I am unable to have a dotted border around Rad Label", can you please help me in this regard, I be very thankful.

Regards,
Haroon.
Nick
Telerik team
 answered on 30 Sep 2009
1 answer
153 views
Hello,

I have been able to get most of my required chart layout customizations to work.  The only thing I can't figure out is how to get rid of the left and right margins in the plotted data and the right margin between the right side of the plot area and right side of the chart.  I tried messing with the margins in the plot area > appearance > dimension area but it didn't work.  I would set all the margins to 0 and they would come back.  I would also set autosize to false, but this causes major exceptions in the designer.  I also tried messing with the autosizing in the plot area > appearance > position area but this also causes major exceptions in the designer.  I just want my chart to look normal with the plotted data taking up the full widh of the plot area and no margin to the right.  This should really be the default layout.  Is it possible to achieve this in the RAD charts?  Is this something that is being worked on?

Thanks,

-Brian
Ves
Telerik team
 answered on 30 Sep 2009
9 answers
1.0K+ views
I am just getting started with using the win forms controls rad grid view. I am using linq DataContext class as the basis of my binding source. This loads the rad grid fine but when i select a row i come up with this error. "This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row." This shows up in the Applicationrun in my Program.cs file. I was using the standard win forms controls and have no problem with selecting rows. I have looked at the online help but have only seen a couple of instances that i thought would work but nothing yet has proven true. Any ideas as to what properties or actions i need to take.

Thanks john.
Nick
Telerik team
 answered on 30 Sep 2009
1 answer
103 views
To whom it may concern,

As I was reading the QuickStart documentation of RibbonBar, I noticed that it tells you to inherit your form from ShapedForm instead of RadRibbonForm.

Although it's not a big deal, I think it would be nice to update the documentation and reflect the current best practice of RibbonBar usage. :)

Thanks in advance.
Deyan
Telerik team
 answered on 30 Sep 2009
3 answers
78 views
Hi,

When moving a sorted column bind to objects of nullable type (DateTime?, int? etc) i get an error. Is this a know bug?

Best regards
Erik
Erik Sundström
Top achievements
Rank 1
 answered on 29 Sep 2009
6 answers
211 views
Hi,

I have a grid view and want a date column to be conditionally formatted.  It works using the code shown below however the header cell for that column also gets formatted.  How do I prevent only the data getting formatted.  Code follows.

Regards,

Jon

Dim amberFormatting As New Telerik.WinControls.UI.ConditionalFormattingObject("Amber", Telerik.WinControls.UI.ConditionTypes.LessOrEqual, Now(), ""False)  
amberFormatting.CellBackColor = Color.FromArgb(255, 209, 140)  
uxRadGridView.Columns("Due").ConditionalFormattingObjectList.Add(amberFormatting)  
 
Dim greenFormatting As New Telerik.WinControls.UI.ConditionalFormattingObject("Green", Telerik.WinControls.UI.ConditionTypes.Greater, Now(), ""False)  
greenFormatting.CellBackColor = Color.FromArgb(219, 251, 91)  
uxRadGridView.Columns("Due").ConditionalFormattingObjectList.Add(greenFormatting) 
Nick
Telerik team
 answered on 29 Sep 2009
5 answers
219 views
I might have just answered my own question but just in case, I noticed that RadGridView's SaveLayout is saving ChildGridViewTemplates but not their Relations.  "What good is a ChildGridViewTemplate without its Relation?", I asked myself.  Then I realized that it may just be saving ChildGridViewTemplates for the their other settings (i.e. Column visibility, order, width, sorting, filters, formatting, etc.).  Correct?

Telerik 2009Q2 (2009.2.9.729), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.
Nick
Telerik team
 answered on 29 Sep 2009
1 answer
209 views
The Windows MenuItem has a CloneMenu() method, but I don't find anything like that in the RadMenuItem.  Is there a way to copy a RadMenuItem?

Thanks,

Mark
Nick
Telerik team
 answered on 29 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?