Telerik Forums
UI for WinForms Forum
3 answers
105 views

Hello,

I have changed the minimum height of the ThumbElement (RadListView.ListViewElement.ViewElement.VScrollBar.ThumbElement.MinSize = New Size(0, 35)) because the button gets too small for me (height) when there are 1000+ items in the box.

This setting of the minimum size works perfectly, but there is one problem:

When scrolling down the slider-button (ThumbElement) all the calculation for the position is done on the "original" size with the result that the slider-button will be drawn over the "down" button. (see attached)

Has anyone a solution to solve this?

Grtz Patrick

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Sep 2018
1 answer
431 views

Hi all,

my windows from looks very different in W7 and W10. This is a sizable tool window, and I use an anchoring for controls there. Is there a way to get the form look and feel more similar in w7 and w10?

Thx

Rostislaw

ps: my problem is a position of the ok button (on the upper boundary in w10 nad "normal" in w7) and the distance between the text (label) and apply button

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Sep 2018
1 answer
963 views
When I set the tab focus in the first panel, the focus is moving vertically inside the same panel, But I need it to move directly to the next panel when I click the tab button.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Sep 2018
1 answer
128 views

I'm usingTelerik.WindControls.UI.RadDropDownButtonElement control for Winforms. When the control renders in a RadRibbonBar I would like to see the button borders appear. What code can have the borders appear when the page is opened by the user because the default is they don't display?

 

Thank you,

Craig...

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Sep 2018
3 answers
555 views

Hello, I have the following code at the bottom which should load data automatically into the RadListView at form load. However, the text is not visible in the RadListView. I can see the exact number of rows being returned from the SQL database into the RadListView. why is the text not visible?

 

Thank you for your help in advance! :)

 

 

