Telerik Forums
UI for WinForms Forum
1 answer
108 views
It would be nice to have a rich text editor for Winforms like you have for the Ajax controls.

Kiril
Telerik team
 answered on 08 May 2008
2 answers
96 views
If I set a top-padding value to the TreeView the D&D doesn't work.. it seems to get node the Y without padding substraction..

Is it a bug?

Thank you!
Alejandro
Jordan
Telerik team
 answered on 08 May 2008
7 answers
182 views
I have downloaded the latest rad controls for winforms, I have visual studio 2008 running on windows vista ultimate. I have a problem in visual studio in the designer, when i drag a new rad menu onto my form there seems to be no problem. I added a couple of items into the menu and then i ran the application,
when the application shows up in runtime the menu is gone. Also if in the designer i close the form and reopen the menu is gone as well. I have tried uninstalling and installing a new version of rad controls with the same results... All the other controls seem to work fine, except the radMenu.

If anyone can help, it is very much appreciated.
Todd -
rgomez
Top achievements
Rank 1
 answered on 08 May 2008
1 answer
236 views
May I know how can we convert the shaped Form into RadForm? As what we noticed, if we direct change the inherits text, then it will cause error.
Martin Vasilev
Telerik team
 answered on 08 May 2008
2 answers
177 views
I have a form with a combobox which has some values entered during design-time.  I also have a datagridview.  I'm trying to convert this so I am using RadControls combobox and gridview.

Here is my working code using built in controls:

    Private Sub CustomerBindingSource_CurrentChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomerBindingSource.CurrentChanged
        Me.customerID = CType(Me.CustomerBindingSource.Current, DataRowView).Row.Item("CustomerID")
        filldgvCustomerVariousData(Me.customerID, Me.ComboBox1.SelectedItem)
    End Sub

Here is my attempted code using RadControls:

        Dim item As RadComboBoxItem = TryCast(rcbo_ShowTransactions.SelectedItem, RadComboBoxItem)
        Me.customerID = CType(Me.CustomerBindingSource.Current, DataRowView).Row.Item("CustomerID")
        filldgvCustomerVariousData(Me.customerID, item.Text)

The above code will work, but only after I get errors saying that the value of selecteditem is Null and if I Step Over and then go select a value in the RadComboBox. 

This is probably true because the form has not yet completely loaded so I have not yet selected an item.  But I do have some default text in the RadComboBox.  So, maybe SelectedItem isn't the right thing to be using.  Is there something else I can try?

Thanks!

Georgi
Telerik team
 answered on 07 May 2008
1 answer
133 views
I am having an odd problem with the Dock manager.

I created a project similiar to the Dock for MDI example.

My version loads a form which also includes another dock manager.

This works fine and looks awesome! but, for some reason, if I close the document that contains the sub dockmanager, and then I close my application, I get this error:

System.ArgumentException  {"Parameter is not valid."}  
 
"   at System.Drawing.Font.GetHeight(Graphics graphics)\r\n   at System.Drawing.Font.GetHeight()\r\n   at System.Drawing.Font.get_Height()\r\n   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.UI.LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.UI.GridRowElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.RadObject.UpdateEffectiveValue(RadProperty dp, RadPropertyMetadata metadata, Boolean isCoerceValue, Boolean isOldValueValid, Object oldValue, ValueSource oldValueSource, Boolean oldValueIsDeferred, Boolean coerceWithDeferredReference)\r\n   at Telerik.WinControls.RadObject.NotifyOnPropertyChanged(RadProperty radProperty, Object oldValue)\r\n   at Telerik.WinControls.RadObject.UnregisterStylePropertySetting(IPropertySetting setting, Boolean notifyPropertyChange)\r\n   at Telerik.WinControls.PropertySetting.UnregisterValue(RadElement element)\r\n   at Telerik.WinControls.SelectorBase.Unregister(RadElement element, PropertySettingCollection propertySettings)\r\n   at Telerik.WinControls.StyleSheet.Unapply(RadElement radElement)\r\n   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.UI.LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.UI.GridRowElement.OnPropertyChanged(RadPropertyChangedEventArgs e)\r\n   at Telerik.WinControls.RadObject.UpdateEffectiveValue(RadProperty dp, RadPropertyMetadata metadata, Boolean isCoerceValue, Boolean isOldValueValid, Object oldValue, ValueSource oldValueSource, Boolean oldValueIsDeferred, Boolean coerceWithDeferredReference)\r\n   at Telerik.WinControls.RadObject.SetValueCommon(RadProperty dp, Object value, RadPropertyMetadata metadata, Boolean coerceWithDeferredReference)\r\n   at Telerik.WinControls.RadObject.SetValue(RadProperty dp, Object value)\r\n   at Telerik.WinControls.RadElement.set_Style(StyleSheet value)\r\n   at Telerik.WinControls.UI.GridRowElement.Dispose(Boolean disposing)\r\n   at Telerik.WinControls.RadComponentElement.Dispose()\r\n   at Telerik.WinControls.RadElement.Cleanup()\r\n   at Telerik.WinControls.ComponentThemableElementTree.RemoveChildren(RadElement element)\r\n   at Telerik.WinControls.ComponentThemableElementTree.RemoveChildren(RadElement element)\r\n   at Telerik.WinControls.ComponentThemableElementTree.RemoveChildren(RadElement element)\r\n   at Telerik.WinControls.ComponentThemableElementTree.RemoveChildren(RadElement element)\r\n   at Telerik.WinControls.ComponentThemableElementTree.Dispose(Boolean disposing)\r\n   at Telerik.WinControls.RadControl.Dispose(Boolean disposing)\r\n   at Telerik.WinControls.UI.RadGridView.Dispose(Boolean disposing)\r\n   at System.ComponentModel.Component.Dispose()\r\n   at System.Windows.Forms.Control.Dispose(Boolean disposing)\r\n   at Telerik.WinControls.Docking.DockWindow.Dispose(Boolean disposing)\r\n   at System.ComponentModel.Component.Dispose()\r\n   at System.Windows.Forms.Control.Dispose(Boolean disposing)\r\n   at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)\r\n   at Telerik.WinControls.Docking.DockSite.Dispose(Boolean disposing)\r\n   at System.ComponentModel.Component.Dispose()\r\n   at Telerik.WinControls.Docking.DockingManager.Dispose(Boolean disposing)\r\n   at System.ComponentModel.Component.Finalize()" 

