Telerik Forums
UI for WinForms Forum
1 answer
130 views

If i create  GridViewLookUpColumn from designer then create this code in intializeComponent. When i run, do not show column.
if i create like telerik example in form constructor  then run ok.

Same code in two places not same run.

Telerik.WinControls.UI.

GridViewLookUpColumn gridViewLookUpColumn1 = new Telerik.WinControls.UI.GridViewLookUpColumn();

gridViewLookUpColumn1.HeaderText =

"Grupo";

gridViewLookUpColumn1.Width = 150;

gridViewLookUpColumn1.FieldName =

"CodGrupoBaremo";

gridViewLookUpColumn1.DataSource =

this.grupoBaremoBindingSource;

gridViewLookUpColumn1.ValueMember =

"CodGrupoBaremo";

gridViewLookUpColumn1.DisplayMember =

"DescripcionGrupo";

this

.elementoBaremoRadGridView.MasterGridViewTemplate.Columns.Add(gridViewLookUpColumn1);


Jordan
Telerik team
 answered on 09 May 2008
4 answers
139 views
I have a GridView that's bound do a BindingList.  No rows show in the grid until the user clicks the header column to perform a sort.  Any idea why the rows don't display until the user clicks the column headers?
Jack
Telerik team
 answered on 09 May 2008
1 answer
414 views
Using Q1 2008 release.

I am experiencing a problem with the radCalendar control in that when I want to unselect a selected date, the only way that I can get it to unselect is to click on the one i want to remove and then click on any other date, which effectivley selects the new date, and is not preferred.

I want to be able to simply unselect a date by clicking on it, and i do NOT expect to have to write code to do it. It does not work in single select mode or multiselect mode.

to see an example of what i am describing, you can look no further than the Telerik control demo project that is installed with the product.

From the Demo app choose RadCalender, and the Selection Demo. With Allow Multiple Select enabled, click a few dates. Then simply try to unselect one of the dates that you previously selected. I tried single click, double click, ctrl click, right click, click + del, click + backspace.. etc. The only way to deselect a date is to click the date and then click some other date.

I think i am going to start charging telerik for all of the wasted time i have spent trying to figure out workarounds to these controls. Please BUGTEST the controls before releasing ANY new control sets. Get the products stable first, then add new features second, so that paying customers who have project deadlines can actually use the controls for their intended purposes rather than having to submit forum entries to hope that someone has a hack solution to a problem that other control sets do by DEFAULT!!!!!

Boyko Markov
Telerik team
 answered on 09 May 2008
5 answers
130 views
Hi,

May I know how can I set so that the ribbon bar will not response to keyboard?

I found that, the ribbon bar might cause error while I press "CTRL".

Please advice.

Kiril
Telerik team
 answered on 09 May 2008
1 answer
143 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
120 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
201 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
275 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
203 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
155 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
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?