

public class RapportoItem : INotifyPropertyChanged { private int _Thread; public int Thread { get { return _Thread; } set { _Thread = value; NotifyPropertyChanged("Thread"); } } public int RetryCount { get; set; } public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged(String info) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(info)); } } }Telerik.WinControls.Data.ObservableCollection<RapportoItem> result = ...radGridView1.DataSource= result;
How to not Export specified columns for each parent row child rows when exporting to excel in telerik radgridview ui winf
I a have hierarchical telerik radgridview in winform. in this radgridview master template i have a rows that each row has child rows that are null in some columns for all child rows of that parent row and not for others.
I wrote a code that only let one parent row to be expanded and when expanding that parent row show only the columns that has value at least in one child row and hide columns that its child rows are all null for that parent row with radGridView1_ChildViewExpanded event handler.
My problem is when i want to export this hierarchical telerik radgridview to excel file. what should i do in exporting to achieve to what i described, means exports only the columns that have at least one value in its child rows and not export others for each parent row.
tnx


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

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...

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.}