Telerik Forums
UI for WinForms Forum
1 answer
119 views
Hi,

I opened a project just now and remembered that I had a problem that I thought I should mention:

I had a radform what had a radtab on it and 2 buttons. This form was started minimized to mimic system tray. The problem was when the form was restored to normal form, all controls shrunk and there was a wide horizontal band of space beneath the controls (the 2 buttons)

This behaviour was different on different machines (Win 7), probably because of the themes used, but always wrong.

I did not test it again because i changed strategy, but I thought i should mention it so you can correct it.
Richard Slade
Top achievements
Rank 2
 answered on 17 Mar 2011
2 answers
126 views
Hi,

 I'm just wondering if anyone has run into the following issue with the WinForms Buttons?

1. Using the Telerik RadButton and Dragon Dictate, it cannot find the label on the button and perform the click event.
2. Using the MS WinForms Button and Dragon Dictate, it can find the label on the button and perform the click event.

Am I missing any properties on the button that make this to be compatible with accessibility guide lines?

Regards,
Jonathan
 
Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
197 views
hi,
I'm using VSB 8.2, I'm trying to apply theme on a RadCombobox but its working only partially.

The property/setting that is not working for me is when I try to set the background color for mouse over.....I shows correctly in preview but not on my form.

What I want to do is display a particular background color on mouse over items of the listbox or the lower part when the list is displayed on click of download button....it just defaults to the light orage color on hightlight and dark orange for  selected color...

I added the "Mouse over" state in RadVirtualizedStackReport->RadComboboxItem->FillPrimitive and set the backcolor there....


let me know if I'm missing anything..

Thanks

Harsh
Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
72 views
Themes applied to RadSpinEditor do not seem to work (with one exception). The properties for the RootRadElement are applied, but any property of the RadSpinElement and its children do not apply.

Also, any changes made to the RadSpinEditor in Visual Style Builder do not show in the preview (the RadTrackBar also has the same preview problem). 

I can change the RadSpinEditor properties at design time, but that does not help because my application has multiple themes which are changed at runtime. The only solution I now have is to hardcode each property and apply manually when the theme changes.

Are there any tricks to getting a theme applied to a RadSpinEditor?

I'm using the latest internal Q3  build (2009.3.1111) on Windows Vista Premium - C# - Visual Studio 2008.

Thanks for your help,
Tim



Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
84 views
Hello,   I am evaluating your product to make sure I can get it to work before I buy it and am having some problems making a custom theme in Visual Style Builder.  I am working on making a customized combo box and am having two problems:

1) If I  put a fill gradient on the RadComboBoxItem->FillPrimitive, it shows up fine in the design and preview images in VSB but it's just a plain white background when the combo drop-down appears in the application.  When I go back into VSB the fill setting is still there, so it is getting saved. Run time doesn't match design time.

2) In VSB, some of the design elements don't seem to change color to reflect changes I've made.  For example, in the combo box I'm working on, all the elements in the combo box reflect the settings correctly but nothing I do with the scroll bars in the dropdown list  seems to effect the design and preview images.  If I click the ScrollBarButton->FillPrimitive in the tree and change the BackColor in either the Expert Mode properties or by picking a color in the Initial State tab, the design and preview images do not reflect these changes.  The control also doesn't reflect these changes in the app at runtime.  Is there something that locks out these changes or overrides what I am doing?

My method of using the theme was to drop a radThemeManager on the form, open the Telerik theme, make my changes and then saved it as a new theme under a different name.  I then used the theme manager option "load theme from file", and finally picked the theme name on the control's menu which is using it.  It gets the combo box part of the custom theme correct, but ignores anything I do to the drop down portion of the combo box.

I'm running Visual Studio 2005 on XP.

Stefan
Telerik team
 answered on 17 Mar 2011
4 answers
121 views
Hello,

I'm having a lot of trouble getting my gridview to format appropriately, even though I've extensively looked through the knowledge-base and forums. I think the main cause of distress is the fact that changes make to my Theme in the Visual Style Builder are not reflected in the Preview or the Design view. This makes it hard to know what the grid will look like without running the project, which is time consuming. Is there any solution for this?

The main specific problem I am having is changing the formatting of the GridHeaderCellElements in my gridview. Using the Visual Style Builder doesn't seem to work at all (ala the tutorial) and when I do it programmatically, as in

        private void grdJobs_ViewCellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            if (e.CellElement is GridHeaderCellElement) 
            { 
                e.CellElement.BackColor = Color.FromArgb(255, 255, 255); 
                e.CellElement.BackColor2 = Color.FromArgb(245, 245, 245); 
                e.CellElement.BackColor3 = Color.FromArgb(235, 235, 235); 
                e.CellElement.BackColor4 = Color.FromArgb(225, 225, 225); 
            } 
        } 

This prevents the nice blue highlighting when the cursor is moved over the cells. Any way I can keep the highlighting intact?

Please help,
Jeremy
Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
155 views
Very quick question- is there a quick and easy way to preview what a given style looks like on a specific control?

Basically I'm using a treeview, and my project is using one of the office themes, which seems to make the treeview appear with the little arrows instead of the more traditional + - type view.

Right now, it seems like I either have to fully customize the control via Visual Style Builder (in my opinion, a lot of functionality but very fiddly and requiring the overhead of saving xml file to local project, add resource etc etc), or pick an existing style like "Vista" or "Office2007Silver" which doesn't really give me any clue as to what the control (populated dynamically at runtime), will look like until I recompile and rerun the project, and discover it's got a back colour/gradient that doesn't fit with a plain white form!

Thanks
Mike


Stefan
Telerik team
 answered on 17 Mar 2011
7 answers
88 views
Hi,
I can't seem to get the preview in the visual style builder to render my updates.  It always shows the default theme.
Most of my testing has been with the GridView control.
I'm running Vista, and Q3-2008 of Winforms.
Thx,
JP
Stefan
Telerik team
 answered on 17 Mar 2011
2 answers
115 views
Hello,

I have a rad panel bar which I want to display without the border. 

So I set the theme to ControlDefault,
open the theme builder from the smart tag,
select RadPanelBarElement from the control structure tree,
edit the Bordercolor, BorderColor2,BorderColor3,BorderColor4 to all be transparent,
preview it and it look exactly as I want it to be.
Then I save the Style sheet in theme file (tried save theme as ... as well)
Return to project,
add the theme to the project,
Go to my RadThemeManage and Load Theme from resources,
Select the theme in the control properties and save.

Now run the prject and, as well as the borders being missing, the panel bar group elements are not as high and have changed colour...

Any ideas?
Stefan
Telerik team
 answered on 17 Mar 2011
1 answer
152 views
Hey all,

I'm having a really strange problem. I created a user control with a group box on it. I placed a few controls inside the group box, docked the group box to the user control, and anchored the controls in the group box to size accordingly. The problem I'm running into is that during the development of the control, everything looks and acts fine. After I compile and drop the user control onto a form, It creates a padded area to the right of the controls... Any ideas whats going on here?

I've attached a couple of screen shots of this for reference.

Stefan
Telerik team
 answered on 17 Mar 2011
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?