Telerik Forums
UI for WinForms Forum
4 answers
245 views

Hi,

I have a multicol combo with 5 columns and I have enabled filtering on each column :

multiColumnComboElement.EditorControl.EnableFiltering = true;

multiColumnComboElement.EditorControl.ShowHeaderCellButtons = true;

 

The issue I'm having is that when a user clicks on the OK button in the available filter list (see attached image) the main dropdown closes.

What I would like to happen is when the user clicks OK on the filter button the main drop down is still available but only showing the matching rows.

So for example and using the attached image as reference, if the user checks 19, 21, 30 and clicks OK the main dropdown remains open so the user can select from the filtered rows.

Not explaining this very well, but hope you get the idea.

I have managed to create a work around but its not ideal, basically on dropdown close I cancel if selectedIndex < 0, on dropdownopening I set selectedindex = -1.

Thanks for your help.

 Cheers

 

Shaun

 

 

 

Shaun
Top achievements
Rank 1
 answered on 14 May 2015
1 answer
170 views

Hello everyone,

 After I have updated my UI for WinForms to 2015.1.331.40, I am encountering strange problem with RadCommandBar control. If I create a new project in Visual Studio Community 2013 (VS 2012 Express as well) and drag, lets say, RadGridView into my RadForm everything is ok and i can change control Name as i like. However,  as soon as I add RadCommandBar control to my form, if I try to change other control Name property i get following message: 

Property value is not valid.

Details:

Unable to cast object of type:

'Telerik.WinControls.UI.RadGridView' to type

'Telerik.WinControls.RadItem'.

 

Does anyone have the same problem? If i add other controls (except RadCommandBar) everything is working as intended. My colleague is encountering the same problem on his computer (he is working on Win8, I am working on Win7). 

 

Any tips would be appreciated.

Thanks for your time,

Mateusz

 

 

Dimitar
Telerik team
 answered on 14 May 2015
0 answers
134 views
how to add Separator between elements in Ribbon Bar Group ??
Ammar
Top achievements
Rank 1
 asked on 14 May 2015
1 answer
142 views

Hi,

In the attached is a grid layout. I have grouping on column Abbreviation. There is also sorting on Document Amount column (from the lowest to the largest).
I would like to change the way group is sorted (programmatically). The group should sort base on aggregated values (sum of Document Amount column).

AUT: 102,08  
AIR: 592,98,
ARU: 3 918,40 
AKE: 4 750,00
BER: 6 024,00
ANG: 33 630,00
ALBER: 124 729,22
and so on...

Is it possible?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 May 2015
3 answers
136 views
there are 2 button (option & Exit) in right side of menu, how i can to hide them from menu?
Ammar
Top achievements
Rank 1
 answered on 13 May 2015
1 answer
379 views

Hello!

 What's the proper way to dispose of a radform to ensure that all of the added controls also gets removed? As it is now, each time i start the form and then close it, memory consumption goes up with about 10mb. The core issue here seems to be that even though the form calls .Dispose() when it's closed the controls added to the form does not get cleared. I've tried setting all of the controls in the form to null on close, but this did not have any effect on the memory issue. 

 To make sure that it was an issue with the specific form, i created an empty form and instead opened that one, and when that form closed, memory did not increase, which leads me to be pretty sure that it has something to do with the controls added to the form not getting disposed. 

Dimitar
Telerik team
 answered on 13 May 2015
7 answers
190 views
Hi,

Is it possible to somehow change the position of the pin button (that open Excel-like filtering context menu), so it will be placed under the column header text?
Check image: http://imgur.com/5WZu5UU
konrad
Top achievements
Rank 1
 answered on 13 May 2015
1 answer
357 views

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

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 May 2015
3 answers
488 views

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());

Dimitar
Telerik team
 answered on 12 May 2015
4 answers
306 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 May 2015
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?