Telerik Forums
UI for WinForms Forum
1 answer
144 views
Please refer to the picture to see the following information:
T1, T2 are two common cells and T3 is a merged cell
When the mouse moves on T3, it triggers the border of T1 and T2, which will change the cell size of T1 and T2
Hristo
Telerik team
 answered on 02 Apr 2018
1 answer
156 views

I'm evaluating the RichTextEditor for WinForms as a replacement for another third-party control.  Frankly it would save me a lot of work if we could use your control, so I'm very enthusiastic about it, but I've discovered a problem.  When a line contains multiple font styles, I'm seeing a vertical alignment issue. Likely no one would ever do this in the real world, but it's part of our regression tests and I know it's going to be a barrier selling this to my boss.

I've attached a couple images.  My test app is little more than the editor and an associated ribbon bar, and I used the ribbon bar to make the formatting changes as shown.  The default font in Verdana, and the misaligned text is Courier New.  I saved the text as a docx and loaded it in Word, and you can see in the other image that the alignment problem is not present.

Any suggestions?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
9 answers
593 views

Hi, I'm stuck with such a problem.

I need to filter data at grid only from code (ShowFilteringRow = false). My filter condition is slightly complex so I use the FilterPredicate just like that - https://docs.telerik.com/devtools/winforms/gridview/filtering/custom-filtering#implementing-filtering-mechanism-using-filterpredicate

I've set  EnableCustomFiltering = true and implement the PerformFiltering predicate:

private void ChangeFilter(bool filtering)
{
    tree.BeginEdit();
    if (filtering)
    {
        tree.MasterTemplate.FilterPredicate = new Predicate<GridViewRowInfo>(PerformFiltering);
    }
    else
    {
        tree.MasterTemplate.FilterPredicate = null;
    }
    tree.EndEdit();
}
 
private bool PerformFiltering(GridViewRowInfo row)
{
    return (decimal)row.Cells["UnitPrice"].Value > 30;
}

But nothing happens when I fire the ChangeFilter() - the data still unfiltered. Do you know please, ehat am I doing wrong, or how can I fire filtering process from code?

M

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
7 answers
258 views
Hi Telerik,

I have a nested grid and would like to apply different theme for each child grid. Is it possible to do such thing?
For example:

- the first grid uses Aqua theme
    - the 1st child grid uses Desert
        - the 2nd child uses Office 2010
          
Another option is to have different color for each grid.

Regards,

Alep
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
2 answers
221 views
I am working on a screen that uses the scheduler.  I only want to show the month view and place the different tasks on the calendar.  I have this working the main issue I am having is I would like to color the background based on our own internal status.  As of right now I have been able to use the AppointmentFormatting to change the colors and have it display the way I would like.  I also see that I could add AppointmentBackgroundInfo so for Status Id's that already exist are no issue.  Is there a way to override the existing status backcolor and gradientstyle?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Apr 2018
0 answers
114 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
524 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
426 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
127 views

 

How to choose the vertical range of the chart?

Dimitar
Telerik team
 answered on 30 Mar 2018
2 answers
175 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
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?