Telerik Forums
UI for WinForms Forum
1 answer
185 views

Hello everybody,

I have a usual radVirtualGrid then never raises the EditorRequired event. So I cannot put DropDownLists into the cells...

Do you have any idea how that can happen? As far as I've read, it should pretty much always raise.

The grid's VirtualGridViewInfo was set to  not editable. But I tried withou all those properties and still doen'st work. The event handles is handling the event, 1x trie by adding it at runtime, 1x in the designer (and explicit code behind the declaration). Sorry, I have no screenshot here...

 

Thank you in advance!

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Oct 2020
7 answers
464 views

I'm currently using version 2018.1.116.40, don't know if this issue was resolved on recent version.

- Add raddropdownList to form(I'm currently adding directly to a user control, inside radpageview, and then to the form) and set it to dropdownlist style

- Set it DisplayMember and ValueMember

- Set a datasource where at least 2 items have the same description.

- Subscribe to SelectedIndexChanged or changing or valueChanged, and on this event show any form with ShowDialog or Focus() on other control.

- Run Project

- Select the second repeated item, wait for dialog or Focus, then check selected item on dropdown, it will always be the first repeated item, if repeat other description like

'TEST1', 'TEST1', 'TEST1', 

'TEST2','TEST2', 'TEST2'

the selected item will be the first 'TEST1' or the first 'TEST2', and it goes on

 

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Oct 2020
1 answer
144 views

Hi !

I've got layout like 1st file.

i want to add a radtextbox or textbox in a "LayaoutControlGroupItem4" like screen 2. this section is an observation zone with multiline text and button to valid.

Set to multiline (screen 3), radtextbox was small. and grow with size

Set Dock to Fill (screen4) but control move outside his zone.

and if i run project and set my form to all of my screen...

Something was strange.

Thanks for your help.

Here my Form2.Designer.cs, no code in form2.cs at this time

001.partial class Form2
002.   {
003.       /// <summary>
004.       /// Required designer variable.
005.       /// </summary>
006.       private System.ComponentModel.IContainer components = null;
007. 
008.       /// <summary>
009.       /// Clean up any resources being used.
010.       /// </summary>
011.       /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
012.       protected override void Dispose(bool disposing)
013.       {
014.           if (disposing && (components != null))
015.           {
016.               components.Dispose();
017.           }
018.           base.Dispose(disposing);
019.       }
020. 
021.       #region Windows Form Designer generated code
022. 
023.       /// <summary>
024.       /// Required method for Designer support - do not modify
025.       /// the contents of this method with the code editor.
026.       /// </summary>
027.       private void InitializeComponent()
028.       {
029.           Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
030.           this.radLayoutControl1 = new Telerik.WinControls.UI.RadLayoutControl();
031.           this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
032.           this.textBox1 = new System.Windows.Forms.TextBox();
033.           this.button1 = new System.Windows.Forms.Button();
034.           this.layoutControlSeparatorItem1 = new Telerik.WinControls.UI.LayoutControlSeparatorItem();
035.           this.layoutControlLabelItem1 = new Telerik.WinControls.UI.LayoutControlLabelItem();
036.           this.layoutControlLabelItem2 = new Telerik.WinControls.UI.LayoutControlLabelItem();
037.           this.layoutControlGroupItem1 = new Telerik.WinControls.UI.LayoutControlGroupItem();
038.           this.layoutControlGroupItem2 = new Telerik.WinControls.UI.LayoutControlGroupItem();
039.           this.layoutControlItem1 = new Telerik.WinControls.UI.LayoutControlItem();
040.           this.layoutControlGroupItem3 = new Telerik.WinControls.UI.LayoutControlGroupItem();
041.           this.layoutControlLabelItem4 = new Telerik.WinControls.UI.LayoutControlLabelItem();
042.           this.layoutControlSplitterItem1 = new Telerik.WinControls.UI.LayoutControlSplitterItem();
043.           this.layoutControlGroupItem4 = new Telerik.WinControls.UI.LayoutControlGroupItem();
044.           this.layoutControlItem2 = new Telerik.WinControls.UI.LayoutControlItem();
045.           this.layoutControlItem3 = new Telerik.WinControls.UI.LayoutControlItem();
046.           this.layoutControlLabelItem3 = new Telerik.WinControls.UI.LayoutControlLabelItem();
047.           this.layoutControlLabelItem5 = new Telerik.WinControls.UI.LayoutControlLabelItem();
048.           ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).BeginInit();
049.           this.radLayoutControl1.SuspendLayout();
050.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
051.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
052.           this.SuspendLayout();
053.           //
054.           // radLayoutControl1
055.           //
056.           this.radLayoutControl1.Controls.Add(this.radGridView1);
057.           this.radLayoutControl1.Controls.Add(this.textBox1);
058.           this.radLayoutControl1.Controls.Add(this.button1);
059.           this.radLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
060.           this.radLayoutControl1.Items.AddRange(new Telerik.WinControls.RadItem[] {
061.           this.layoutControlSeparatorItem1,
062.           this.layoutControlLabelItem1,
063.           this.layoutControlLabelItem2,
064.           this.layoutControlGroupItem1,
065.           this.layoutControlGroupItem2,
066.           this.layoutControlGroupItem3,
067.           this.layoutControlLabelItem4,
068.           this.layoutControlSplitterItem1,
069.           this.layoutControlGroupItem4,
070.           this.layoutControlLabelItem3,
071.           this.layoutControlLabelItem5});
072.           this.radLayoutControl1.Location = new System.Drawing.Point(0, 0);
073.           this.radLayoutControl1.Name = "radLayoutControl1";
074.           this.radLayoutControl1.Size = new System.Drawing.Size(800, 450);
075.           this.radLayoutControl1.TabIndex = 0;
076.           //
077.           // radGridView1
078.           //
079.           this.radGridView1.Location = new System.Drawing.Point(7, 350);
080.           //
081.           //
082.           //
083.           this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
084.           this.radGridView1.Name = "radGridView1";
085.           this.radGridView1.Size = new System.Drawing.Size(403, 93);
086.           this.radGridView1.TabIndex = 3;
087.           //
088.           // textBox1
089.           //
090.           this.textBox1.Location = new System.Drawing.Point(428, 258);
091.           this.textBox1.Multiline = true;
092.           this.textBox1.Name = "textBox1";
093.           this.textBox1.Size = new System.Drawing.Size(365, 142);
094.           this.textBox1.TabIndex = 4;
095.           //
096.           // button1
097.           //
098.           this.button1.Location = new System.Drawing.Point(428, 412);
099.           this.button1.Name = "button1";
100.           this.button1.Size = new System.Drawing.Size(365, 27);
101.           this.button1.TabIndex = 5;
102.           this.button1.Text = "button1";
103.           this.button1.UseVisualStyleBackColor = true;
104.           //
105.           // layoutControlSeparatorItem1
106.           //
107.           this.layoutControlSeparatorItem1.Bounds = new System.Drawing.Rectangle(421, 446, 379, 4);
108.           this.layoutControlSeparatorItem1.Name = "layoutControlSeparatorItem1";
109.           //
110.           // layoutControlLabelItem1
111.           //
112.           this.layoutControlLabelItem1.Bounds = new System.Drawing.Rectangle(594, 26, 206, 200);
113.           this.layoutControlLabelItem1.DrawText = false;
114.           this.layoutControlLabelItem1.Name = "layoutControlLabelItem1";
115.           //
116.           // layoutControlLabelItem2
117.           //
118.           this.layoutControlLabelItem2.Bounds = new System.Drawing.Rectangle(0, 26, 209, 85);
119.           this.layoutControlLabelItem2.DrawText = false;
120.           this.layoutControlLabelItem2.Name = "layoutControlLabelItem2";
121.           //
122.           // layoutControlGroupItem1
123.           //
124.           this.layoutControlGroupItem1.Bounds = new System.Drawing.Rectangle(0, 0, 800, 26);
125.           this.layoutControlGroupItem1.Name = "layoutControlGroupItem1";
126.           this.layoutControlGroupItem1.Text = "layoutControlGroupItem1";
127.           //
128.           // layoutControlGroupItem2
129.           //
130.           this.layoutControlGroupItem2.Bounds = new System.Drawing.Rectangle(0, 323, 417, 127);
131.           this.layoutControlGroupItem2.Items.AddRange(new Telerik.WinControls.RadItem[] {
132.           this.layoutControlItem1});
133.           this.layoutControlGroupItem2.Name = "layoutControlGroupItem2";
134.           this.layoutControlGroupItem2.Text = "layoutControlGroupItem2";
135.           //
136.           // layoutControlItem1
137.           //
138.           this.layoutControlItem1.AssociatedControl = this.radGridView1;
139.           this.layoutControlItem1.Bounds = new System.Drawing.Rectangle(0, 0, 409, 99);
140.           this.layoutControlItem1.Name = "layoutControlItem1";
141.           this.layoutControlItem1.Text = "layoutControlItem1";
142.           //
143.           // layoutControlGroupItem3
144.           //
145.           this.layoutControlGroupItem3.Bounds = new System.Drawing.Rectangle(0, 196, 417, 127);
146.           this.layoutControlGroupItem3.Name = "layoutControlGroupItem3";
147.           this.layoutControlGroupItem3.Text = "layoutControlGroupItem3";
148.           //
149.           // layoutControlLabelItem4
150.           //
151.           this.layoutControlLabelItem4.Bounds = new System.Drawing.Rectangle(209, 26, 208, 170);
152.           this.layoutControlLabelItem4.DrawText = false;
153.           this.layoutControlLabelItem4.Name = "layoutControlLabelItem4";
154.           //
155.           // layoutControlSplitterItem1
156.           //
157.           this.layoutControlSplitterItem1.Bounds = new System.Drawing.Rectangle(417, 26, 4, 424);
158.           this.layoutControlSplitterItem1.Name = "layoutControlSplitterItem1";
159.           //
160.           // layoutControlGroupItem4
161.           //
162.           this.layoutControlGroupItem4.Bounds = new System.Drawing.Rectangle(421, 226, 379, 220);
163.           this.layoutControlGroupItem4.Items.AddRange(new Telerik.WinControls.RadItem[] {
164.           this.layoutControlItem2,
165.           this.layoutControlItem3});
166.           this.layoutControlGroupItem4.Name = "layoutControlGroupItem4";
167.           this.layoutControlGroupItem4.Text = "layoutControlGroupItem4";
168.           //
169.           // layoutControlItem2
170.           //
171.           this.layoutControlItem2.AssociatedControl = this.textBox1;
172.           this.layoutControlItem2.Bounds = new System.Drawing.Rectangle(0, 0, 371, 159);
173.           this.layoutControlItem2.ControlVerticalAlignment = Telerik.WinControls.UI.RadVerticalAlignment.Center;
174.           this.layoutControlItem2.Name = "layoutControlItem2";
175.           this.layoutControlItem2.Text = "layoutControlItem2";
176.           //
177.           // layoutControlItem3
178.           //
179.           this.layoutControlItem3.AssociatedControl = this.button1;
180.           this.layoutControlItem3.Bounds = new System.Drawing.Rectangle(0, 159, 371, 33);
181.           this.layoutControlItem3.Name = "layoutControlItem3";
182.           this.layoutControlItem3.Text = "layoutControlItem3";
183.           //
184.           // layoutControlLabelItem3
185.           //
186.           this.layoutControlLabelItem3.Bounds = new System.Drawing.Rectangle(421, 26, 173, 200);
187.           this.layoutControlLabelItem3.DrawText = false;
188.           this.layoutControlLabelItem3.Name = "layoutControlLabelItem3";
189.           //
190.           // layoutControlLabelItem5
191.           //
192.           this.layoutControlLabelItem5.Bounds = new System.Drawing.Rectangle(0, 111, 209, 85);
193.           this.layoutControlLabelItem5.DrawText = false;
194.           this.layoutControlLabelItem5.Name = "layoutControlLabelItem5";
195.           //
196.           // Form2
197.           //
198.           this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
199.           this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
200.           this.ClientSize = new System.Drawing.Size(800, 450);
201.           this.Controls.Add(this.radLayoutControl1);
202.           this.Name = "Form2";
203.           this.Text = "Form2";
204.           ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).EndInit();
205.           this.radLayoutControl1.ResumeLayout(false);
206.           this.radLayoutControl1.PerformLayout();
207.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
208.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
209.           this.ResumeLayout(false);
210. 
211.       }
212. 
213.       #endregion
214. 
215.       private Telerik.WinControls.UI.RadLayoutControl radLayoutControl1;
216.       private Telerik.WinControls.UI.LayoutControlSeparatorItem layoutControlSeparatorItem1;
217.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem1;
218.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem2;
219.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem1;
220.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem2;
221.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem3;
222.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem4;
223.       private Telerik.WinControls.UI.LayoutControlSplitterItem layoutControlSplitterItem1;
224.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem4;
225.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem3;
226.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem5;
227.       private Telerik.WinControls.UI.RadGridView radGridView1;
228.       private System.Windows.Forms.TextBox textBox1;
229.       private System.Windows.Forms.Button button1;
230.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem1;
231.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem2;
232.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem3;
233.   }

 

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Oct 2020
2 answers
144 views

