Telerik Forums
UI for WinForms Forum
18 answers
823 views
Hi,

Is there any way we can have multiple columns based filtering in MultiColumnCombo...

Example:

RadMultiColumnComboBoxElement

 

multiColumnComboElement = this.mcboSample.MultiColumnComboBoxElement;

 

multiColumnComboElement.EditorControl.MasterGridViewTemplate.AutoGenerateColumns =

false;

 

multiColumnComboElement.Columns.Add(

new GridViewTextBoxColumn("Code"));

 

multiColumnComboElement.Columns.Add(

new GridViewTextBoxColumn("RealName"));

 

multiColumnComboElement.Columns.Add(

new GridViewTextBoxColumn("NickName"));

 

multiColumnComboElement.Rows.Add(

"1011", "Paul Wight, Jr.", "Big Show");

 

multiColumnComboElement.Rows.Add(

"1022", "Carlos Colón, Jr.", "Carlito");

 

multiColumnComboElement.Rows.Add(

"2031", "Matthew Korklan", "Evan Bourne");

 

multiColumnComboElement.Rows.Add(

"2032", "Mike Mizanin", "The Miz");

 

multiColumnComboElement.Rows.Add(

"4101", "Paul Levesque", "Triple H");

 

 

 


this
.mcboSample.AutoFilter = true;

 

 

this.mcboSample.DisplayMember = "NickName";

 

 

 


FilterExpression
filter = new FilterExpression(this.mcboSample.DisplayMember, FilterExpression.BinaryOperation.AND,

 

 

GridKnownFunction.Contains, GridFilterCellElement.ParameterName);

 

filter.Parameters.Add(

GridFilterCellElement.ParameterName, true);

 

 

this.mcboSample.EditorControl.MasterGridViewTemplate.FilterExpressions.Add(filter);

The above works fine based on NickName but I would have like have one more filter option based on RealName as well.

Thanks

Br,
MKK

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Aug 2016
2 answers
411 views

Can anyone advise if it is possible to nest items in a rad drop down list in Winforms?

I've looked at the documentation which doesn't mention this, but would like to know if it is actually possible.  Here's an example of what I need to do:

Yorkshire
    Leeds
    Bradford
    Wakefield
Hampshire
    Southhampton
    Portsmouth

In the above list, I need to be able to select a value at all levels... eg Yorkshie or Leeds

Thanks in advance...

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Aug 2016
1 answer
177 views

Hello,

I have a RadTreeView with a context menu showing different options depending on the node level. However, I need to reset the context menu after ContextMenuOpening because once a menu item is removed from the context menu it doesn't display again.

 

01.void radTreeEmployers_ContextMenuOpening(object sender, Telerik.WinControls.UI.TreeViewContextMenuOpeningEventArgs e){
02.    if (e.Node.Level == 1 || e.Node.Level == 2)
03.    {
04.        for (int i = 0; i <= e.Menu.Items.Count - 1; i++)
05.        {
06.            if (e.Menu.Items[i].Name == "addEmployer")
07.                e.Menu.Items.Remove(e.Menu.Items[i]);
08.        }
09.    }
10.}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Aug 2016
3 answers
101 views

Dear all,
i need really your help for out this issue, i used Theme From Mediacl App sa example of your teleric product For WinForms,
in this case issue on GridCommandCellElement , the issue is a button very small, i can't show my text on button, which DefaultText is "PRINT" the grid GridCommandCell just Show "Pic" only, i don't know hy this happen,
but i am so tired to out his problem, please help me to out this shit problem, thanks.
please see my attachment, i was send a zip include screenshot and the themes too.
Please Fast Response, i need your solving really.

I just rename extension of TapeLibTheme.png, please rename to TapeLibTheme.tssp again

Dimitar
Telerik team
 answered on 01 Aug 2016
1 answer
275 views

I am calling LoadLayout on a RadGridView then using a factory class todynamically gets the properties of an object passed in and determines what properties should be shown. Based on what properties should be shown, the factory adds columns if they don't exist from the LoadLayout or  gets the column if it does exist and configures it. But if a column was created from the LoadLayout and there is no property associated with it anymore, I need to hide or remove the column.

