Hello,
I have standard control drag and drop in my app, so I have .net DragEnter, DragDrop, DragOver, etc. handlers for the RadGridView in my form. Of course, grid doesn't react properly on mouse activity over it. In my DragOver handler I want to set row under the cursor to hovered state. I found GridTableElement.HoveredRow property, but it is internal. Is there a way to programmatically make grid to set a row into howered state?
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...