Telerik Forums
UI for WinForms Forum
2 answers
2.9K+ views

I'm back :)

I'm spending most of the next day or two working with more of the base UI controls so I will probably be making a few posts during that time - hope you don't mind :)

With the RadPanel you have it by default displaying a border but you have no Border Setting to turn it off. Not in all cases is a developer going to want to havea border displayed around the panel

Steven Hodson
WinExtra / Hodson Report
http://www.winextra.com
http://www.hodsonreport.com

 

Steven
Top achievements
Rank 1
 answered on 11 Jun 2007
5 answers
237 views
Hello Again,

This time my problem lies with the PanelBar's ContentPanel. I set the EnableHostControlMode property (in the Behavior section) to True as im told enabling me to drag elements into each panel. The only problem is that the Container that appears when i set EnableHostControlMode to True, wont dock to the size of it's parent panel.  It stays at at 50x50px.

Even stranger is that for my 1st item in the panelBar, the ContentPanel's location is 0,0 but over the bar itself. So it doesn't sit in its intended space properly. The ContentPanel in the 2nd Item is located at the proper 0,0 but still wont resize properly despite all efforts.

Is this a serious bug, or am I just missing something incredibly simple?
Boyko Markov
Telerik team
 answered on 11 Jun 2007
2 answers
159 views
Hi,
I'm trying to do something which seems trivial, but I'm having the hardest time.  I have a RabPanelBar in list mode which I programmatically add RadPanelBarGroupElements to (note I have also tried to add via the designer with the same results), when on element is selected I want the header to change color and stay.

I have used the VSB to create a new theme which sets the FillPrimitive of ElementWithCaptionLayout of RadPanelBarGroupdElement.  THe theme uses different combinations of conditions (IsMouseOver and Selected) to set the color.  The problem is, it seems this part of the theme is not honored.  I can change other things in the theme and it works.

Any info or direction is much appreciated.

Thanks,
daveo
daveo
Top achievements
Rank 1
 answered on 11 Jun 2007
5 answers
236 views
Hi,

I have just begun to test swapping out the Windows default tree view with the Rad one, and I am quite impressed, however, I am lacking one piece of functionality which is very important.

On the Windows tree view, when a begin edit is performed, either by in place clck or programatically, the text is automatically highlighted and the focus is placed in the label.

The rad BeginEdit (bool focus) does not even focus the label, so the label needs to be clicked before a user can type.

Is it possible, programatically, or automatically to have all the text on a label highlighted when a Begin Edit is performed?

Thanks
Jordan
Telerik team
 answered on 11 Jun 2007
5 answers
175 views
Something I've noticed with the toolbar when using just Image (no text) i.e.: RadImageButtonElement is that the margin on the bottom is not the same as the top of the button.

The button is properly placed in regards to the space between the top of the ToolBar but the buttom of the button is flush with the bottom of the ToolBar - this is using a 32x32 PNG image.

No settings on the toolbar or the RadToolStripItem have been changed in any way - strictly default settings.

This tends to give an uneven display on mouseover.

Steven Hodson
WinExtra / Hodson Report
http://www.winextra.com
http://www.hodsonreport.com
Jordan
Telerik team
 answered on 11 Jun 2007
3 answers
255 views
Dwight
Telerik team
 answered on 11 Jun 2007
1 answer
123 views
good morning,
I really need your help about creating relative mdi forms if it's possible.
the main idea is that I wanna get multiplpe forms which have some common controls, for exemple I use the radPanelBar and that it wil be shown in every form that I call.Do you have a suggestion?
Thanks!
Julian Benkov
Telerik team
 answered on 11 Jun 2007
1 answer
165 views
Hi,
Just downloaded the latest radcontrols for winforms.
My issue is with focus not being given when using an accelerator key.
The  accelerator keys (i.e alt + a key) wont put the focus on a text box. I have placed a radLabel to the left of a radTexbox. The radLabel has tabstop =0, and text= &a) Test a.  Next to it I placed a label with tabstop = 1 .  I repeated this to add another label/text box pair.  So, I had this on the form:
a) Test a    [ radTextBox1                 ]
b) Test b    [  radTextBox2                ]
Pressing ALT + a does not set focus in radTextBox1. Pressing Alt + b does not set focus in raTextBox2.  Instead, the focus cue disappears. I must hit <TAB> to get it to reappear.  (Microsoft controls do set the focus correctly). Have I missed a setting somewhere?
Thanks,



Georgi
Telerik team
 answered on 08 Jun 2007
6 answers
502 views
I have a RadListBox full of items.  I have two buttons "Up" and "Down" to move items around the RadListBox.  So if I have an item selected in the box and click the Up button then it swaps the currently selected item with the one above it.  Here's the code, it's very simple:
        Dim selIndex As Integer = RadListBox.SelectedIndex 
        If selIndex <> 0 Then 
            Dim selItem As String = RadListBox.Items.Item(selIndex).Text 
            Dim aboveItem As String = RadListBox.Items.Item(selIndex - 1).Text 
            RadListBox.Items.Item(selIndex - 1).Text = selItem 
            RadListBox.Items.Item(selIndex).Text = aboveItem 
        End If 
        RadListBox.SelectedIndex = selIndex - 1 
 


My problem is with the last line.  The SelectedIndex part highlights the correct item, but a black rectangle stays around the previously selected item.  I've tried refreshing the control, setting the focus, etc...  What do I need to do to get the black rectangle to follow the SelectedIndex item?

Chris
Georgi
Telerik team
 answered on 08 Jun 2007
1 answer
299 views
Just wondering if this is another known Telerik bug, or something I'm doing wrong? Looks like I can't even use Telerik Shaped Forms without getting errors!

System.ArgumentException: The parameter 'sectionGroupName' is invalid. 
Parameter name: sectionGroupName 
   at System.Configuration.MgmtConfigurationRecord.GetSectionGroup(String configKey) 
   at System.Configuration.Configuration.GetSectionGroup(String sectionGroupName) 
   at System.Configuration.ClientSettingsStore.DeclareSection(Configuration config, String sectionName) 
   at System.Configuration.ClientSettingsStore.GetConfigSection(Configuration config, String sectionName, Boolean declare) 
   at System.Configuration.ClientSettingsStore.WriteSettings(String sectionName, Boolean isRoaming, IDictionary newSettings) 
   at System.Configuration.LocalFileSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values) 
   at System.Configuration.SettingsBase.SaveCore() 
   at System.Configuration.SettingsBase.Save() 
   at System.Configuration.ApplicationSettingsBase.Save() 
   at APM.MainForm.MainForm_Resize(Object sender, EventArgs e) 
   at System.Windows.Forms.Control.OnResize(EventArgs e) 
   at System.Windows.Forms.Form.OnResize(EventArgs e) 
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e) 
   at Telerik.WinControls.UI.ShapedForm.OnSizeChanged(EventArgs e) 
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) 
   at System.Windows.Forms.Control.UpdateBounds() 
   at System.Windows.Forms.Control.WndProc(Message& m) 
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m) 
   at System.Windows.Forms.ContainerControl.WndProc(Message& m) 
   at System.Windows.Forms.Form.WndProc(Message& m) 
   at Telerik.WinControls.UI.ShapedForm.WndProc(Message& m) 
   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) 

Jack
Telerik team
 answered on 08 Jun 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)
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
ScrollablePanel
DataEntry
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?