Telerik Forums
UI for WinForms Forum
4 answers
603 views
Is it possible to create a third column in a PropertyGrid?  For example:  PropertyName - PropertyValue - Units of Measure  (ie: "Starting Length" - "1000" - "meters" or "Base Pressure" - "22" - "psi")

I'm guessing that I might need to create a custom PropertyGrid control that descends from RadPropertyGrid with the third column, and then maybe a custom PropertyStoreItem that includes a field for the third column value (in this case the units of measure).  And then somehow bind it all together.

I am new to Telerik, and do not have any experience with your Telerik Presentation Framework.

Thank you.
Guillaume
Top achievements
Rank 1
 answered on 03 Aug 2016
1 answer
264 views
I have a Access database (accdb file), one of its columns contains files with the image in attachment field. When i use this database as Data Source for RadGridView i see only the name of the attached file ("1.jpg", "2.jpg" etc), not the images. How can I see my images on RadGridView without editing database.
Ralitsa
Telerik team
 answered on 03 Aug 2016
15 answers
507 views
Hello,
I'm new to winforms, I've used silverlight a lot in last 2 years... I was wondering why a simple thing I do in SL it seems to me so complicated here. ..

I got a class defined as

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));
          }
      }
  }

And a
Telerik.WinControls.Data.ObservableCollection<RapportoItem> result = ...

that's bound to the RadGridView using
radGridView1.DataSource= result;

Why when I update the Thread element it's not refreshed in the grid?
Thanks

Paolo
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2016
2 answers
287 views

 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

Dimitar
Telerik team
 answered on 02 Aug 2016
3 answers
121 views
I have two radDropDownLists.  The contents of the second list change based on the item selected in the first list.  When an item is selected in the first list, select the down arrow for the second list, and you see list2 for the item selected in list1.  Select another item in list1, and the program changes the items in list2.  When you select the down arrow for list2, you see the previous list items flash before the list is updated with list items that correspond to the selection in list1.  You can see this demonstrated in Telerik's Demo Application - UI for WinForms.  Select DropDown & List and then select First Look.  In this example, you select an artist in list1 and the artist's albums are listed in list2.  Select artist1 and see artist1's albums in list2.  Select artist2 and briefly see artist1's albums flash in list2 and then see artist2's albums.  Is there a way to get the list to update before it is displayed so there is not flashing of the previous list?
Dimitar
Telerik team
 answered on 02 Aug 2016
18 answers
772 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
391 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
158 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
83 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
247 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
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
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
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?