Telerik Forums
UI for WinForms Forum
0 answers
97 views

At you on a forum found an example how to make grouping in a combo which is in date grid.
Applying this method a couple of questions arose.
1) Mouse scrolling does not work.
2) How to make AutoCompleteMode

private void UpdateComboBoxSpeziolist()
        {
            var commandServer = new CommandServer();
 
            _radSpeziolist.SelectedItemChanged += new EventHandler(lv_SelectedItemChanged);
            _radSpeziolist.DisplayMember = "fio";
            _radSpeziolist.ValueMember = "fio";
            _radSpeziolist.DataSource = commandServer.GetDataGridSet(@"select *
                from spezialistSurvey()").Tables[0];
            _radSpeziolist.EnableGrouping = true;
            _radSpeziolist.ShowGroups = true;
 
            GroupDescriptor group = new GroupDescriptor(new SortDescriptor[] { new SortDescriptor("cat", ListSortDirection.Descending) });
            _radSpeziolist.GroupDescriptors.Add(group);
            _radSpeziolist.AllowEdit = true;
            _radSpeziolist.CollapseAll();           
        }
 
private void radGridView2_CellEditorInitialized(object sender, GridViewCellEventArgs e)
        {
            if(e.ActiveEditor is RadDropDownListEditor)
            {
                RadDropDownListEditor editor = e.ActiveEditor as RadDropDownListEditor;
                RadDropDownListEditorElement element = editor.EditorElement as RadDropDownListEditorElement;
                element.DropDownSizingMode = SizingMode.UpDownAndRightBottom;
                element.Popup.Controls.Add(_radSpeziolist);
                element.DropDownMinSize = new Size(300, 300);
                element.PopupOpening += new CancelEventHandler(element_PopupOpening);
            }
        }
 
void element_PopupOpening(object sender, CancelEventArgs e)
        {
            _radSpeziolist.Size = ((RadDropDownListEditorElement)sender).Popup.Size;
            _radSpeziolist.AutoScroll = true;
 
        }
        private void lv_SelectedItemChanged(object sender, EventArgs e)
        {
            ListViewItemEventArgs args = (ListViewItemEventArgs)e;
            if (args.Item != null && radGridViewSurvey.CurrentCell != null)
            {
                this.radGridViewSurvey.CurrentCell.Value = args.Item.Value;
                ((DropDownPopupForm)args.ListViewElement.ElementTree.Control.Parent).ClosePopup(RadPopupCloseReason.Mouse);
                radGridViewSurvey.CancelEdit();
            }
        }
Вадим
Top achievements
Rank 1
Iron
Iron
 asked on 01 Apr 2018
9 answers
458 views
Hi,

I'm trying to use FilterDescriptors.Expression in radgrid, but everytime i put any wildcard here, it always wraps that wildcard into brackets (name like 'a%' became name like 'a[%]') and grid gets fully filtered, because there is no matching line. I've tried diferent types of wildcards (*, %, ?) but it always gets me the same result. Am I missing something? 

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2018
2 answers
395 views

I can't seem to find any working key events for RadDropDownList.DropDownListElement.AutoCompleteSuggest.

What's currently happening:

A user navigates to the desired auto complete suggestion and presses enter on it. They then have to press enter again(to trigger the RadDropDownList.KeyDown event).

What I'd like to happen

A user navigates to the desired auto complete suggestion and presses enter on it. I'm looking for what this event is.

 

Thanks,

 

Brandon

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2018
3 answers
108 views

 

How to choose the vertical range of the chart?

Dimitar
Telerik team
 answered on 30 Mar 2018
2 answers
152 views

Hello,

Is there a way to disble the scroll when using the mouse wheel?

 

Regards,

Alberto

Amige
Top achievements
Rank 1
Veteran
 answered on 29 Mar 2018
2 answers
112 views
I have a hierarchical (rows + children rows) RadGridView. I'm already using the ViewCellFormatting event in order to display my own [+] and [-] images.

Is there a way to know if a "parent" row has no children rows the event handler, so I can set an empty image in the first place? That way the user has a visual clue that the row doesn't need to be expanded.


Fanie
Top achievements
Rank 1
 answered on 29 Mar 2018
16 answers
666 views
Hi,

I found a bug when adding a few input controls like textboxes etc on a form, in combination with the raddropdownlist (DropDownStyle = DropDownList). When pressing the tab key to focus the next control, everything works normally with the textboxes, but when the dropdownlist gets focus, there is no visual feedback to see which control has the focus. After manually clicking the dropdownlist, the tab key focus works as it should do.

Tested with the winforms product, version 2013.1 321 (mar. 21, 2013) on a Windows 7 machine 64 bit, with the VisualStudio2012Light theme.

PS, I wanted to add this bug in your tracking system, but the RadDropDownList is not in the selection where you should choose the bug-related control. This list could also be sorted alphabetically, which makes finding the right control much easier ;)
Hristo
Telerik team
 answered on 29 Mar 2018
13 answers
1.0K+ views
Hello,

i am having a treeview. and adding the nodes manually.
For Each ct In ChecklistTemplate
  
                newChecklistTypeNode = New RadTreeNode(ct.ChecklistTypeName, False)
                newChecklistTypeNode.Tag = ct.CheckistTypeID
                newChecklistTypeNode.LoadedOnDemand = True
  
                If (Not tvChecklists.Nodes.Contains(newChecklistTypeNode)) Then
                    tvChecklists.Nodes.Add(newChecklistTypeNode)
                End If
Next

i am checking whether the node is already present in the treeview.
suppose following nodes are already added in treeview
1. abc
2. xyz
3. pqr

if i now add xyz node in treeview the condition tvChecklists.Nodes.Contains(newChecklistTypeNode) returns FALSE.

Please suggest.

Thanks
Sachin




Azhar
Top achievements
Rank 1
 answered on 29 Mar 2018
6 answers
177 views

Hello,

I am trying to create an image reviewer where an image is displayed and reviewed.  Right now the image is displayed in a radDiagram as a radDiagramShape.

What I am trying to do is create a feature where a box can be moved over the original image and the portion of the image that the box is over be displayed in a separate shape object.  That way the user can have a "zoomed" look over the original image without needing to zoom and pan over the original image.

Can this be done?

Thanks for any suggestions!

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Mar 2018
1 answer
88 views
I have a RadTreeView that has nodes listing directories and files from a certain location in the file system. Now if I were to go into Windows Explorer and manipulate one of the files, how can I update the RadTreeView automicatically to the user's action? Say if I were to delete the file, how can I refresh the RadTreeView to show that once they do it from Windows Explorer? Is there a way? 
Dimitar
Telerik team
 answered on 29 Mar 2018
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?