private void MemberUC_Load(object sender, EventArgs e)
        {
            //fill main panel
            this.Dock = DockStyle.Fill;
           
            using (SqlConnection con = new SqlConnection(*connection string string goes here*))
            {
                con.Open();
                cmd = new SqlCommand("SELECT FirstName, MiddleName, LastName, MemberType FROM dbo.MemberInformation");
                cmd.Connection = con;
                dr = cmd.ExecuteReader();
                while (dr.Read())
                {
                    ListViewItem item = new ListViewItem();
                    item.SubItems.Add(dr["FirstName"].ToString());
                    item.SubItems.Add(dr["MiddleName"].ToString());
                    item.SubItems.Add(dr["LastName"].ToString());
                    item.SubItems.Add(dr["MemberType"].ToString());
                    memberDetailsLV.Items.Add(item);
                }
            }
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Sep 2018
0 answers
58 views

Is there any maximum number of GridViewColumnGroup that you can assign to a RadGrid? I can add 23 groups (each contain subgroup) but when  I add the 24 group I get :
"An unhandled exception of type 'System.NullReferenceException' occurred in Telerik.WinControls.GridView.dll

Additional information: Object reference not set to an instance of an object."
I use the DLL from 2014. Any advice is helpful. I thank you much for your help and time.
My function is 
[QOUTE][ColumnGroupsViewDefinition view = new ColumnGroupsViewDefinition();

            // Group Header

            view.ColumnGroups.Add(new GridViewColumnGroup(""));
            view.ColumnGroups[0].Rows.Add(new GridViewColumnGroupRow());
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["pk_pr_cip"]);
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["Bifa"]);
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["Cip"]);
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["Program"]);
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["Reper"]);
            view.ColumnGroups[0].Rows[0].Columns.Add(dg_validare_antecalcul.Columns["Denumire Reper"]);
            view.ColumnGroups[0].ShowHeader = false;

            // CSTA

            GridViewColumnGroup oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTA";

            GridViewColumnGroup oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Pret de vanzare unitar";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTA_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTA_cip"]);

            dg_validare_antecalcul.Columns["CSTA_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTA_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // cost complet

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "COST COMPLET";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["cost_complet_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["cost_complet_cip"]);

            dg_validare_antecalcul.Columns["cost_complet_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["cost_complet_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            oGroup.ShowHeader = false;
            view.ColumnGroups.Add(oGroup);

            // CSTB

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTB";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Profit";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTB_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTB_cip"]);

            dg_validare_antecalcul.Columns["CSTB_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTB_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTC

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTC";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. generale de administratie";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTC_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTC_cip"]);

            dg_validare_antecalcul.Columns["CSTC_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTC_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTD

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTD";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Costuri desfacere";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTD_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTD_cip"]);

            dg_validare_antecalcul.Columns["CSTD_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTD_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTE

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTE";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Cost de productie antecalculat-total";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTE_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTE_cip"]);

            dg_validare_antecalcul.Columns["CSTE_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTE_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTF

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTF";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. indirecte af. Diviziei strategice";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTF_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTF_cip"]);

            dg_validare_antecalcul.Columns["CSTF_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTF_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTG

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTG";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. indirecte af. Diviziei conducatoare";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTG_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTG_cip"]);

            dg_validare_antecalcul.Columns["CSTG_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTG_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTH

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTH";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Cost de productie antecalculat-propriu";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTH_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTH_cip"]);

            dg_validare_antecalcul.Columns["CSTH_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTH_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTI

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTI";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. indirecte de sectie";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTI_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTI_cip"]);

            dg_validare_antecalcul.Columns["CSTI_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTI_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTJ

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTJ";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Materiale directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTJ_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTJ_cip"]);

            dg_validare_antecalcul.Columns["CSTJ_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTJ_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTK

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTK";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Nevoi proprii directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTK_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTK_cip"]);

            dg_validare_antecalcul.Columns["CSTK_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTK_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTL

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTL";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Chelt. cu scule";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTL_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTL_cip"]);

            dg_validare_antecalcul.Columns["CSTL_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTL_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTM

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTM";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. transp-aprov.";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTM_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTM_cip"]);

            dg_validare_antecalcul.Columns["CSTM_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTM_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTN

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTN";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Manopera directa";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTN_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTN_cip"]);

            dg_validare_antecalcul.Columns["CSTN_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTN_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTO

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTO";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Indexare manop. directa ramasa";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTO_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTO_cip"]);

            dg_validare_antecalcul.Columns["CSTO_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTO_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTP

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTP";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Ch. salarii colaboratori";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTP_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTP_cip"]);

            dg_validare_antecalcul.Columns["CSTP_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTP_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTQ

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTQ";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "C.A.S. si alte fonduri af.(manop. directe+sporuri)";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTQ_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTQ_cip"]);

            dg_validare_antecalcul.Columns["CSTQ_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTQ_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTR

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTR";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "S.D.V. directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTR_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTR_cip"]);

            dg_validare_antecalcul.Columns["CSTR_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTR_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTS

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTS";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Alte costuri directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTS_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTS_cip"]);

            dg_validare_antecalcul.Columns["CSTS_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTS_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTT

            oGroup = new GridViewColumnGroup();
            oGroup.Text = "CSTT";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Colaborari directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTT_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTT_cip"]);

            dg_validare_antecalcul.Columns["CSTT_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTT_cip"].HeaderText = "CIP";

            oGroup.Groups.Add(oSubGroup);
            view.ColumnGroups.Add(oGroup);

            // CSTU
            //GridViewColumnGroup oGroup1 = new GridViewColumnGroup();
            //oGroup1.Text = "";

            GridViewColumnGroup oGroupU = new GridViewColumnGroup();
            oGroupU.Text = "CSTU";

            oSubGroup = new GridViewColumnGroup();
            oSubGroup.Text = "Utilitati directe";
            oSubGroup.Rows.Add(new GridViewColumnGroupRow());
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTU_unitar"]);
            oSubGroup.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTU_cip"]);

            dg_validare_antecalcul.Columns["CSTU_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTU_cip"].HeaderText = "CIP";

            oGroupU.Groups.Add(oSubGroup);
            //oGroup1.Groups.Add(oGroupU);
            view.ColumnGroups.Add(oGroupU);

            // CSTV

            GridViewColumnGroup oGroupV = new GridViewColumnGroup();
            oGroupV.Text = "CSTV";

            GridViewColumnGroup oSubGroupV = new GridViewColumnGroup();
            oSubGroupV.Text = "Corectii";
            oSubGroupV.Rows.Add(new GridViewColumnGroupRow());
            oSubGroupV.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTV_unitar"]);
            oSubGroupV.Rows[0].Columns.Add(dg_validare_antecalcul.Columns["CSTV_cip"]);

            dg_validare_antecalcul.Columns["CSTV_unitar"].HeaderText = "UNITAR";
            dg_validare_antecalcul.Columns["CSTV_cip"].HeaderText = "CIP";

            oGroupV.Groups.Add(oSubGroupV);
            //oGroup1.Groups.Add(oGroupV);
            //oGroup1.ShowHeader = false;
            //view.ColumnGroups.Add(oGroup1);
            view.ColumnGroups.Add(oGroupV);
            dg_validare_antecalcul.ViewDefinition = view;[/QUOTE]
Comment any of the of the grouping and fill grid works. With all the groups the fill grid gives error at the last line.  In my opinion it is because telerik controls think that there too many groups.

Any help is appreciated and thank you for your time and effort.

Tofan
Top achievements
Rank 1
 asked on 24 Sep 2018
10 answers
195 views
how to display current month all week with custom header using timeline control (attached Image - week.png) (lang - vb.net)
Hristo
Telerik team
 answered on 21 Sep 2018
1 answer
70 views

In description column, the gridlines are displayed in 2 lines in grid's view row default size, I need it to be viewed in a single line.

Please check the attached image.

Thanks in Advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Sep 2018
4 answers
2.6K+ views

Hi,

some time ago I wrote a custom GridEditor using a TextBoxControlElement with AutoComplete = Suggest.

It works fine but now i need to change the auto complete logic using Contains instead of StartsWith.

I know how to do this in a DropDownList or in a DropDownListElement but can't find a way to get this behaviour in a TextBoxControl and don't want to change the TextBoxControlElement with a DropDownListElement hiding the arrow button.

How can I have a 'contains' AutoComplete in a TextBoxControls ?

 

Regards

 

 

Alessio Bulleri
Top achievements
Rank 1
 answered on 21 Sep 2018
2 answers
144 views

Hello

In a hierarchical GridView I always get a expand button even if the entry has no sub entries. How can I hide it when it has no sub entries?

Thank you very much

Marco

Marco
Top achievements
Rank 1
 answered on 21 Sep 2018
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?