Telerik Forums
UI for WinForms Forum
1 answer
142 views
Hello
In my gridView, i have a date time column. The problem is that i don't want to use the dateTimePicker of telerik (i prefer the navigation)
 I would like to know how can i use the microsoft dateTimePicker instead of the one of telerik.
Is it possible? (as a customcolumn?)
How can i
Jack
Telerik team
 answered on 20 Mar 2009
1 answer
179 views

Hi:

Can the RadTreeView control render horizontally?

I'm trying to get it to do something like this:

Parent1   |   Parent2   |   Parent2

  child      |     child      |   child

  child      |     child      |   child

is it possible?

Regards

Victor
Telerik team
 answered on 20 Mar 2009
1 answer
191 views

Hi

I need an Image inside the tooltip of GridViewMultiComboBoxColumn. As a grid having a Colum as GridViewMultiComboBoxColoum and the expanded Colum which has a tooltip on mouse hover.

I am using RadControls for WinForms Q3 2008 SP2.

Thanks for yours suggestions.

Ajay Yadav

Jack
Telerik team
 answered on 20 Mar 2009
1 answer
104 views
Greetings Telerik!

Thanks for posting the 2009v1 update. It looks like we're many steps closer towards getting my ribbon bar working as I'd hoped! There is still one issue I'm having with 2009v1, though, although there appears to be a straightforward workaround.

The common issue seems to be that if you have a RadSplitButtonElement inside a RadRibbonBarButtonGroup (as it has to be), and the SplitButtonElement's DisplayStyle property is set to either Text or TextAndImage (ie text is display, one way or another) and the ArrowPosition property is set to Bottom (all a pretty common combination), then the button displays incorrectly. The main body of the button appears to be the right width, but the arrow's width is narrower than the button proper, and any other controls in the same group overlap the button - as if the arrow's width is used for calculating the width of the control, and not the button's width (which is the correct width).

Here are steps to reproduce:

  1. Create a Form and drop a RadRibbonBar onto it
  2. Add a new Tab and a Group
  3. Inside that group, add a Horizontal Button Group
  4. Within that button group, add a RadSplitButtonElement
  5. Change the ArrowPosition to Bottom
  6. Run the application

You will see the text on the button bleeding outside the edge of the group, which appears to be sized to the arrow button - which is incorrectly smaller than the button proper.

For now, there are some workarounds, to get me through (keeping ArrowPosition as Right, not using Text on the buttons or setting MinSize.Width to be greater than the button should ever need to be in order to fit its text) but I'm assuming that this may be an easy one to fix, so I thought I'd let you know... as my goal is to get flexible buttons with arrows that point down!

Alternatively, is there some basic property that I'm missing which is leading me to set this up incorrectly?

Cheers,

FRASER TUSTIAN

Libraries used:
Telerik.Common 2009.1.9.311
Telerik.WinControls 2009.1.9.311
Telerik.WinControls.UI 2009.1.9.311
Deyan
Telerik team
 answered on 20 Mar 2009
1 answer
155 views
Using the latest MaskedEdit control I am attempting to bind the control to a BindingSource using a List of a CustomObjects, similar to...

List<Agency> agencies = GetAgencies();
agencyBindingSource.DataSource = agencies;

Within the Agency object there is a propery called ZipCode, which I am feeding to the MaskedEdit Value propery via DataBinding

this.zipCodeMasked.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.agencyBindingSource, "ZipCode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));

I also have a navigation control on the form that allows me to move through out the list and rebinds the controls to the Current object on the list. The strange behavior occurs when moving from one object that has a zipcode to another object that doesn't. When the first object has a ZipCode it appears within the control, however when moving to the next item that doesn't have a ZipCode, the control does not clear. Instead the next item appears to have the same ZipCode as the previous item.

I have use the following rework around...

 

 

var 

 

agencyValues = (Agency)agencyBindingSource.Current;

 

 

 

if (agencyValues != null && !agencyValues.Zip.IsNotNullOrEmpty())

 

 

{

    zipCodeMasked.Value =

null;

 

 

}

 

 

 

 

 

 

 

Boyko Markov
Telerik team
 answered on 20 Mar 2009
3 answers
77 views
I have a RadGridView that starts up with the columns autosized and filled with data when the form loads.  If I minimize the form, then restore it, the columns are all ~40 pixels wide and squished to the left.

Expected behavior:  the columns would still be the size they were when I clicked minimize.
Nikolay
Telerik team
 answered on 19 Mar 2009
0 answers
107 views

I have been noticing that on your RadForm there is a problem with how you get your GetDCEx. To keep it short I'll give you a short piece of code that can help you.

if

(msg.Msg != (int)WindowMessages.WM_NCPAINT)

 

{

 

return GetWindowDC(msg.HWnd);

 

}

 

int flags = (int)(DCX.DCX_CACHE | DCX.DCX_CLIPSIBLINGS

 

|

DCX.DCX_WINDOW );

 

 

 

 

IntPtr zero = IntPtr.Zero;

 

 

if (msg.WParam.ToInt32() != 1)

 

{

flags |= (

int)DCX.DCX_INTERSECTRGN;

 

 

 

zero = msg.WParam;

 

 

 

 

}

 

return GetDCEx(msg.HWnd, zero, flags);

 

 

george
Top achievements
Rank 1
 asked on 19 Mar 2009
2 answers
139 views
Hi,

I'm using RadGridView for many applications here, we are using this mostly for reporting and it works very good!

But i'm not satifisfed by the performance of the data-load. (I'm using RadControls, Q3 2008 SP1)

I'm loading the grid (with default properties) from a DataTable and these are the loading times for a grid with 12 columns:

37 rows - 843 ms
173 rows - 906 ms
319 rows - 1 138 ms

Loading with 5 columns:

35 rows - 423 ms
173 rows - 468 ms
319 rows - 530 ms


Is this to be expected ? Can I set some properties to increase the performance for this ? Is there some kind of 'EnableTurboLoad' property available ? :-)


Olav Botterli
Top achievements
Rank 1
 answered on 19 Mar 2009
1 answer
144 views
I have a grid that has the VerticalScrollState set to AutoHide.  Is there a way at runtime to determine if the vertical scrollbar is currently visible or not?

Thank you.


Jack
Telerik team
 answered on 19 Mar 2009
1 answer
212 views
I using the code in the tabstrip tutorial to put a close "x" button on tabs and it works but is
there any way to actually destroy the tabs instead of hiding or collapsing them?

This is the code from the tutorial...

 Private Function newButton() As RadButtonElement 
 Dim radB As New RadButtonElement() 
 radB.MaxSize = New Size(12, 12) 
 AddHandler radB.Click, AddressOf HideTab 
 radB.Font = New System.Drawing.Font("Verdana", 6, FontStyle.Regular, GraphicsUnit.Point, (DirectCast(0, Byte))) 
 radB.Text = "x" 
 radB.TextAlignment = ContentAlignment.MiddleRight 
 'Alignment defines where the button will be placed on the tab 
 radB.Alignment = ContentAlignment.TopRight 
 Return radB 
End Function 
Private Sub HideTab(ByVal sender As Object, ByVal e As EventArgs) 
 Dim buttonElement As RadElement = (DirectCast(sender, RadElement)) 
 buttonElement.Parent.Visibility = ElementVisibility.Collapsed 
End Sub  

Martin Vasilev
Telerik team
 answered on 19 Mar 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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?