Telerik Forums
UI for WinForms Forum
5 answers
132 views

Hi I have a problem when adding the radChat1 tool

 

Pressing the Send Message button shows this 
An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.WinControls.UI.dll

Additional information: The Author property has to be set to a valid instance when AutoAddUserMessages is set to true.
Dimitar
Telerik team
 answered on 04 Oct 2018
5 answers
195 views

I override the BaseInputEditor with a trackbar editor (using code from Telerik website).

But when I change the position of the trackbar, the PropertyValueChanged event does not occur (radPropertyGrid)

What am I doing wrong?

Dimitar
Telerik team
 answered on 04 Oct 2018
3 answers
1.0K+ views

Hi Telerik

I am using the RadDateTimePicker to allow the user to select a date and a time.

I have successfully set the MinDate and MaxDate to limite the user to a date range and I also set the MinTime and MaxTime to limit the user to an allowable timeslot.

We now require the user to be restricted to different time slots on different days i.e. Monday to Friday 09:00 - 17:00, Saturday 10:00 - 14:00 and Sunday 12:00 - 13:00 to reflect different opening hours of a shop.

When setting the MinTime and MaxTime i use the following code:

var rdtpc = this.rdtp_TargetDate.DateTimePickerElement.CurrentBehavior as RadDateTimePickerCalendar;
rdtpc.ShowTimePicker = true;
rdtpc.TimePicker.TimePickerElement.MinValue = DateTime.Today.Date.AddHours(9);
rdtpc.TimePicker.TimePickerElement.MaxValue = DateTime.Today.Date.AddHours(17);

 

This is fine for a single time range, but what event do I need to wire up to allow me to set different enabled time range for different days/dates?

Thanks

 

 

Hristo
Telerik team
 answered on 03 Oct 2018
2 answers
128 views

Hello,

Does anybody know how to get the name of the control (Listview) when using the DragDropService >> PreviewDragOver >> e.HitTarget ?

I have got multiple listviews on a form and depending on the source the DragItem may not be dropped.

Grtz Patrick Vossen

 

Johan Feijen
Top achievements
Rank 1
 answered on 03 Oct 2018
2 answers
192 views

Hi,

 

I'm creating a RadCheckedListBox at run time and adding various items to it, some of which are checked and others which are not. Based on other data, I would like to override the default colour of the "tick" (currently green) to red, but not for all items only some of them. Is this possible ?

Regards
Toby

Toby
Top achievements
Rank 1
 answered on 03 Oct 2018
0 answers
182 views

Hey guys, this is just a warning, u have set the font on RadDropDownListElement and RadCheckBoxElement so we can't change the font of RadDropDownList and RadCheckBox at design time, I had resolve it on my personalized theme removing the font applied repository item and I don't konw if u already fixed it, there maybe is another controls with the same problem, but I haven't noticied it.

 

Sorry for bad english

Leandro
Top achievements
Rank 1
 asked on 02 Oct 2018
1 answer
107 views

Hey,

I want to make available just the 1st and the 15th of a month.

How can I get this?

 

Regards

Dimitar
Telerik team
 answered on 02 Oct 2018
4 answers
722 views

Hi,

I'm trying to being able to show or a hide an icon on a button when a PDF has been loaded. How do I show/hide an imported image resource for the project. Attached is a screenshot of the button when I set the image at design time but I need a way to show/hide this in code. Thanks!

J

Jeffrey
Top achievements
Rank 1
 answered on 01 Oct 2018
1 answer
103 views
The Dropdown starting letters getting hide on form open, But when i click this dropdown and after click next control, the dropdown letters are visible. Is there any property to show it while opening the form.
Please check the attached image,
Thanks in Advance.
Dimitar
Telerik team
 answered on 01 Oct 2018
4 answers
478 views

Hi,

I have a uerControl, MyUserControl, that contains a RadRichTextEditor. The method that initializes MyUserControl instantiates a new RadDocument for the RadRichTextEditor. The new document is sometimes empty (no sections) and sometimes has one section that contains a paragrph!!! I have the following code to remove the initial paragraph (2 versions) and they both crash. What is the right way of doing it?

public void InitMyUserControl()
{
     textEditor.RichTextBoxElement.BackColor = Color.White;
      textEditor.Document = new RadDocument();
      if ( textEditor.Document.Sections.Count != 0)
      {
            var block =  textEditor.Document.Sections.First.Blocks.First;
             textEditor.Document.Sections.First.Blocks.Remove(block);
      }

      OR

      if ( textEditor.Document.Sections.Count != 0)
      {
            Section section =  textEditor.Document.Sections.First;
             textEditor.Document.Sections.Remove(section);
      }
}

Thanks,

Shahrzade.

Hristo
Telerik team
 answered on 01 Oct 2018
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?