Hey,

I was having an issue where if the dropDownList is open when you start typing in the input box, the suggestion list appears on top of the dropDownList, rather than replacing it.

Was able to reproduce in the demo application - attaching gif showing the behaviour.

Any suggestions on how to avoid this, other than going with other autocomplete mode?

 

Autocomplete mode is Suggest,

Telerik version is 2020.3.915.40

Marija
Top achievements
Rank 1
 answered on 19 Oct 2020
6 answers
574 views

Hello all.. 

how to populate the summary sum in summary row to textbox ... when summaryrow visible is false .. 

I have wrote this code ... 

    Public Sub New()

        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

        Dim summaryItem As New GridViewSummaryItem()
        summaryItem.Name = "Nilai"
        summaryItem.Aggregate = GridAggregateFunction.Sum
        Dim summaryRowItem As New GridViewSummaryRowItem()
        summaryRowItem.Add(summaryItem)
        Me.GridDetail.SummaryRowsBottom.Add(summaryRowItem)
        Me.GridDetail.MasterView.SummaryRows(0).IsVisible = False
    End Sub

    Private Sub GridDetail_SummaryEvaluate(sender As Object, e As GroupSummaryEvaluationEventArgs) Handles GridDetail.GroupSummaryEvaluate
        TxtTotal.Value = e.Value
    End Sub

