Telerik Forums
UI for WinForms Forum
3 answers
193 views

Based on the example here - http://www.telerik.com/help/winforms/multicolumncombobox-filtering.html
I cannot get the composite filters to work.  The single filter works fine.

Based on the code below, once I bind the data to the datasource, the DisplayMember is automatically set to the first column, in this case Account.  The documentation says the data is filtered by the DisplayMember field.  So this works fine for the single column filter.

For the composite filter, no filtering takes place.  You can see from the attached debug image that the filter is being set correctly.
  > Is it because the DisplayMember is only set to "Account"?
     > Can it be set to something that would work correctly (eg: Account, Description)?

If the composite filtering does not work, please remove it from the Telerik documentation or detail how to get it to work.  A two column drop down is a pretty simple example.  BTW I am on Winforms v2013.3.1127.40

Thanks!

Dim sSql As String = "Select Account, Description From accounts Order By Account"
cbo.DataSource = tbl
 
'THIS single filter section works fine
cbo.AutoFilter = True
Dim filter As New FilterDescriptor(cbo.DisplayMember, FilterOperator.Contains, "")
cbo.EditorControl.MasterTemplate.FilterDescriptors.Add(filter)
 
'THIS composite filter does not work - duplicated from Telerik example
 
'Dim cmpFilter As New CompositeFilterDescriptor()
'Dim fltMain As New FilterDescriptor(cbo.DisplayMember, FilterOperator.Contains, "")
'Dim fltDesc As New FilterDescriptor("Description", FilterOperator.Contains, "")
'cmpFilter.FilterDescriptors.Add(fltMain)
'cmpFilter.FilterDescriptors.Add(fltDesc)
'cmpFilter.LogicalOperator = FilterLogicalOperator.[Or]
'cbo.EditorControl.FilterDescriptors.Add(cmpFilter)


Dimitar
Telerik team
 answered on 07 Nov 2014
8 answers
217 views
how to load DocumentWindow in invisible mode?

I open the second and subsequent tabs:

Form privatForm= new Form();
privatForm.Dock = DockStyle.Fill;
privatForm.TopLevel = false;
 
DocumentWindow privatDockForm = new DocumentWindow();
privatDockForm.CloseAction = DockWindowCloseAction.Hide;
privatDockForm.Text = tabName;
privatDockForm.Controls.Add(privatForm);
generalFrm.radDock1.AddDocument(privatDockForm);
privatDockForm.Show();
privatForm.Show();

Not running the event PrivatForm_Load until the user activates it... How to force a load of my privatForm without displaying it to the user?
and how to add DocumentWindow in the Dock temporarily without creating a tab?
Dimitar
Telerik team
 answered on 07 Nov 2014
5 answers
196 views
Hey all -

I've played with a few different bits of code to save the Dock controls, and was wondering if I was missing an easy way to save them in the app?

The code dockingManager1.SaveXML(FileName);  and dockingManager1.loadXML(FileName); only saves the dock structure, but not any of the internal controls.

Thanks in advance,
Jim
George
Telerik team
 answered on 07 Nov 2014
1 answer
79 views
Hi,

Need to develop Blog type of window application using telerik controls (either winforms control or WPF control)

It should have following options
1.Information sharing between users and groups
2.Like or Share
3.Reply or comments

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Nov 2014
2 answers
203 views
Hi,

I am trying to apply cell color depending to the text value of a cell in a row, but I does not works.

What I am doing wrong?

I am following the telerik example:

http://www.telerik.com/help/winforms/gridview-cells-formatting-cells.html

Here is my code that I invoke after pupulate data by a datasource binding list.

private void RefreshColorsOfResultsInGrid()
{
    this.radGridViewControl.BeginInit();
 
    foreach (GridViewRowInfo row in this.radGridViewControl.Rows)
    {
        GridViewCellInfo cell = row.Cells["ResultAsString"];
 
        if ((cell.Value.ToString().ToUpper() == "NEW") || (cell.Value.ToString().ToUpper() == "NEW*"))
        {
            cell.Style.CustomizeFill = true;                   
            cell.Style.DrawFill = true;
            cell.Style.ForeColor = Color.Green;
            cell.Style.Font = new Font("Arial", 8, FontStyle.Bold);                   
        }
        else if ((cell.Value.ToString().ToUpper() == "OLD") || (cell.Value.ToString().ToUpper() == "OLD*") )
        {
            cell.Style.CustomizeFill = true;
            cell.Style.DrawFill = true;                   
            cell.Style.ForeColor = Color.Red;
            cell.Style.Font = new Font("Arial", 8, FontStyle.Bold);
        }
        else
        {
            cell.Style.CustomizeFill = true;
            cell.Style.DrawFill = true;
            cell.Style.ForeColor = Color.Black;
        }
    }
 
    this.radGridViewControl.EndInit();
    this.radGridViewControl.Refresh();
 
}
Stefan
Telerik team
 answered on 07 Nov 2014
2 answers
118 views
Hi,

I would like to generate a dynamic graphic chart linked to a normal radGridview, which would be automatically generated as a function of the value of certain columns.

Somebody have made this before? any example available?

I have been looking the radpivotGrid that has this feature natively but I have to use the radGridView.

Thanks

Francisco
FMorales
Top achievements
Rank 1
 answered on 06 Nov 2014
2 answers
135 views
Hi there, 
I am new with telerik controls fro WINFORM

First: I want to save the appointment added to RadSCHEDULER into database using DataTable and not DataSet as my database can't be attached in the Project. As it will be on a SERVER.

Second: I want to retrieve the data of SCHEDULER from database to reload this data in RadSCHEDULER.

How can i do that?

Thanks alot
George
Telerik team
 answered on 05 Nov 2014
8 answers
248 views
Hello,

I need to develop MDI based application, I wish to make the RadDock interface to works like VS2010:
I want to have a single main Documents Tab Area and two view tool windows:
1) How can I make the RadDock to have only single tab documents area? I do no want to allow the user to create another tab documents areas (by dragging) - exactly like in VS2010 - there is only one tab documents area at all times
2) I also wish to allow the user to drag the documents as a float windows but without been able to re-dock it to other areas then the main  tab documents area

Thank you!
Dimitar
Telerik team
 answered on 04 Nov 2014
15 answers
685 views
Hi,

         I am trying to achieve filtering of multicolumn combobox inside the gridview..Can you give me an idea how to do it?

Thanks
Ralitsa
Telerik team
 answered on 04 Nov 2014
11 answers
208 views
is there a better event to use than AppointmentResized for resize appointment changes?  this even seems to fire every block the resize hits instead of once when the user finishes resizing the control.  I need to save off the new time for the appointment when they get done resizing.  saving it 5 times as they drag it bigger isn't good.

Thanks.
Stefan
Telerik team
 answered on 04 Nov 2014
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?