If I dont close any of the documents and just close the application, I dont get this error.


I am not sure what the actual cause is... There isnt much code going on, just alot of layout stuff.

There is a grid which is inside sub form / dockmanager.  I can see it mentions something about it in the error but I just cant figure it out, something about styling.

Martin Vasilev
Telerik team
 answered on 07 May 2008
3 answers
240 views
Hi,

I am trying to get the correct row from my grid for the Event RadGridView1.DragDrop.

In http://www.telerik.com/community/forums/thread/b311D-baegte.aspx#410155 you advised to use the GetElementAtPoint method, which is exactly what I need. Has this been removed in Q1_2008 ? Whats the correct way to get a Row by mousecoordinates?

My code looks like this

    Private Sub RadGridView1_DragDrop(ByVal sender As ObjectByVal e As System.Windows.Forms.DragEventArgs) Handles RadGridView1.DragDrop 
        If e.Data.GetDataPresent(GetType(Resource)) Then 
            Dim draggedResource As Resource = CType(e.Data.GetData(GetType(Resource)), Resource) 
            ' GetElementAtPoint does not exist 
            ' Dim target As RadElement = RadGridView1.GetElementAtPoint(New System.Drawing.Point(e.X, e.Y)) 
        End If 
    End Sub 


Jack
Telerik team
 answered on 07 May 2008
1 answer
119 views
Hi everyone, I'm curently writing a 100% keyboard application (of course you can use the mouse too but it's faster when you use the keyoard only) . My prolem is when I have more than 1 result to a query I need too show the result and let the user choice which one he want to use... But I use the SelectedItemChange Event to set something else. So when the user use the keyDown to move in the combobox that call the SelectedItemChange Event but I don't want this. With the VS Combobox I setted a boolean to true when the user pressed the keydown , but in the RadCombobox the keydown event comes before the SelectedItemChange Event so my way is impossible. If you can just show me an other way I would be happy.

Thanks and sorry for all english mistakes
Georgi
Telerik team
 answered on 07 May 2008
0 answers
154 views
SORRY - I found this is addressed in another Thread.


Hi,

while TAB (next control in tab order) works on RadTextBox -
SHIFT-TAB (prev control in tab order) does not work.

Replaceing RadTextBox with Forms.Textbox makes SHIFT-TAB work.
So I guess it is a problem with RadTextBox.

Regards

Manfred
ManniAT
Top achievements
Rank 2
 asked on 07 May 2008
3 answers
237 views
Hi!

I'm trying to to a master-detail view inside a gridview from my own objects but can't get it working ...
trying a details into master object approach only the first item has children , so tryed a object list with parent items and another object list with children items and made a relation inside gridview object but then none of the items have children in the grid ...

Can you help me please?

I've found in this forum about hierachical items from objects not working on jan'07 but the answer from telerik is that it will be solved in q2 release and i'm trying the q3 release , it's possible it's not implemented yet?

thanks
Jack
Telerik team
 answered on 07 May 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)
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?