Telerik Forums
UI for WinForms Forum
1 answer
455 views
I have a button on my form where the text = "Assign Checked Customers"
The button is set to a DisplayStyle of Text and the TextAlignment is set to MiddleCenter.  The text is absolutely not centered and the only way for me to get it centered is to set the leftmost number in the Padding property to 10.  This will do but it's highly irritating.  I've also noticed that as I decrease the size of that button, it appears to need a lot of padding space on the left and right side of the text or it chops off the right side of the button completely.  This makes it impossible to create a button barely any wider than the text it contains.

I've also noticed alignment problems in with the RadLabel control.  For example, drop a RadGridView and a RadLabel directly under it on a form.  Leave the RadLabel's default text as is. E.g. "Label3" and align the left side with the left side of the RadGridView.  Leave the AutoSize property on the RadLabel set to True.  Now change the font weight to bold.  Notice that the text is cut off which to me means AutoSize isn't working properly.  Now set AutoSize to False.  The left alignment will be wrong when the font weight is bold and you will not be able to snap the left alignment to match the left border of the RadGridView.  For sake of comparison, drop a Microsoft label underneath the RadLabel and do the same things to it.  The Microsoft control operates as expected.

Are the problems I state above known problems?  I'm new to the Telerik controls but I certainly did not expect such basic things to not work properly.
Nikolay
Telerik team
 answered on 04 Apr 2008
1 answer
133 views
This isn't a real game ender - just something to note.

If you pick a font in the style builder that doesn't have a 'normal' setting (like a bold-only font) the VSB will crash. Easy to reproduce - try modifying the font of a control, then use the down-arrow to cycle through all the fonts on your system.

System.ArgumentException: Font 'Berlin Sans FB Demi' does not support style 'Regular'. 
   at System.Drawing.Font.CreateNativeFont() 
   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) 
   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style) 
   at Telerik.WinControls.Themes.Design.TextSettingsControl.radComboBox1_SelectedIndexChanged(Object sender, EventArgs e) 
   at Telerik.WinControls.UI.RadComboBox.OnSelectedIndexChanged(EventArgs e) 
   at Telerik.WinControls.UI.RadComboBox.comboBoxElement_SelectedIndexChanged(Object sender, EventArgs e) 
   at Telerik.WinControls.UI.RadComboBoxElement.OnSelectedIndexChanged(EventArgs e) 
   at Telerik.WinControls.UI.RadComboBoxElement.listBoxElement_SelectedIndexChanged(Object sender, EventArgs e) 
   at Telerik.WinControls.UI.RadListBoxElement.OnSelectedIndexChanged(SelectedIndexChangedEventArgs e) 
   at Telerik.WinControls.UI.RadListBoxElement.CallSelectedIndexChanged() 
   at Telerik.WinControls.UI.RadListBoxElement.selectedIndices_CollectionChanged(Object sender, RadListBoxItemIndexCollectionChangedEventArgs e) 
   at Telerik.WinControls.UI.RadListBoxItemIndexCollection.OnCollectionChanged(RadListBoxItemIndexCollectionChangedEventArgs e) 
   at Telerik.WinControls.UI.RadListBoxItemIndexCollection.OnInsertComplete(Int32 index, Object value) 
   at System.Collections.CollectionBase.System.Collections.IList.Add(Object value) 
   at Telerik.WinControls.UI.RadListBoxItemIndexCollection.Add(Int32 value) 
   at Telerik.WinControls.UI.RadListBoxElement.set_SelectedIndex(Int32 value) 
   at Telerik.WinControls.UI.RadComboBoxElement.set_SelectedIndex(Int32 value) 
   at Telerik.WinControls.UI.RadComboBoxElement.ExecuteDropDownStyleKeyDown(KeyEventArgs e) 
   at Telerik.WinControls.UI.RadComboBoxElement.textBox_KeyDown(Object sender, KeyEventArgs e) 
   at System.Windows.Forms.KeyEventHandler.Invoke(Object sender, KeyEventArgs e) 
   at Telerik.WinControls.UI.RadTextBoxItem.OnKeyDown(KeyEventArgs e) 
   at Telerik.WinControls.UI.RadTextBoxItem.TextBoxControl_KeyDown(Object sender, KeyEventArgs e) 
   at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e) 
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m) 
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m) 
   at System.Windows.Forms.Control.WmKeyChar(Message& m) 
   at System.Windows.Forms.Control.WndProc(Message& m) 
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m) 
   at System.Windows.Forms.TextBox.WndProc(Message& m) 
   at Telerik.WinControls.UI.RadTextBoxBase.WndProc(Message& message) 
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
 
 