Based on other forum posts, I've tried:

gridView.MasterTemplate.Columns.Remove(name);
gridView.Columns.Remove(name);
 
if (gridView.MasterTemplate.Columns.Contains(name)) // returns false
{
    var col = gridView.MasterTemplate.Columns[name];
    col.VisibleInColumnChooser = false;
    col.IsVisible = false;
}
 
if (gridView.Columns.Contains(name)) // returns false
{
    var col = gridView.Columns[name];
    col.VisibleInColumnChooser = false;
    col.IsVisible = false;
}

If I break after the code above runs, I can see that the column is not longer in the the gridView's column collection, but when its rendered the column is displayed. How do I hide or remove a column immediately after calling LoadLayout?

Dimitar
Telerik team
 answered on 01 Aug 2016
1 answer
128 views
I have Main categories Sales and Return, in this categories I have sub-categories like snacks, tobacco products, vaporizer etc., into each of these sub-categories I have items. I want 3 level drilldown by binding chartview from backend. Please let me know which type of chartview will be suitable for this example and also can you please provide me a small working example covering this scenario.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2016
0 answers
155 views

Dear friends,
I am trying to add run time page in pageview things working well but when I am trying to add windows forum as control it will not show, if I convert it to user control it show in pageview any specific reason behind it?

 CustomerMain customerMain = new CustomerMain(); // this one is windows forum if I change it to user control it work fine 
            customerMain.SelectedCustomerId = CustomerID;
            customerMain.Dock = DockStyle.Fill;
            customerMain.TopLevel = false;
            ((Forms.Test.TestCustomerForum)this.ParentForm).ShowParentTab(customerMain, "[" + customer._Owner + "]", CustomerID);

 

 

 

 public void ShowParentTab(Control form, string title,int customerID)
        {
            RadPageViewPage pageOne = new RadPageViewPage();
            pageOne.Text = title;
            string pageName =  customerID.ToString()+ title.Replace(" ","").Trim();
            pageOne.Name = pageName;
            pageOne.Controls.Add(form);
            radPageViewParent .Pages.Add(pageOne);
            radPageViewParent.SelectedPage = pageOne;
           
           
        }

Shakti SIngh Dulawat
Top achievements
Rank 1
 asked on 29 Jul 2016
4 answers
189 views
Hi,

I have form which TopMost property is true. Now I have added one RADGrid View and assign data into it.

The custom filter dialog is not displayed because my form is TopMost = true.
I think that filter dialog is hidded because my form is always on top !

Regards,
Divyesh Chapaneri
Ronald Bouras
Top achievements
Rank 1
 answered on 29 Jul 2016
2 answers
170 views

Hi,

I am using code based on the project found here: http://www.telerik.com/forums/charts-inside-gridview-cells-problems-during-the-scrolling. It works for the most part, but SetContentCore gets called repeatedly and for whatever reasons. I'd like to manually add rows to the grid and disable the autogeneration of new rows on scrolling. For some reason this behaviour causes bugs on my end like duplicating rows multiple times, although the bindinglist passed to it as datasource doesn't contain duplicates. Note the sample project provided in the reference works just fine, so I couldn't reproduce the error.

BR
Christian
Top achievements
Rank 1
 answered on 28 Jul 2016
7 answers
157 views

Hi,

I am trying to load documents to a radDocument[] array. When executing below code i  get "exception has been thrown by the target of an invocation c#" error.  Kindly Help.

Here is my code:

RadDocument[] Rd_Ary = new RadDocument[2];
            
Rd_Ary[0]=ImportHtml(Convert.ToString("<P>String1</P>"));
Rd_Ary[1] = ImportHtml(Convert.ToString("<P>String2</P>"));

Alternative code:

 Rd_Ary.SetValue(ImportHtml(Convert.ToString("<P>String1</P>")), 0);
 Rd_Ary.SetValue(ImportHtml(Convert.ToString("<P>String2</P>")), 1);

Dimitar
Telerik team
 answered on 27 Jul 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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?