Telerik Forums
UI for WinForms Forum
3 answers
129 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
801 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
400 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
165 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
93 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
255 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
116 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
142 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
176 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
153 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
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?