Telerik Forums
UI for WinForms Forum
8 answers
238 views
Hello again, I have seen in the theme that controls VistaTelerik editors of color filters is equal to the letter from the editor background color. Ie, the color of the letter is white like the background color, can help with this, ie VistaTelerik to change the theme of the color or black letter is a code for this change, giving hope to ented . Thanks for all the assistance and thanks in advance
Boryana
Telerik team
 answered on 18 Aug 2009
5 answers
226 views
Hi,

I programmatically create interfaces rather than use VS.net Designer, and almost all Telerik Windows Forms controls work Ok with this, however I cannot get the toolstrip to render correctly using the default application theme. If I switch default application themes having created and loaded my new toolstrip it renders correctly but until I toggle the theme it looks poor.

I try to work around this by calling  the following for each control I create at runtime;

 

private void applyThemeToGeneratedControl(Telerik.WinControls.RadControl control)

 

{

control.ThemeName = Telerik.WinControls.

ThemeResolutionService.ApplicationThemeName;

 

control.RootElement.ForceReApplyStyle();

control.RootElement.ForceApplyTheme();

}

which does work for the majority of controls, but not for toolstrip.

Any ideas what I'm doing wrong here ?

Thanks,
Phillip

Nick
Telerik team
 answered on 18 Aug 2009
1 answer
194 views
Hello,

I am having trouble applying a theme to the DocumentTabStrip which is created when adding a Tabbed Document to a RadDock.  I have the Visual Style Builder to create a style for a RadTabStrip which functions perfectly but cannot be applied to the DocumentTabStrip.  I tried to create a style for the DocumentPresenterControl but when I load the default theme for it there are no states defined for the FillPrimitive for the DockableTab (even though the preview shows different states for Selected/MouseOver/etc.).  I am able to get my RadTabStrip theme to show in the design view of VS2008 by loading documentTabStrip from assembly in Visual Style Builder and modifying a setting so that I can save it to my .xml file and apply my custom theme to documentTabStrip1 in my project, but when I run the program the theme returns to the default theme.

Where am I going wrong?  I have been trying for quite some time to apply a custom theme to the DocumentTabStrip and am at a loss on what to try next.  Also, when I did load the documentTabStrip into Visual Style Builder from the assembly, nothing appeared in either Design View/Preview but there were elements in the Control Structure.

Thanks!

Boryana
Telerik team
 answered on 18 Aug 2009
1 answer
178 views
The Q2 2009 RadDock control does not SetStyle(ControlStyles.ContainerControl) and so is not seen in .net as a ContainerControl. This causes problems when calling Form.ValidateChildren or Control.Validate to force validation of controls held in a RadDock window.

My workaround is to explicitly handle the radDock_Validating event in my code like this;

private void radDock_Validating(object sender, CancelEventArgs e)
{   
    if(! ((ContainerControl)this.radDock.ActiveWindow).Validate())
    {
        e.Cancel = true;
    }
}

The .net framework behaves oddly when cascading the Validate event through a control stack, and instead of simply iterating a controls .Controls collection, it explicitly checks to see if a the Control.GetStyle(ControlStyles.ContainerControl) is true before deciding to iteratve the .Controls collection. Because RadDock does not set this property it is in effect telling the .net Framework "I don't have any children, so don't bother looking any further". By manually cascading the Validating event as shown above, we jump this gap.
 
I don't know if this particular pattern is followed in any other cascading functionality in the .net framework.
Julian Benkov
Telerik team
 answered on 18 Aug 2009
1 answer
179 views
When I Refresh a Datasource, mi binding go to First Position and my RadGridView Collapse, the problem is that the user have to re group again to go the row specific...

I need to know how to avoid this, or if exist any other method..

I have two Windows, one is only to edit or insert data, when i close the modal popup i return to previous where i have the radgridview thats why i neet to refresh it, to show the data updated.
Victor
Telerik team
 answered on 18 Aug 2009
3 answers
251 views
Hello!
Look, I have a user control that works as a ToolBar that has some radbuttons on it. Those buttons are showing an image stored in the resources of the project, and I need to show a ToolTipText.

First I set the needed text through the properties window of each button (inside the RootElement property), and it didn't work.

Then I went to the designer.cs of the control and set manually the property (myButton.RootElement.ToolTipText = "some text"), and it didn't work.

Then, inside the designer.cs of the control I set manually the property in this way: ((Telerik.WinControls.UI.RadButtonElement)(MyButton.GetChildAt(0))).ToolTipText = "Open Model";. And guess what? ... It didn't work also!

Please help me, I don't know what else I can do.
Nick
Telerik team
 answered on 18 Aug 2009
1 answer
139 views
It appears the WinForms radTabStrip does not support IsSeparator like the ASP.Net versions do.  Is there any way to place 3 tabs left aligned and 2 tabs right aligned all on a single row?

Thanks!

Mike
Deyan
Telerik team
 answered on 18 Aug 2009
1 answer
128 views
Hello,
Does the new release support the functionality of a custom filter row (I read in previous posts that you plan to do so)?
For example, my grid contains a column with enum values, I want to filter the rows in the grid by selecting one of the values from a drop down list.

Thanks



Nick
Telerik team
 answered on 17 Aug 2009
1 answer
140 views
It seems that in the 8.1.0.0 release, the PanelBarGroupExpanding and PanelBarGroupCollapsing "cancel" argument is not respected in the VS2005Toolbox GroupStyle.  I haven't tried other styles because we like the look and feel of the VS2005Toolbox style. 

When I set args.Cancel = true, the "Expanded" and "Collapsed" events are still fired and the +/- icon toggles, and the arg.Group's "Expanded" property is already changed at this point.

Is this something that is fixed with a newer release of the WinControls suite?  Thanks!
Victor
Telerik team
 answered on 17 Aug 2009
1 answer
102 views
Hello

I'm currently using RadPanelBar with a single panel group element in an inheritable form where I'm programming a set of common functions for all the forms that will inherit from it. I set the RadPanel modifiers property to "protected" so I can add new group elements in each inherited form for their particular functionality.

But when I am dessigning the inherited form, RadPanelBar properties appear as in read only mode, so I cannot add new panel groups, new controls in the panel group that already exists... etc.

Am I missing something? Is not possible use this control in the way I'm trying to?

Thank you in advance for your response.
Victor
Telerik team
 answered on 17 Aug 2009
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
DataEntry
ScrollablePanel
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?