Telerik Forums
UI for WinForms Forum
1 answer
187 views
Hello,
I have applied a custom theme to my grid that uses a dark gray background on the rows.  However, I would like to change the black arrow in the row header cell that indicates the current row.  I would like to use a green arrow in the header row to indicate the current row, instead of the black, but I can't seem to change it in the theme.  How can I change this icon or change the color of the arrow?

Thanks,
Rachel
Nick
Telerik team
 answered on 08 Dec 2008
1 answer
531 views
I have a RadDateTimePicker control that is located to the right of a RadTextBox.  The default height of a RadTextBox is 20 and the default height of a RadDateTimePicker control is 22.  There's also a discrepancy in heights with the combobox, the default height for it is 19.  The difference in heights although small is very noticeable when the controls are arranged horizontally.

I can change the height of the combo box to match a text box and so I can get it to match.  However, when I reduce the Height of a DateTimePicker to 20 (after setting AutoSize to false), it looks funny.  Worse, when I run the application, the height of a RadDateTimePicker seems to be reset to 22 no matter what I've tried to do.

I know that the control height is a function of the control font.  I tried reducing the font of the date time picker and that does get the control heights to match.  However, mixing fonts across controls looks worse than the size discrepancy.

Are there any good workarounds for this so that I can get the RadDateTimePicker height to match the text and combo boxes?

Thanks,
Richard
Martin Vasilev
Telerik team
 answered on 08 Dec 2008
2 answers
86 views
Hi,

I am evaluating the ribbon control. I have a button that expands/collapses the ribbon bar by using the following event handler.

private void OnToggleStateChanged(object sender, StateChangedEventArgs args)  
{  
    ribbonBar.Expanded = !ribbonBar.Expanded;  
}  
 
The title bar does not get repainted properly when expanding. I have linked some screen shots that show the problem.

1. Initial state
2. Collapsed state
3. Buggy expanded state

Thanks
Blake
Top achievements
Rank 1
 answered on 08 Dec 2008
3 answers
1.0K+ views
Is there some sample code on how to place text and images on a button when you need more control than just setting the
TextAlignment and/or ImageAlignment.

In my case I need fine control over image and text margins.
For example setting

ImageAlignment = ContentAlignment.MiddleLeft

places the image too close to the left border of the button.

Regards
Erwin


    
Martin Vasilev
Telerik team
 answered on 05 Dec 2008
1 answer
165 views
           Hi,
                I am adding the images for RadCombobox items.I am able to see the images for Radcombobox items. But When I select  any of the item, the image is not getting displayed for the selected item.

                        RadComboBoxItem item;                   
                         for (int i = 0; i < dtTables.Rows.Count; i++)
                        {
                            item = new RadComboBoxItem();
                            if (dtTables.Rows[i][1].ToString() == "Table")
                            {
                                item.Image = Image.FromFile(imagepath1);
                                item.TextImageRelation = TextImageRelation.ImageBeforeText;
                            }
                            else
                            {
                                item.Image = Image.FromFileimagepath2);
                                item.TextImageRelation = TextImageRelation.ImageBeforeText;
                            }
                            item.Text = dtTables.Rows[i][0].ToString();
                            cbx.Items.Add(item);
                        }
Can any one please hep me regarding this issue ?
thans in Advance.
Raghu
Nick
Telerik team
 answered on 05 Dec 2008
1 answer
97 views
Good morning,

Could you please help me?

I am using a GripPanel downloaded from http://www.codeproject.com/KB/miscctrl/GripPanel.aspx .  It let´s me make function the gripping of the form (resizing with the mouse from the bottom right corner)

The funcionality of the control in that page works very well when inheriting from "normal VS 2005" Form and RadForm.  My problem is when inheriting from ShapedForm, it does not work ok and changing every form to RadForm is not an option.

Could you please tell me how I can make the grip control on that page work, or any other workaround for gripping control? as the gripping is not working on ShapedForms.

Thank you very much in advance,
Marco
Marco
Top achievements
Rank 1
 answered on 05 Dec 2008
1 answer
101 views
The SortOrder property doesn't seem to be getting saved in the XML produced by the GridView.SaveLayout function. If I set the SortOrder="Ascending" manually in the saved XML and then use GridView.LoadLayout, the sort is applied correctly. AllowSorting is set to true for all columns.
Boyko Markov
Telerik team
 answered on 05 Dec 2008
1 answer
101 views
Why is my tag property greyed out and unable to enter tag id from RadTreeView Property Builder?
Jordan
Telerik team
 answered on 05 Dec 2008
3 answers
133 views

Hi,
I have few questions regarding RadToolStrip.
1. If the user remove all ToolStripItems from the RadToolStrip then the RadToolStrip disappears (Which is fine) But how if your RadToolStrip is not visible now how can the user again add ToolStripItem in the RadToolStrip at runtime.

2.How can I restrict a Particular ToolStripItem not to be removes not even when the user tries to do so from “Add or Remove Buttons à Customize”. Ideally if I don’t allow can ToolStripItem to be remove it should not even display in “Add or Remove Buttons à Customize” Panel.

3.When a user remove all RadButtonElement from a ToolStripItem then ideally the ToolStripItem should be removed automatically and if the user again add any of its RadButtonElement then the ToolStripItem should reappear.

4.How can I save whole RadToolStrip (Its ToolStripItem, their location and RadButtonElement) so that if any user preferences should be saved.

P.S. I am working in VB 2005 enviroment

Regards,
Haroon.

Boyko Markov
Telerik team
 answered on 05 Dec 2008
2 answers
131 views
I've set tooltips for each group element, however, when the groups are collapsed into icons along the bottom in the Outlook style there is no tooltip on those icons.  I'd like the little icons on the bottom to show the tooltip for that group element.  Is this possible?
James
Top achievements
Rank 1
 answered on 04 Dec 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?