Telerik Forums
UI for WinForms Forum
12 answers
736 views
I've been trying to get my listview to sort in unbound mode (where I've added several items manually) and I can't seem to get it working.

I've tried:
uiMasterColourList.SortDescriptors.Add(new SortDescriptor("Text", ListSortDirection.Ascending));
uiMasterColourList.EnableSorting = true;

Basically I'm loading a list of colours from the database and then adding them to two different groups in the listview, along with a checkbox to see if the user has already selected the colour. Works great, but the colours end up a little mixed up and it'd be nice to sort them alphabetically inside their groups.

So this seems like a fairly simple problem, but I seem to be missing something that's making it not work.
Hristo
Telerik team
 answered on 10 Jun 2016
3 answers
477 views

Hello, when using the AllowDragDrop=true on a ListView control, it gives to user a beautiful feedback while doing drag/drop (attached image).

Since i need to implement drag & drop manually, would be possible to draw insert lines on the listview control in "list" view mode?

Would be nice to also have the semiopaque cursor while dragging like on the attached image, but that is not that necessary to me.

The lack of insertion lines in my opinion make not clear for the users where the item will be dropped.

 

Best Regards

Andrea

 

Hristo
Telerik team
 answered on 10 Jun 2016
1 answer
276 views

While we can move controls contained inside LayoutControl by selecting them and using the keyboard arrow keys it appears it is not possible to move them using the mouse since LayoutControl tries to automatically create a new section as soon as you start dragging a control with your mouse instead of allowing you to reposition the control within the existing section it is currently in. However, only when you use the mouse to move the controls the alignment lines show allowing you to align your controls more easily.

Why is it and is there a way to move the controls inside the LayoutControl with the mouse without LayoutControl automatically adding new sections?

Hristo
Telerik team
 answered on 10 Jun 2016
9 answers
204 views
Hi,
I find it rather annoying that the column chooser is now a topmost window.
The column chooser should be in front of all application windows from the app that called it but not on top of any other application.
What do other users think?

Regards
Erwin
Dimitar
Telerik team
 answered on 10 Jun 2016
1 answer
260 views

Hello,

I've noticed a small problem with the commandbar controls and databinding. Maybe this is not a bug, but however the commandbar controls behave different to the "normal" (Telerik) controls.

If you have something like this:

public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
 
            List<myobject> source = new List<myobject>();
            BindingSource binding = new BindingSource();
 
            source.Add(new myobject(1, "a"));
            source.Add(new myobject(2, "b"));
            source.Add(new myobject(3, "c"));
            source.Add(new myobject(4, "d"));
 
            try
            {
                commandBarTextBox1.DataBindings.Add("Text", binding, "MyProperty2", true, DataSourceUpdateMode.OnValidation);
            }
            catch
            {
            }
            radTextBox1.DataBindings.Add("Text", binding, "MyProperty2", true, DataSourceUpdateMode.OnValidation);          
 
            binding.DataSource = source;
            binding.MoveLast();
        }
    }
 
    public class myobject
    {
        public int MyProperty1 { get; set; }
        public string MyProperty2 { get; set; }
 
        public myobject(int a, string b)
        {
            MyProperty1 = a;
            MyProperty2 = b;
        }
    }

the databinding of the commandbartextbox will crash but the radtextbox works fine.The problem is that the binding datasource is set after the control databinding. 

Since the radcontrols and the .net controls work fine in this case it would be nice if the commandbar controls could too.

(Why are the commandbarcontrols not derived from the radcontrols? or at least have the same base class?)

Kind Regards,

Christian

Dimitar
Telerik team
 answered on 10 Jun 2016
1 answer
138 views

Hi,

I'm on Progress OpenEdge 11.6.2 and tried to enable AllowSearchRow in a Grid. The code compiles and my form is shown and looks like expected.

When I now type a letter in the search field, I get an Error that the used type of multithreading is not supported (Error 15740) with ABL (the exact Message is in german language).

Is there a way to use this feature with Progress ABL?

Regards

Jürgen

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Jun 2016
1 answer
153 views

Hello,

I would like to insert in the same page data imported from several rows of a DB table.

Usually, the system creates one page per DB record. If I am using a master-detail structure, I have data coming from details table and the rows are more then one.

How can I manage this issue?

Thank you

Dimitar
Telerik team
 answered on 10 Jun 2016
1 answer
364 views
I have a radgridview in WinsForm. I created data entry number pad (buttons) for the user interface. When the table loads up, the current cell (focused cell) is set to the first cell in the upper left. When the user presses the number pad button, it enters the data to the currentcell's value. It works all fine and dandy until the table gets bigger and requires scrolling to see other cells. My problem is, when the user scrolls away from the currentcell and the currentcell is not in sight there will be an error if any button referencing the currentcell is pressed. It seems that when the currentcell is not in view, it cannot access the currentcell. Is there a way around this or resolve this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Jun 2016
4 answers
393 views

Hi I have following tree structure with checkboxes. I wanted to read the child notes selected or unselected and based on that I want to update a string which store those values

Tree structure

Parent1 ((checked))
         --Child11   
         --Child12 (checked)
         --Child13 (checked)

Parent2(checked)
         --Child21 (checked)
         --Child22
         --Child23

Parent3 (checked)
         --Child31
         --Child32 (checked)
         --Child33

Dim ParentsNodes as string

Dim ChildNodes as string

I want to loop through entire node with any check or uncheck event and update my ParentNodes string and ChildNodes string so that it says

ParentsNodes = "Parent1, Parent2, Parent3"

ChildNodes = "Child12, Child13, Child21, Child32"

 

How do I loop through my nodes in RadTreeView using VB.NET and in what event should I put this loop so that any check or uncheck updates my strings. Please help

Thank you!

Dimitar
Telerik team
 answered on 10 Jun 2016
2 answers
111 views
is there a way to make something like this(see attached image)?
i tried to use drop down menu with custom items but it did not work.
is there some way to show a form on drop down menu click?
or some other way you would suggest to achieve this?
Aazar
Top achievements
Rank 1
 answered on 09 Jun 2016
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?