Telerik Forums
UI for WinForms Forum
1 answer
131 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
129 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
184 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
110 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
92 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
95 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
74 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
8 answers
556 views
Hi,
Qs1: How can I set auto size rows mode for the radGridView?

For the windows datagridview, When the cell data is wider than the column, having the auto size rows mode set to Displayed cells will resize the row to show all cell data. How can I have the same in a radgridview?

Qs2: Is there a way to set tool tip text for those cells that have data hidden due to less column width?

Hope you will have solutions for these..
Yvette
Top achievements
Rank 1
 answered on 14 Aug 2009
1 answer
105 views
Hello,

I've discovered an issue in my gridviews where the last row paints over the grid's bottom border when the grid is full of information. Is there a way that I can make the grid border draw on top of the rows? If you guys have trouble reproducing this, let me know and I'll send a theme where this occurs. It actually occurs in all of my themes, so I imagine you guys wont have much trouble. I use a row-height of 18 if that helps.

Thanks!
Jeremy
Jack
Telerik team
 answered on 14 Aug 2009
3 answers
210 views
In order to try to bend the will of the GridView to do something we're attempting, I'm trying to dynamically either completely hide or to change the height of a SPECIFIC group header row down to something 1 pixel in height if the group text is blank.

I've tried all of the following:

 
            if (e.RowElement is GridGroupHeaderRowElement) 
            { 
                e.RowElement.Size = new Size(1, 1); 
                 
                e.RowElement.ShouldPaint = false
                e.RowElement.Visibility = ElementVisibility.Hidden; 
                e.RowElement.MinSize = new Size(e.RowElement.Size.Width, 0); 
                e.RowElement.Size = new Size(e.RowElement.Size.Width, 1); 
                e.RowElement.CoercedSize = new Size(e.RowElement.Size.Width, 1); 
                e.RowElement.StretchVertically = false
                this.ApplyThemeToElement(e.RowElement, "ControlDefault"); 
            }

All this has done has completely hidden the group rows but still leaves blank space where they shuold be, however now I can't select them (which is nice).

Is there any way to change the size so the space left when hidden is minimized?

Thanks in advance.

Jack
Telerik team
 answered on 14 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)
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?