Telerik Forums
UI for WinForms Forum
1 answer
100 views
Why is it that when I cut and paste my radchart in VS2008 (from one teleriki...ui.TabItem on the form to another on the same form) it buggers my settings for the chart.  the first time I did it it automatically added new series that wern't there before, changed the type to spline area from spline... arrggh!!!  I found several other similar quirks which have caused me to have to redo- this same chart 3 times now.  it has become an $%(#*($ exercise in frustration!!

sorry for the vent.

is this one of microsofts vs2008 special features or something more local?

(ps the final chart does look pretty $(#* awesum mind you :)

regards
ewart
Nikolay
Telerik team
 answered on 04 Mar 2008
1 answer
131 views
I bind the tree to a DataTable.  Is there an equivalent of SelectedIndex / SelectedValue / SelectedItem in the TreeView?  I found SelectedNode but it doesn't seems to have any property that give me the underlying DataRow represented by the node.
Dimitar Kapitanov
Telerik team
 answered on 04 Mar 2008
3 answers
241 views
Hi,

I'm using win Q4 2007 and I'm looking for a decent sample that shows the classic use of toolbars with menus in winforms. E.g. implementing basic operations such as clipboard commands from tool buttons, displaying opened MDI windows in the Window menu. How to merge MDI toolbars

Also what the best practice for implemeting tool button commands - I see references to command bindings, and they look like a good way to implement commands (I don't want to handle individual toolbar click events).
 
I have to say that doc and samples are dissapointing.

regards,

Avner
Vassil Petev
Telerik team
 answered on 04 Mar 2008
3 answers
209 views
Hi,

I've curently have an application that crashes when a tooltip of a control is first displayed while it's parent dockpanel is floating, and then after it is docked and the tooltip is to display again, it crashes.

You can easily duplicate the crash by creating a form with a DockingManager and one DockPanel in the Designer.  Add a label to the dockpanel and add a ToolTipTextNeeded EventHandler.
 
1. Float the dockpanel by either dragging it or using the drop down menu.
2. Hover the mouse pointer over the label to see tooltip.
3. Re-dock the panel.
4. Hover the mouse point over the label and crash

I noticed similar behavior when using a auto-hidden dockpanel in the floating dockpanel.

I'm not sure if this occured before the ServicePack that attempts to fix the DockPanel Leaking issue or not.

Thanks,

John
Dimitar Kapitanov
Telerik team
 answered on 04 Mar 2008
1 answer
220 views
I have a MaskedEditor control, with the mask set as "0.9 Hours".

When I try to enter text into the textbox, it works fine for the first 2 digits.  If I try to enter a third digit, then I will get this exception thrown with no stack trace:

An unhandled exception of type 'System.StackOverflowException' occurred in Telerik.WinControls.UI.dll
Boyko Markov
Telerik team
 answered on 04 Mar 2008
1 answer
1.0K+ views
I feel stupid for asking but anyone know how to make a RadLabel multiline?

when I set MaximumSize.Width on an ordinary microsoft label my text wraps and all is well.  on the RadLabel not such joy.

regards
ewart.
Angel
Telerik team
 answered on 04 Mar 2008
6 answers
317 views

Just wondering if this is possible. I haven't been able to get it to work so far.

Also is it possible to hide the Filter row while still leaving filtering enabled, as i want to do all filtering programmatically.

Thank You

Dwight
Telerik team
 answered on 04 Mar 2008
1 answer
162 views
In case there are no explicit key tips specified, ribbon bar assigns numbers to commands/chunks. It works well if number of elements to be accessed by key tips is less than 10 at each hierarchical level. However, when there is more than 10, ribbon bar assigns those above 9 key tips 10, 11 and so on. But these are not accessible by user, as pressing "1" will trigger element with key tip 1.

Maybe making those key tips over 9 be "01", "02", "001" etc., as "0" doesn't trigger any element and pressing 0, then 1/2/... would clearly distinguish the command.
Dimitar Kapitanov
Telerik team
 answered on 04 Mar 2008
8 answers
311 views
I got the gridview datasource set to my collection of objects. One of the values is a decmal field. It show just fine (using the datavalueformat functions). But when I try to change the value and it updates against the object I get this error:

Header: RadGridView Default Error Dialog
Text: The follosing error has occured in the RadGridView: System.ArgumentException: Object of type 'System.String' connot be converted to type 'System.Decimal'. etc etc
Julian Benkov
Telerik team
 answered on 04 Mar 2008
1 answer
147 views
I'm using the following code to select rows in a control that I've derived from the RadGridView control that has already been populated with data:

public void SelectRows(DataTable tbl)  
{  
   foreach (DataRow row in tbl.Rows)  
      this.Rows[_KeyMappings[Convert.ToInt32(row[_KeyMember])]].IsSelected = true;  
   if (tbl.Rows.Count > 0)  
      this.CurrentRow = this.SelectedRows[0];  
   this.Update();  
} 

_KeyMappings is a Dictionary<int, int> that maps primary key values to row indecies, and _KeyMember defines what the primary key is.  This works great, until the user tries to click on a row.  I'd LIKE the selected rows to clear out (since the user just picked a new one), as the code above is simply for setting the start up state of the control from data, but they don't.  When the user clicks a new row, any previously selected rows should become unselected.
Nordy
Top achievements
Rank 1
 answered on 03 Mar 2008
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?