toolWindow.Size = new Size(400, 300); toolWindow.Top = Location.Y; toolWindow.Left = Location.X; toolWindow.DockState = Telerik.WinControls.UI.Docking.DockState.Floating;
Also tried these...
//toolWindow.TabStrip.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute; //toolWindow.TabStrip.SizeInfo.AbsoluteSize = new Size(150, 0); and //if (toolWindow.DockingSite.HostFrom != null) //{ // toolWindow.DockingSite.HostForm.Size = new Size(300, 300); //}
But none of these appeared to work...ideas? Thx...
When I’m entering into the cell, the first value in the datatable is appearing in the grid automatically and it is not updating that value.
Please check the cod below
public Form1() { InitializeComponent(); this.radGridView1.Rows.AddNew(); } void SetItems() { DataTable logicalOps = new DataTable(); logicalOps.Columns.Add("Col1"); logicalOps.Columns.Add("Col2"); logicalOps.Rows.Add("=", "Equal to"); logicalOps.Rows.Add("<>", "Not equal to"); logicalOps.Rows.Add(">", "Greater than"); logicalOps.Rows.Add(">=", "Greater than equal to"); logicalOps.Rows.Add("<", "Less than"); logicalOps.Rows.Add("<=", "Less than equal to"); logicalOps.Rows.Add("START", "Start With"); logicalOps.Rows.Add("END", "End With"); logicalOps.Rows.Add("CONTAINS", "Contains"); logicalOps.Rows.Add("IS NULL", "IS NULL"); GridViewComboBoxColumn ctrl = (this.radGridView1.Columns[0] as GridViewComboBoxColumn); ctrl.FieldName = "Col2"; ctrl.DataSource = logicalOps; ctrl.DisplayMember = "Col2"; ctrl.ValueMember = "Col1"; }
Hello!
I wanted to customize a listcontrol, so the items are shown horizontally side by side, without a scrollbarthumb and the scrollbuttons on the left/right side of the items.
I already customized the element with the ElementDesigner (removed the ScrollbarThumb and set the orientation of RadListElement/StackContainer to horizontal). But at runtime there is no difference (whole Scrollbar available and orientation vertical)
Maybe someone can tell me how to accomplish this. Maybe there is another control/way to realize this.
Thanks for any help!
Regards
Juergen