Telerik Forums
UI for WinForms Forum
4 answers
327 views
Hello,

I have a few questions regarding the GridViewDateTimeColumn.

One, is there a way to set the range of dates that you can pick? Or perhaps a way to disable future dates?

Two, is there a way to create a TimePicker column?

Three, when editing an empty DateTime column it seems I have to make a selection, if i leave the selected date as it is (i.e. todays date) that date does not "stick" when I leave the column. The only way to select todays date it seems is to select another date first (using arrow keys) then today's date or to select the date in the actual date picker. Is there a way to make today's date "stick", if you will, without having to make an explicit selection?

Thank you
Johan
Jack
Telerik team
 answered on 08 Dec 2009
1 answer
143 views
When I'm moving a RadComboBox up / down in the Designer, no horizontal snap-to grid line pops up when the bottom of the text inside the TextBox portion of the Control aligns with the bottom of at least a Label or RadLabel Control or the text inside at least a TextBox or RadTextBox if not other controls as well.  The line only pops up when the bottom of the entire RadComboBox aligns with the above items.

Telerik WinForms 2009Q3 (2009.3.9.1103), VB, VS 2005 (v8.0.50727.762 SP.050727-7600), .Net 2.0 (2.0.50727), XP SP3, 3GB, 2.99GHZ, Core2Duo.



Victor
Telerik team
 answered on 08 Dec 2009
1 answer
121 views
the built-in windows forms listbox allows you to add items as objects, however the radlistbox forces you to add a listboxitem. why is that?

this is especially confusing because the SelectedItem property returns an object and NOT a RadItem.

I want to be able to add an object like I do for a regular listbox. can this be done?
Victor
Telerik team
 answered on 08 Dec 2009
1 answer
180 views
Trying to use the RadColorDialog with only the web tab showing to select Named colors.  Oddly after the "named" color is selected in the dialog, the SelectedColor is not a named color.  Pick Blue then see what happens.

            radColorDialog1.ColorDialogForm.ShowBasicColors = false; 
            radColorDialog1.ColorDialogForm.ShowProfessionalColors = false; 
            radColorDialog1.ColorDialogForm.ShowSystemColors = false; 
            radColorDialog1.ColorDialogForm.ShowHEXColorValue = false; 
            radColorDialog1.ColorDialogForm.AllowColorPickFromScreen = false; 
            radColorDialog1.ShowDialog(); 
 
            var color = radColorDialog1.SelectedColor; 
            var blue = Color.FromName("Blue"); 
            var areSame = color == blue ? "Same Color" : "Different Colors"; 
            var isKnown = color.IsKnownColor ? "Yes named" : "Not named"; 
            MessageBox.Show(string.Format("Color 1: {0} ({4})\nColor 2: {1} ({5})\n{2} : {3}", color, blue, areSame, isKnown, color.ToArgb(), blue.ToArgb())); 
 

Blue != Blue, Same ARGB != Same ARGB, Is not a named color.
Nikolay
Telerik team
 answered on 08 Dec 2009
2 answers
128 views
I was wondering if the grid view do a complex or statement between multiple columns.. I basically want the following statement.
var_1 = 1234
Show me all rows where (column_1 contains var_1 ) or (column_2 contains var_1 ) or (column_3 contains var_1 ) or (column_4 contains var_1 )

So I can have 1 field that searches multiple columns... can this be done with the radGridView or does it have to be done server side? Any sample code would be greatly appreciated.

Dev
Top achievements
Rank 1
 answered on 07 Dec 2009
5 answers
214 views
Good morning.
    I want to programmatically add a fixed height radListBox in the Form_Load. The height should be calculated accordingly to the number of items in the listbox. But the GetItemHeight method returns zero in the Form_Load. If I add a test button, and in the Click event perform the GetItemHeight, the result is 16, ok. Another problem is that I have to add 2 (magic number?) to the total height, otherwise the vertical scrollbar will appear. How can I solve these 2 problems?
 
Thank you
Victor
Telerik team
 answered on 07 Dec 2009
1 answer
191 views
Hi.... I am trying to modify the "FillPrimitive" values for a RadPanel using VB.Net Code.  I will admit that I am new to VB.Net and Telerik products.  I currently have installed the demo for WinForms Q3 2009 installed, and am currently going thu a tutorial posed here on this site that references the FormElement.ClientFillPrimitive for a form.  I read the release notes that said I should use a panel in the form to accomplish the same functionality.  I however have not been able to access the FillPrimitive properties for the Panel from code.  I can do so using the smart tag editor... but not from code.

Any help would be appreciated
Thank you
Nikolay
Telerik team
 answered on 07 Dec 2009
2 answers
157 views
i have five columns in radgridview

1.Employee id                                   Gridviewtextboxcolumn
2.Employeename                            Gridviewtextboxcolumn
3.D.O.B                                            Gridviewdatetimecolumn
4.Designation                                   Gridviewtextboxcolumn
5.Date of joining                                Gridviewdatetimecolumn

radgridview properties

Enter key mode  --->EnterMovesToNextCell
Newrowenterkeymode-->EnterMovesToNextCell
im enter the employee name in employeename column  and press enter key in the column
  it wil be skip on designation column..


--->same error im enter the value in  designation column and press enter
it wil be skip on new row..

-->how can i select  the date in  D.o.B column and Date of joining column

Anyone can help me!!
thanks
regards,
vignesh







kottu
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
163 views
Hello,

Some way would like to know if exits to keep the configurations of grid for a filing-cabinet (example XML) and later loading of new this configuration.

Morgado

Jack
Telerik team
 answered on 04 Dec 2009
1 answer
158 views

Hello, I'm using RadControls for Winforms Q3 2009 to build an Winforms application. I have a RadgridView in there. I want to change the text "Drag a column here to group by this column".

I tried to do this, through the option edit UI elements, it changes the text for a moment, but when I execute the application the text doesn't change

 

thanks for the help

Svett
Telerik team
 answered on 04 Dec 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?