Hi I have a problem when adding the radChat1 tool
Pressing the Send Message button shows this
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?
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
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
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
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
Hey,
I want to make available just the 1st and the 15th of a month.
How can I get this?
Regards
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
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.