Telerik Forums
UI for WinForms Forum
7 answers
309 views
Hello,

I am using the RadDateTimePicker and the RadTimePicker (WinForms Version 2012.2.608.20) to set the Date and Time of a meeting (they are bound to the same column of a datatable).

I'm finding that when I change the date, the time is always being reset to midnight.

Is there a way to get the RadDateTimePicker to only change the date, leaving the time alone ?

Thanks,
Chet
Nick
Top achievements
Rank 1
 answered on 11 Jun 2019
1 answer
183 views

I've been playing around with SaveLayout and gotten it to work with the standard SaveLayout.

But I'm looking for a way to save ONLY the layout information (column width, column order,visible columns, etc).

I can't seem to find a way to do it.

 

This is what I've tried so far:

RadGridView1.XmlSerializationInfo.SerializationMetadata.Clear()
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(RadGridView), "MasterTemplate", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "LogicalOperator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "PropertyName", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Operator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Value", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "IsFilterEditor", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "Columns", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewDataColumn), "Name", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewDataColumn), "Width", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
 
 
RadGridView1.SaveLayout(mStream)

 

It gives me a blank result.

THIS works for filtering but not any of the column info (width, order, visible):

RadGridView1.XmlSerializationInfo.DisregardOriginalSerializationVisibility = True
RadGridView1.XmlSerializationInfo.SerializationMetadata.Clear()
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(RadGridView), "MasterTemplate", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(GridViewTemplate), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "FilterDescriptors", ComponentModel.DesignerSerializationVisibilityAttribute.Content)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(CompositeFilterDescriptor), "LogicalOperator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "PropertyName", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Operator", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "Value", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
RadGridView1.XmlSerializationInfo.SerializationMetadata.Add(GetType(FilterDescriptor), "IsFilterEditor", ComponentModel.DesignerSerializationVisibilityAttribute.Visible)
 
 
 
RadGridView1.SaveLayout(mStream)

 

What am I missing?

Dimitar
Telerik team
 answered on 11 Jun 2019
7 answers
161 views

Hi

 

How to I hide / minimise the size of a CommandBar that is empty? (See attached image)

Also, there is a small border around the edge of the area (like a Margin or Padding) that I cant reduce. Is there a way to make the CommandBar be positioned tight to the edge?

I hope this makes sense.

Regards

Duane Suter

Dimitar
Telerik team
 answered on 10 Jun 2019
15 answers
281 views

I have a Terlik Radgridview with GridViewComboBoxColumn and GridViewTextBoxColumns,In that I want to raise a event while typing on GridViewTextBoxColumn
Dimitar
Telerik team
 answered on 07 Jun 2019
1 answer
93 views

Hello,

How can i get position of a message in the whole conversation of chat UI. So that i will be able to auto scroll the chat to that location. So that the particular msg can be highlighted.

Thanks.

Dimitar
Telerik team
 answered on 07 Jun 2019
1 answer
282 views

Hi,

Myself Niharika 

I wanted to know how to test .Net winform applications using Telerik Test studio

Do i need to install any testing framework 

Can you please update any demo for the same

Thank you 

Niharika

Plamen Mitrev
Telerik team
 answered on 07 Jun 2019
0 answers
98 views

Greetings,

For resizing form's controls, I use this

However, I want to resize the width of  RadRibbonBarGroups, so that there is no empty space (gap) left between elements of the RibbonBarTab. (All  RadRibbonBarGroups should fill up the available space in RibbonBarTab , according to RibbonBarTab's width (form's width))

I would appreciate any help

Thanks

George C.
Top achievements
Rank 2
Iron
Veteran
 asked on 05 Jun 2019
5 answers
120 views
Is is possible to set the contents of the page title?
Dimitar
Telerik team
 answered on 05 Jun 2019
2 answers
86 views

Evening all,

I have a button on the startmenu that calls up a Feedback form for the users to fill in.

No problems getting the form to appear.

My issue is the Startmenu dos not disappear, so it appears on top of the new form till you click on it.

I tried setting focus on the new form but that did nothing.

Is there some sort of Startmenu.visibility.hide I could call after clicking the menu button that calls up the 2nd form?

Or is this a bug! :(

See attached image of the issue.

 

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 05 Jun 2019
13 answers
2.0K+ views

Hi folks - I know this same question has been asked several times and each time was extremely helpful except every solution I've seen so far ONLY deals with the "Textbox" region of a RadDropDownList.

 

What I want to do is change the Border Color (if there is one) AND the background color (Fillcolor?) of JUST the dropdown. 

You can see my "FromThis.png" and "ToThis.png" attachments to see far more clearly what I'm talking about.

 

Thanks again in advance everyone!

-Curtis

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 04 Jun 2019
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?