Mike
Telerik team
 answered on 04 Apr 2008
1 answer
173 views
Can anyone help with RadDateTimePicker and times ?

I am having a lot of issues with the RadDateTimePicker when trying to deal with Times.

It does not seem to work at all when I have ShowUpDown = true
The best settings I have found to work have been
      Format = Long
     CustomFormat = HH:mm:ss
     ShowUpDown = true

But even this setting seems to have some issues when trying to change time from
from 1:30:45 to 23:12:45 programtically.

I would like to just Bind a DateTime to the control
    radDateTimePicker1.DataBindings.Add("Value", controller, "EffectiveTime");
This seems to work when dealing with date formats but not when the settings are
      Format = Time or CustomFormat = HH:mm:ss

Can you please let me know if this control can successfully be bound with a time format.

Thanks.
Boyko Markov
Telerik team
 answered on 04 Apr 2008
1 answer
234 views
Hi,

I am new to RadControls.

In my code base, I have created a tabstrips and an "Add Tab" button. 
I have also set scroll property of Tabstrip to allow scrolling.

On click of the "Add Tab" button I programmatically add a new tab item to the tabstrip and select it. However, I cannot get focus on the newly added tab.
If the count of tabs grows, I need to scroll to the added tab.

Is there some way by which at the time of selecting a tab I also set focus on it?

Any help shall be appreciated.

Thanks in anticipation,

Era
Martin Vasilev
Telerik team
 answered on 03 Apr 2008
1 answer
137 views
Hi,

with radcombo the same problem as describe here with radlistbox:
http://www.telerik.com/community/forums/thread/b311D-bchmke.aspx

I use a forms.combobox and bind it to a List<MyClass>.
Then I set DisplayMember to the name of a porperty.

In the selectedindexchanged I do:
MyClass selEle=combobox.SelectedValue as MyClass;

And (as expected) I get an object assigned if there is a selected item in the CB.

But always null with RADCombobox


Regards

Manfred
Nikolay
Telerik team
 answered on 03 Apr 2008
2 answers
77 views
is it possible to set the filter options in a radgridview to default "contains" instead of "equals" by code?

thanks, andreas
Nikolay
Telerik team
 answered on 03 Apr 2008
1 answer
91 views
Hi,

I build a wizard based on TabStrip.
My Idea - disable all items except the current page (wizzard step).

Works fine - but I want to give the disabled tabs a special "look".
I want to display it (for an example) in red, while the active pageheader is green.

I played around with theme builder and added a state "!Enabled" but it does not work

Any help would be great

Manfred
Nikolay
Telerik team
 answered on 03 Apr 2008
1 answer
134 views
Using the theme designer I have been able to create a combo box that has rounded corners on the input control, as well as rounded corners on the drop-down portion.

The problem is that I really need the drop down when shown to extend from beneath the input portion, without creating its own rounded corners, so that the two portions form one rounded rectangle. As it is now, the input control portion and the drop down are adjacent to eachother top to bottom, but each having its own rounded corners on the line they meet, showing up as two distinct rounded rectangles.

This breaks with the entire design motif that I am working with. I don't know if there is a quick hack around this, but one idea I had is to not show the top line of the drop-down and not show the bottom line of the input control, and turn on rounding only on the top corners of the input and the bottom corners of the drop down. Then push the two a few pixels closer to form a complete single rounded rectangle.

Does this make sense? Does anyone know how to accomplish this using the control as it is now? Or can someone from Telerik comment on how soon they could implement this capability?

Many thanks!
Nikolay
Telerik team
 answered on 02 Apr 2008
1 answer
129 views
Today i've installed 'r.a.d.ribbonbar for WinForms Q4 2006' in combination with 'Microsoft Visual Basic 2008 Express Edition'

I'm new to this IDE. I know how to programma in VBA.

I've on my ribbon three TabItems...

I want for each tabitem a seperat (nested) form.

1. How can i do this?
2. Are there learning movies for the ribbonbar?
3. Are there more examples availeble?

Thank you very much.
Nikolay
Telerik team
 answered on 02 Apr 2008
3 answers
140 views
Is there a way to resize the bar portion of a panel bar without making a custom skin?  Basically I want to double the height of the bar.
Boyko Markov
Telerik team
 answered on 02 Apr 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?