Hi.
I have a listbox on a form. The user enters a value in a text box, clicks a button, the value is added to the list. All that works. The button click also sets the selected item to be the just entered value and calls scrolltoitem to reposition the listbox. The list box doesn't reposition.
Here is the code from the button click function:
private void radButton1_Click(object sender, EventArgs e)
{
var item = radTextBox1.Text;
if (string.IsNullOrWhiteSpace(item))
return;
// let's make sure this folder doesn't already exist in the list.
if (radListControl1.Items.Contains(item))
return;
var newItem = new RadListDataItem(item, item);
radListControl1.Items.Add(newItem);
radListControl1.SelectedItem = newItem;
radListControl1.ScrollToItem(newItem);
}I have also attached a working example.
Why doesn't this work as expected?
Thanks
-marc

Hi,
We experienced some performance issue with the tabbedform components when there are some tab opened. When you try to move the application, by selecting the title bar, the move is very laggy.
You can reproduce the issue with the demo project "First Look" of tabbedform. Just add 20 tabs and try to move the application, you will experienced some lags.
Do you have a workaround to avoid this behavior ?
Thanks a lot

Hi Team,
In our application we are using the RadTreeView control to add the Menu items.
While clicking or mouse over on the Menu items (Form Name) the folder icon should be highlight. Please do the needful. Video link mentioned below for your reference.
Video link : https://ttprivatenew.s3.amazonaws.com/pulse/suganya-gmail/attachments/17438074/TinyTake13-07-2021-04-01-27.mp4
Screenshot : https://prnt.sc/1aruj97

SOLVED: InitializeComponent() wasn't being called. Thought this was automatic?
I would have deleted this post, but there is no option.
I dragged the RadCheckedListBox to the form. But when I try to add data to the Item property, I get an exception because the control is null. I thought that like other controls, the RadCheckedListBox methods and properties could be accessed without having to be instantiated first. The instantiation is in Private Sub InitializeComponent() :
Me.cklstSuppressedTickets = New Telerik.WinControls.UI.RadCheckedListBox()
cklstSuppressedTickets is the RadCheckedListBox that I added to the form using the designer. When I highlight the control in code during debug, it shows cklstSuppressedTickets as 'Nothing'.
Private Sub LoadList()
Dim tkt As KeyValuePair(Of String, string)
For each tkt In dctTickets
cklstSuppressedTickets.Items.Add(tkt.Key & " - " & tkt.Value)
Next
End Sub

Hi
Please Help
Language: VB.Net (VS2017)
Telerik Version: 2017.3.1017
I am printing from radGridView with RadPrintDocument. Please advise how to add row numbers in the printpreview/print document.
In radGridView, row number is there in Row Header.
Thanks

Hi,
I have a RadGrid containing a self-referencing hierarchy of data. All works perfectly.
However, when it comes to styling, I am using one of the standard theme. However, I would like to change the default images for the expand/collapse arrows for showing/hiding the child elements, but nothing else .
How do I go about handling this?
Regards
Thomas
I am trying to disable HTML-like text formatting for appointments in a Scheduler that I have, but so far nothing is working. I have tried setting the DisableHTMLRendering property to true for myScheduler.ViewElement, myScheduler.SchedulerElement and have even tried it in the CellFormatting event handler where I set the property for mySchedulerCellEventArgs.CellElement. I am getting the same results in my main project as well as in a new test project that I created.
Thanks - Logan


All,
A simple question regarding the Calendar for the RadDateTimePicker using Microsoft WinForms.
The behavior I'm trying to fix is this:
I've put a KeyDown handler on the parent RadDateTimePicker that filters out backspace presses (since we don't want them in that control or any hosted controls in it). This appears to work fine (I can see the handler fire when this control has the focus). The RadDateTimePicker also has a hosted calendar control that can be accessed via a mouse click. When clicking on the UI element to get the popup Calendar, it properly pops up.. but when in the Calendar, if I now press the Backspace key, the Calendar popup disappears (this is the undesirable behavior).
I've tried this type of C# code to override keydown for the popup RadCalendar to get it to ignore Backspaces and it does not appear to work (I'm using exactly the same handler for now since I know it works):
this.m_radDateTimePicker = new Telerik.WinControls.UI.RadDateTimePicker();
//other initialization of the m_radDateTimePicker..
Telerik.WinControls.UI.RadDateTimePickerCalendar calendarBehavior = (this.m_radDateTimePicker.DateTimePickerElement.GetCurrentBehavior() as Telerik.WinControls.UI.RadDateTimePickerCalendar);
Telerik.WinControls.UI.RadCalendar calendar = calendarBehavior.Calendar as Telerik.WinControls.UI.RadCalendar;
Telerik.WinControls.UI.RadCalendarElement calendarElement = calendar.CalendarElement as Telerik.WinControls.UI.RadCalendarElement;
calendarElement.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RadDateTimePicker_KeyDown);
I've tried this also on the RadCalendar (calendar.KeyDown += ...), to no effect. Where should I place KeyHandler to get the popup Calendar to ignore Backspaces?
Thanks for your attention,
Richard

I need to draw 2,520 square shapes on a RadMap. I have the locations (let, lng) of each square. They should have different colors (as in the attached image)
When I use polygons to draw the squares, I face 2 issues:
(1) it takes very long time to complete the drawing of 2520 squares,
(2) I run out of memory as this process takes over 3 GB of memory.
Is there a better way to do this task?
