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

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?
