Telerik Forums
UI for WinForms Forum
3 answers
280 views
Hi!

Just updated to RadControls Q1 2007 and now I can't remove an image from a RadButtonElement.

I have a RadPanelBarGroupElement with two RadButtonElements. When I click on a RadButtonElement I wan't to set an image on this element and clear it from the other. Setting the Image property to null hasn't any effect. The image is still shown on the element. This worked fine in Q4 2006.

Here is my code:
        private void radButtonElement1_Click(object sender, EventArgs e)  
        {  
            radButtonElement1.Image = Resources.MyImage;  
            radButtonElement2.Image = null;  
        }  
 
        private void radButtonElement2_Click(object sender, EventArgs e)  
        {  
            radButtonElement2.Image = Resources.MyImage;  
            radButtonElement1.Image = null;  
        }  
 

How can I remove an image from a RadButtonElement?

Thanks!
Boyko Markov
Telerik team
 answered on 11 May 2007
2 answers
196 views
I downloaded "RadControlsWinforms_Manual_Q4_2006_SP2.chm" file from my download page.
I can open this chm help file on English Windows 2000 desktop without any problem.
But, when I open this file on Korean Windows XP SP2 notebook, I can't see any contents in this help file.
I can open another chm help files without any problem, so I think this is not the problem of my Korean Windows XP SP2 notebook.
"RadControlsWinforms_Manual_Q1_2007.chm" file shows the same problem.
Vassil Petev
Telerik team
 answered on 11 May 2007
1 answer
103 views
I am dynamically creating a form with lables and texboxs in VB.Net data driven from a database table.  I can not get the labels to size properly, it always creates the label to meet the size of the text string instead of wrapping the text to the next line.  It does not matter what size I set the height and width to.  Below is a code piece:

Private Sub Add_Label(ByVal sorder As String, ByVal stext As String, ByVal itab As Integer)

Dim lbl As New RadLabel
lbl.BeginInit()
lbl.Name =
"Label_" & sorder
lbl.Text = stext
lbl.AutoSize =
False
lbl.BorderVisible = False
lbl.width=100
lbl.height=300

Angel
Telerik team
 answered on 11 May 2007
1 answer
85 views
Not sure whether this one has been reported, but when you have a lot of docked tabbed documents the dropdown is very useful to navigate to the one that you want. The problem is that the tab owning the document could do with being scrolled into view too.

Marek
Julian Benkov
Telerik team
 answered on 10 May 2007
3 answers
116 views
Are there any events that can be handled for the start menu (Opening, Closing, ect) ?
Jack
Telerik team
 answered on 10 May 2007
8 answers
147 views
When initing my form with a Panel Bar on it, I'm trying to programatically set a particular GroupElement to be expanded in my panel bar, based on a setting in MySettings. However, setting Expanded=True on the group element isn't expanding the element, nor is setting Selected=True. How do I programatically expand a group element?

If Not My.Settings.DefaultAppGroup Is Nothing Then 
    Dim defaultAppGroup As String = My.Settings.DefaultAppGroup 
    Dim groupElement As RadPanelBarGroupElement 
    For Each groupElement In RadPanelBar1.Items 
        If groupElement.Caption = defaultAppGroup Then 
           'groupElement.Selected = True 
            groupElement.Expanded = True 
            Exit For 
         End If 
     Next 
End If 

Boyko Markov
Telerik team
 answered on 09 May 2007
3 answers
146 views
Hi,

I can't figure out how to add option buttons to the ribbon. I want a simple option button with two options in a chunk.  Is it possible?

Thank you,
Zsolt
Dimitar Kapitanov
Telerik team
 answered on 09 May 2007
5 answers
418 views
I added a textbox element to my toolstrip item.  I am trying to make the text box wider. In the design mode I finally figured out how to make it wider by turning AutoSize off, changing the width property and then going into the children and doing the same for the textbox item.  This all works good until I compile and run the application.  The textbox item properties reset themselves back to the default.  What am I missing?

Thanks, Mark
Boyko Markov
Telerik team
 answered on 09 May 2007
1 answer
176 views
Hi, I read the Office 2007 Guideline and it saids that de size of the icons has to be 16x16 for small ones and 32x32 for the bigones. The problem is that if I use this size of the element ( Text below Image) is not the same as Word 2007?

If I use 48x48 icons the sieze of the group is exactly as the chunk hegith.

Angel
Telerik team
 answered on 08 May 2007
1 answer
86 views
I try to cut and paste a chunk form one tab to another I a get a Exception.
Mike
Telerik team
 answered on 08 May 2007
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?