Telerik Forums
UI for WinForms Forum
2 answers
91 views

Hello!

I've got an Unbound RadGridView control that loads without issue.

Each row includes a Hierarchical grid.

 

I control the main grid column header height with this: gridTest.TableElement.TableHeaderHeight = 15

but I have not been able to figure out how to adjust the Hierarchical grid's column header height.

 

Any help you can offer would be appreciated :)

-C

 

 

 

 

 

 

Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 22 Apr 2021
4 answers
542 views
#1
How do I change the appearance of each of these: date of current value, today's date, special days, date under cursor as it moves, etc..  For example, I may want the current value's date to be an outline only, special days to be green with no border, today to be white font on black, etc.?

#2
when I set this.ShowUpDown = true; in a custom control VS can no longer draw the UI of any form that uses the control and when the app is run the next line of code (RadDateTimePickerCalendar calendarBehavior = (this.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar);) returns calendarBehavior as a null value.  Is ShowUpDown deprecated or is this a bug?

#3
I tried to follow this http://www.telerik.com/community/forums/winforms/calendar-and-datetimepicker/disable-future-dates-on-datetimepicker-calender-element.aspx but the disabling only happens when the calendar is initially drawn ... (does not refresh when moving to other months) ... I fixed it by subscribing to the events for <, >, <<, >> buttons ... is this the best approach or is there one event for when the calendar changes?

#4
How do I change the image (from the combobox default to my calendar.png)?
I tried this (that I found on the forums) 

RadDateTimePickerArrowButtonElement button = (RadDateTimePickerArrowButtonElement)this.DateTimePickerElement.ArrowButton.Children[1].Children[1];

((ImagePrimitive)button.Children[4]).Image = ImageLibrary.Calendar;

which failed because the first Children[1] did not have any children resulting in a null reference.

I also tried this which looked obvious ...

this.DateTimePickerElement.ArrowButton.Image = ImageLibrary

.Calendar;
but the appearance of the control did not change.

#5
When my custom control sets

this.Format = DateTimePickerFormat.Custom;

this.CustomFormat = "MM/dd/yyyy - ddd";

these properties are ignored and must be explicitly set for each control where implemented.  Other values like

this.NullText are inherited from my controls as expected.

 

Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 21 Apr 2021
3 answers
119 views

Hello

I would like to set grid lines width to bold them in gridview. Is it possible?

 

All the best

 

Nadya | Tech Support Engineer
Telerik team
 answered on 20 Apr 2021
3 answers
1.1K+ views

I am using the 2016 Q2 release of the RadCalendar control...

 

I have reviewed the years old threads regarding the week selection in a Calendar control and I am still unable to achieve what I am after.  Hopefully someone can help...

 

When the form is loaded, I want the Calendar to display the month for the system date, and select all days in the associated week for the system date, using a Sunday - Saturday week format. So if today is Aug 3, 2016, I would want the Calendar to display 7 columns, 6 rows, showing dates Jul 31, 2016 to Sep 10, 2016, with the dates for the current week, Jul 31, 2016 to Aug 6, 2016 selected.

 

Additionally, if the User selects any other date in the Calendar, I want to clear to previous week selection, and select all days in the associated week for the select date, using a Sunday - Saturday week format. So if User selects Aug 24, 2016, I would want the previous week to not be selected, and select all days for which the selected date falls between, Aug 21, 2016 - Aug 27, 2016.

 

In the end, there would only ever be 7 days selected in the Calendar which would equal 1 week in time.

 

Any guidance would be most appreciated.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Apr 2021
7 answers
882 views
As I'm sure you can tell by my recent posts, I've been playing around with the controls for Windows Forms, and I noticed today that the RadTextBox does not include an ability to bind to an autocomplete source like the standard TextBox does.  Is there another way to accomplish this?  One of my RadTextBox controls is for URL entry, and I'd like the option to tie it to the user's history for autocomplete.

Josh
Nadya | Tech Support Engineer
Telerik team
 answered on 19 Apr 2021
4 answers
148 views

Hi,

I have a problem. We have migrated from old library to RadPageView and everything is working, except ShortCuts to specific tabs. In previous library we had feature that, we can add & before letter and it has been using as a shortcut to this tab. Also this char has underline under themselves. Is if possible to do it in Telerik? I was looking for it, but without success

Thank you in advice for any answers.

Best regards,

Patryk

Patryk
Top achievements
Rank 1
 answered on 19 Apr 2021
3 answers
861 views
hey,
    is there a property that shows/Hides the grid's gridlines and I can change it in runtime?
thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Apr 2021
2 answers
90 views

Hello

I need to open the contextmenu of a radgridview without having the current row changed.

Can I identify if the right mouse button is clicked and cancel the current row changing

or do I need to open the menu from the MouseUp event, in which case I need to identif the row on which the right mouse is click event is fired

Thanks in advance

Best Regards

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Apr 2021
1 answer
67 views

Hi,

i need to create a custom RadDiagramConnector with custom shape then add it to a shape like RoundRectShape and i should connect from  it with a drag operation to another RoundRectShape and create programmaticalli the connection.

It is possible to have a complete example

Thanks in advance

 

Raffaele Z.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Apr 2021
13 answers
497 views
Hello:

Our users noticed today that RadMessageBox throws an error if additional calls to Show are made while the original dialog is still open. Our application uses BackgroundWorker, so processes alerting the user to their completion is a normal activity. This can result in multiple modal dialogs showing up all at the same time, which is acceptable.

Until recently, we used the built-in WinForm MessageBox. We switched over to get the common look and feel. However, now we are getting this error: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog.

We don't want to go back to the ugly MessageBoxes, so it would be nice if there was a way for RadMessageBox to overcome this problem.

Thanks,
Travis Parks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2021
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?