Hi,
I'm trying to add a button to gridview group header that takes header data and uses it. I searched on forum and found something but they didn't work. Is there a way that obtains this purpose for a winform application?
Regards
Onur
Hi,
we're developing a WinForms application with Telerik Controls (or rather update an older application of ours). In this app, we use different ListViews and we often encounter performance issues. We've found workarounds and performance improvements for the lower thousands (adding up to ~2000 items), which is fine, but there can be cases when the app need to load 10k items. It's not the normal case but it can happen every so often.
Now the improvements we made (e.g. using AddRange instead of Add) are still noticeable here, but it still takes about the ListView about 90 sec to load 9k items (with a small icon and text). That in and of itself is not the problem - sometimes it takes time to load so many items and since this an administration tool, we think our users could handle that.
The problem is that this is happening (or at least it seems so) when the ListView is rendering the items. That means it happens on the UI thread, which on the other hand means the app is not responding while the ListView is loading. Now that is something that needs to fixed, since I don't think that it is possible to lower the loading time to an unnoticeable level. I already tried to make the method asynchronous (public async void...) and use the await keyword but there are many complications if the user resumes to click around in the application. We'd have to make many architectural changes to make this work properly and that would cost too much time.
Is there any way to inform the user that the ListView is still loading without breaking the UI? Animated loading symbols would be fine but since the UI thread is blocked in this case, this wouldn't help much either. Any ideas?
Thanks and regards,
Steve.
PS: For reference, at the moment we load the ListView items like this, which seems to be the fastest way (we found):
01.
this
.listViewGroup.Items.AddRange(__result.Select(
02.
groupResult =>
03.
{
04.
var __lvdi =
new
ListViewDataItem();
05.
06.
//Do some work to transform the groupResult item into a ListViewDataItem
07.
//This takes almost no time at all (a fraction of a second)
08.
09.
return
__lvdi;
10.
}).ToArray());
Hi,
I'm using a custom node to display a button for some of the nodes in my treeview. The custom node consists of just a textElement and a buttonElement, they are placed in a StackLayoutElement.
When updating the nodes text property in the editor it afterwards appears two times. See the attached file(to make it more it clear I've set textElement.StretchVertically = false so that it can clearly be seen). It's like both the node text and the virtual text element is visible. Pointers to how I resolve this would be much appreciated :D.
/Thomas
Using the code bellow which add a radio button to a RadToggleButton. Whenever i click the button and not the radio button. The radio button automatically toggles on as well. But if you change RadToggleButton to a RadButton then it works. It also hapens with RadCheckBoxElement as well.
RadToggleButton button = new RadToggleButton();
button.Text = "Test";
RadRadioButtonElement e = new RadRadioButtonElement();
e.ToggleStateChanged += e_ToggleStateChanged;
e.CheckStateChanged += e_CheckStateChanged;
e.Margin = new System.Windows.Forms.Padding(button.Width-18, 0, 0, 0);
button.ButtonElement.Children.Add(e);
button.ToggleStateChanged += button_ToggleStateChanged;
Controls.Add(button);
What is the event for "column posion changed"?
Up to now I used ColumnIndexChanged in oder version of telerik or CollectionChanged event in newer telerik verion. But this event is no longer existing ?!?
Hello
I may coded it incorrect way. When I clicked the (X) button to close, it does not release memory. I can see through Windows Task Manager.
RadDesktopAlert alert = new RadDesktopAlert();
alert.FixedSize = new Size(330, 110);
alert.PopupAnimation = true;
alert.PopupAnimationFrames = 50; // 50 is default
alert.ShowOptionsButton = false;
alert.CaptionText = "NEW POPUP";
alert.ContentText = "WELCOME";
alert.AutoClose = Properties.Settings.Default.allowAutoClose;
alert.AutoCloseDelay = Properties.Settings.Default.delayAutoCloseInSec; ;
alert.Popup.Click += new EventHandler(Popup_Click);
alert.Show();
Can someone please help me how to release/dispose RadDesktopAlert's memory properly?
Thank you!