Telerik Forums
UI for WinForms Forum
3 answers
238 views
I was specifically looking for a winforms combobox with autosizing and I noticed (in your documentation) you support this.  However it doesn't seem to be working.  I'm not sure if it's because I'm using a databound datasource or exactly why.  I want the combobox to automatically set it's width to the length of the text contained within it.  I'm using version 6.1.0.0.
Georgi
Telerik team
 answered on 04 Jun 2008
2 answers
118 views
I have the following problem. Ribbon bar which contains more then one tab is being downsized and immediately upsized when I switch command tabs for the first time (i.e. it happens once for each command tab whe it is first selected and rendered). I'd like to avoid it as it's not very pleasant effect and when there are other complex controls on the form, it forces them to redraw twice.

Is there any way how to tell RibbonBar to maintain height on tab-switching? Or some other solution that'd halp me solve the problem? Thanks in advance.

Best regards,
Daniel
Daniel
Top achievements
Rank 1
 answered on 03 Jun 2008
2 answers
268 views
Hi

I want to show the current windows in my mdi form on a button dropdown. I can get it to work with a basic menu i.e But need to have this add to the Ribbonbar - anyone help

Thanks

'Setup MDI stuff

Me.IsMdiContainer = True

'Add File Menu

Dim miFile As MenuItem = MainMenu.MenuItems.Add("&File")

miFile.MergeOrder = 0

miFile.MergeType = MenuMerge.MergeItems

Dim miAddDoc As MenuItem = New MenuItem("&Add Document", New EventHandler(AddressOf Me.FileAdd_Clicked), Shortcut.CtrlA)

miAddDoc.MergeOrder = 100

Dim miExit As MenuItem = New MenuItem("E&xit", New EventHandler(AddressOf Me.FileExit_Clicked), Shortcut.CtrlX)

miExit.MergeOrder = 110

miFile.MenuItems.Add(miAddDoc)

miFile.MenuItems.Add(

"-") ' Gives us a seperator

miFile.MenuItems.Add(miExit)

'Add Window Menu

Dim miWindow As MenuItem = MainMenu.MenuItems.Add("&Window")

miWindow.MergeOrder = 10

miWindow.MenuItems.Add(

"&Cascade", New EventHandler(AddressOf Me.WindowCascade_Clicked))

miWindow.MenuItems.Add(

"Tile &Horizontal", New EventHandler(AddressOf Me.WindowTileH_Clicked))

miWindow.MenuItems.Add(

"Tile &Vertical", New EventHandler(AddressOf Me.WindowTileV_Clicked))

miWindow.MdiList =

True 'Adds the MDI Window List to the bottom of the menu

Tim
Top achievements
Rank 1
 answered on 03 Jun 2008
9 answers
208 views
Lately I've been getting some wierd reactions inside Visual Studio 2005 and with my application. The RadRibbonBar is showing wrong color/theme for a few menu items and some click events aren't working on a dialog form I have. The only recent change I've made is updating to Q1 2008 WinControls, but I'm not sure that's the culprit.

I'm hoping someone here has seen this before and can help. I have attached an image to show the color issue.

On the image you can see that I just created a new chunk and added a radbuttonelement to it to show what the theme is supposed to look like (and used to), but next to it you can see the other chunks and buttons that are all wrong. I have not touched the design code or themes. It's using the ControlDefault theme.
Wrong color
 
Falk Wegener
Top achievements
Rank 1
 answered on 03 Jun 2008
1 answer
116 views
I don't know if this is specific to my system, but any time I perform a cut-and-paste operation with a radTabStrip, the pasted radTabStrip loses all the controls that were in the tabs.

To test, add a radTabStrip to a form, create two tabs, then add some controls to each tab.  Select the radTabStrip and perform a cut operation via Ctrl-X.  Paste the radTabStrip back onto the form via Ctrl-V.  The controls added to the tab pages are not present.

Josh
Nikolay
Telerik team
 answered on 03 Jun 2008
1 answer
129 views
Hi, I have a GridViewLookUpColumn placed in the last column of a row.  I need to dynamically turn the grid's ReadOnly property on and off.  So when I set ReadOnly = True, the combobox remains in edit mode.  Has anyone seen this happen to them?

Regards,
David
Jordan
Telerik team
 answered on 03 Jun 2008
1 answer
148 views
Hi I was playing around with the radColorDialog today and I found a slight error.  When the dialog is first opened, the default color is red.  However, when the dialog is closed and then opened again, the selected color is null.  If one clicks OK without selecting another color, it will generate a nullreferenceexception.

Thanks in advance for reading.
Kiril
Telerik team
 answered on 02 Jun 2008
6 answers
230 views
Hello!

I'm having a strange issue in my application. My scenario is as follows:

1. I have a simple form, with a RadComboBox and a TextBox;
2. I have a custom object (say myObject);
3. I bind my RadComboBox to a DataTable, using a BindingSource;
4. I had a binding to the RadComboBox from SelectedValue to a property of myObject;

The problem is that whenever I select an item from de RadComboBox (DropDownList mode), and then I leave the combo changing the focus elsewhere, the combo becomes unselected. I tried the same with the normal ComboBox and it works flawlessly.

Any thoughts on this one? Many thanks in advance!

My code, at Form Load:
cmbTipoCriterioPai.BindingContext = new BindingContext(); 
 
// Populating the BindingSource 
ServicoTipoCriterio servicoTipoCriterio = new ServicoTipoCriterio(); 
bsPais.DataSource = servicoTipoCriterio.GetDadosPesquisa("0=0"); 
servicoTipoCriterio.Dispose(); 
 
// DataBinding the RadComboBox 
cmbTipoCriterioPai.DisplayMember = "Designacao"; 
cmbTipoCriterioPai.ValueMember = "ID_TipoCriterio"; 
cmbTipoCriterioPai.DataSource = bsPais; 
 
// Adding the SelectedValue DataBinding 
cmbTipoCriterioPai.DataBindings.Clear(); 
cmbTipoCriterioPai.DataBindings.Add("SelectedValue", myObject, "ID_TipoCriterioPai"); 

Stargazer
Top achievements
Rank 2
 answered on 02 Jun 2008
3 answers
171 views
Hi

I can't get the bookstore demo to show its main form.  Errors with: unable to cast system.windows.forms.form to type telerik.teched07.mainform.

Does anyone else have this problem?

Thanks

Sean


Nikolay
Telerik team
 answered on 02 Jun 2008
1 answer
106 views
I know that you can bind the RadGridView to a DataSset and set the AutoGenerateHierarchyFromDataSet property to true in order for it to show the hierarchy of objects.
However, my grid is bound to a custom object collection which has nested collections and i need the same behaviour to be reproduced using it


Nikolay
Telerik team
 answered on 02 Jun 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
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
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?