this code is working fine ... to deliver the value from summary row to textbox  if visible of summaryrow = true 

how make the value from summary row to textbox when visible is false 

Hengky
Top achievements
Rank 1
Veteran
 answered on 19 Oct 2020
1 answer
788 views

I downloaded the current for your App and was trying to install. My system has Visual Studio 2015, 2017 and 2019 installed but when i check for the Visual Studio integration i do not get the option for 2019 as it is grey out. What causes this ? Is there a fix for it or how can i manually install the 2019 extensions ?

I enclosed 2 screenshots which show the Visual Studio Version as well as the Install option for your Telerik UI for WinForms

 

Nikolay Mishev
Telerik team
 answered on 16 Oct 2020
6 answers
926 views

I am applying a consistent theme to my app by doing this ThemeResolutionService.ApplicationThemeName = "Office2013Light";

But, since that happens at run time, my designer still shows a different theme. How can I change the default theme that's being used?

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Oct 2020
6 answers
169 views

Hello,

 I'm using a PivotGrid with nodes from a database. I want to hide some of the fields of the fieldControl and I use this code:

Private Sub RadPivotFieldList1_NodeFormatting(ByVal sender As Object, ByVal e As TreeNodeFormattingEventArgs)
        If e.Node.Text = "IdAnalisis" Then
            e.Node.Visible = False
        End If

The problem is that when it shows the dialog, the IdAnalisis node is still there and when I press the FieldsControl window, then it disappears. I tried to use refresh and invalidate in different parts of the code, but always the same problem. Any solution?

Thank you,

Eduard

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Oct 2020
2 answers
213 views
     I'm using radwebcam.  I am calling the takesnapshot routine to take a snapshot after i've started the cam.  When I call the Takesnapshot routine the SnapshotTaken does not fire.  I cannot save the snapshots because of this.  Please help. 
Mike
Top achievements
Rank 1
 answered on 15 Oct 2020
1 answer
252 views

Hello team,

How to set select/focus borderline in the RadDropDownList?

for example,
 if I press the tab button to focus on the RadButton that I can know the button is focused, but there is no focus borderline in the RadDropDownList. I have attached the image.

Kindly, check and share the fix details for set the focus borderline in RadDropDownList. 

Notes: I'm using C# code.

Thanks.

Nadya | Tech Support Engineer
Telerik team
 answered on 14 Oct 2020
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
CollapsiblePanel
TextBoxControl
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
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?