Hi,
i'm using Visual Studio 2008 with SP1 and Telerik Controls fro WinForms Q3 2008 SP2 and i have problems with the Element Hierarchy editor on a form: on every RADControl i chose to 'Edit UI elements' the Editor window appears, but when i move from root node to another node the window disappear and Visual Studio starts to show the message in object (RootRadElement cannot be converted to type 'System.Windows.Forms.Control') and i must restart the IDE. Any suggestion to resolve this problem? i cannot work in this manner....
This is the .Designer.cs files generated from VS
Thanks for any suggestions
Francesco
i'm using Visual Studio 2008 with SP1 and Telerik Controls fro WinForms Q3 2008 SP2 and i have problems with the Element Hierarchy editor on a form: on every RADControl i chose to 'Edit UI elements' the Editor window appears, but when i move from root node to another node the window disappear and Visual Studio starts to show the message in object (RootRadElement cannot be converted to type 'System.Windows.Forms.Control') and i must restart the IDE. Any suggestion to resolve this problem? i cannot work in this manner....
This is the .Designer.cs files generated from VS
partial class frmGenerazioneEsplosi { | |
/// <summary> | |
/// Required designer variable. | |
/// </summary> | |
private System.ComponentModel.IContainer components = null; | |
/// <summary> | |
/// Clean up any resources being used. | |
/// </summary> | |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
protected override void Dispose(bool disposing) { | |
if (disposing && (components != null)) { | |
components.Dispose(); | |
} | |
base.Dispose(disposing); | |
} | |
#region Windows Form Designer generated code | |
/// <summary> | |
/// Required method for Designer support - do not modify | |
/// the contents of this method with the code editor. | |
/// </summary> | |
private void InitializeComponent() { | |
this.components = new System.ComponentModel.Container(); | |
this.rgvEsplosi = new Telerik.WinControls.UI.RadGridView(); | |
this.rlbRicambi = new Telerik.WinControls.UI.RadListBox(); | |
this.telerikTheme1 = new Telerik.WinControls.Themes.TelerikTheme(); | |
this.rtsGenerazioneEsplosi = new Telerik.WinControls.UI.RadToolStrip(); | |
this.radToolStripElement1 = new Telerik.WinControls.UI.RadToolStripElement(); | |
this.radToolStripItem1 = new Telerik.WinControls.UI.RadToolStripItem(); | |
this.cmdDelete = new Telerik.WinControls.UI.RadImageButtonElement(); | |
this.cmdLock = new Telerik.WinControls.UI.RadImageButtonElement(); | |
this.cmdUnlock = new Telerik.WinControls.UI.RadImageButtonElement(); | |
this.rcmRicambi = new Telerik.WinControls.UI.RadContextMenu(); | |
this.rmiAssociaRicambio = new Telerik.WinControls.UI.RadMenuItem(); | |
this.radContextMenuManager1 = new Telerik.WinControls.UI.RadContextMenuManager(); | |
this.tabapprBindingSource = new System.Windows.Forms.BindingSource(this.components); | |
this.dsBus = new RicambiDotNet.dsBus(); | |
this.tabapprTableAdapter = new RicambiDotNet.dsBusTableAdapters.tabapprTableAdapter(); | |
((System.ComponentModel.ISupportInitialize)(this.rgvEsplosi)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rgvEsplosi.MasterGridViewTemplate)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rlbRicambi)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rtsGenerazioneEsplosi)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.tabapprBindingSource)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.dsBus)).BeginInit(); | |
this.SuspendLayout(); | |
// | |
// rgvEsplosi | |
// | |
this.rgvEsplosi.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | |
| System.Windows.Forms.AnchorStyles.Left) | |
| System.Windows.Forms.AnchorStyles.Right))); | |
this.rgvEsplosi.AutoScroll = true; | |
this.rgvEsplosi.BackColor = System.Drawing.SystemColors.Control; | |
this.rgvEsplosi.Cursor = System.Windows.Forms.Cursors.Arrow; | |
this.rgvEsplosi.EnableAlternatingRowColor = true; | |
this.rgvEsplosi.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); | |
this.rgvEsplosi.ForeColor = System.Drawing.SystemColors.ControlText; | |
this.rgvEsplosi.ImeMode = System.Windows.Forms.ImeMode.NoControl; | |
this.rgvEsplosi.Location = new System.Drawing.Point(12, 38); | |
// | |
// | |
// | |
this.rgvEsplosi.MasterGridViewTemplate.AllowAddNewRow = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AllowCellContextMenu = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AllowColumnChooser = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AllowColumnHeaderContextMenu = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AllowColumnReorder = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AllowDragToGroup = false; | |
this.rgvEsplosi.MasterGridViewTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; | |
this.rgvEsplosi.MasterGridViewTemplate.EnableFiltering = true; | |
this.rgvEsplosi.MasterGridViewTemplate.EnableGrouping = false; | |
this.rgvEsplosi.MultiSelect = true; | |
this.rgvEsplosi.Name = "rgvEsplosi"; | |
this.rgvEsplosi.ReadOnly = true; | |
this.rgvEsplosi.RightToLeft = System.Windows.Forms.RightToLeft.No; | |
this.rgvEsplosi.ShowGroupPanel = false; | |
this.rgvEsplosi.Size = new System.Drawing.Size(552, 363); | |
this.rgvEsplosi.TabIndex = 0; | |
this.rgvEsplosi.Text = "radGridViewPreview"; | |
this.rgvEsplosi.ThemeName = "Telerik"; | |
this.rgvEsplosi.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.rgvEsplosi_CellFormatting); | |
this.rgvEsplosi.SelectionChanged += new System.EventHandler(this.rgvEsplosi_SelectionChanged); | |
((Telerik.WinControls.UI.GridTableElement)(this.rgvEsplosi.GetChildAt(0))).Text = "No Data to display"; | |
((Telerik.WinControls.UI.GridTableElement)(this.rgvEsplosi.GetChildAt(0))).TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; | |
// | |
// rlbRicambi | |
// | |
this.rlbRicambi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | |
| System.Windows.Forms.AnchorStyles.Right))); | |
this.rlbRicambi.Location = new System.Drawing.Point(570, 62); | |
this.rlbRicambi.Name = "rlbRicambi"; | |
this.rlbRicambi.Size = new System.Drawing.Size(181, 231); | |
this.rlbRicambi.TabIndex = 1; | |
this.rlbRicambi.ThemeName = "Telerik"; | |
// | |
// rtsGenerazioneEsplosi | |
// | |
this.rtsGenerazioneEsplosi.AllowDragging = false; | |
this.rtsGenerazioneEsplosi.AllowFloating = false; | |
this.rtsGenerazioneEsplosi.Dock = System.Windows.Forms.DockStyle.Top; | |
this.rtsGenerazioneEsplosi.Items.AddRange(new Telerik.WinControls.RadItem[] { | |
this.radToolStripElement1}); | |
this.rtsGenerazioneEsplosi.Location = new System.Drawing.Point(0, 0); | |
this.rtsGenerazioneEsplosi.MinimumSize = new System.Drawing.Size(5, 5); | |
this.rtsGenerazioneEsplosi.Name = "rtsGenerazioneEsplosi"; | |
this.rtsGenerazioneEsplosi.Orientation = System.Windows.Forms.Orientation.Horizontal; | |
// | |
// | |
// | |
this.rtsGenerazioneEsplosi.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren; | |
this.rtsGenerazioneEsplosi.RootElement.MinSize = new System.Drawing.Size(5, 5); | |
this.rtsGenerazioneEsplosi.ShowOverFlowButton = false; | |
this.rtsGenerazioneEsplosi.Size = new System.Drawing.Size(756, 26); | |
this.rtsGenerazioneEsplosi.TabIndex = 3; | |
this.rtsGenerazioneEsplosi.Text = "radToolStrip1"; | |
this.rtsGenerazioneEsplosi.ThemeName = "Telerik"; | |
((Telerik.WinControls.Layouts.StripLayoutPanel)(this.rtsGenerazioneEsplosi.GetChildAt(0).GetChildAt(1))).ShouldPaint = true; | |
// | |
// radToolStripElement1 | |
// | |
this.radToolStripElement1.Items.AddRange(new Telerik.WinControls.RadItem[] { | |
this.radToolStripItem1}); | |
this.radToolStripElement1.Margin = new System.Windows.Forms.Padding(0, 1, 0, 0); | |
this.radToolStripElement1.MinSize = new System.Drawing.Size(0, 21); | |
this.radToolStripElement1.Name = "radToolStripElement1"; | |
this.radToolStripElement1.Text = "radToolStripElement1"; | |
// | |
// radToolStripItem1 | |
// | |
this.radToolStripItem1.Class = "ToolStripItem"; | |
this.radToolStripItem1.Items.AddRange(new Telerik.WinControls.RadItem[] { | |
this.cmdDelete, | |
this.cmdLock, | |
this.cmdUnlock}); | |
this.radToolStripItem1.Key = "0"; | |
this.radToolStripItem1.MinSize = new System.Drawing.Size(25, 21); | |
this.radToolStripItem1.Name = "radToolStripItem1"; | |
this.radToolStripItem1.Text = "radToolStripItem1"; | |
// | |
// cmdDelete | |
// | |
this.cmdDelete.Alignment = System.Drawing.ContentAlignment.MiddleLeft; | |
this.cmdDelete.CanFocus = true; | |
this.cmdDelete.Image = global::RicambiDotNet.Properties.Resources.imgDelete; | |
this.cmdDelete.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter; | |
this.cmdDelete.Name = "cmdDelete"; | |
this.cmdDelete.Text = "radImageButtonElement3"; | |
this.cmdDelete.ToolTipText = "Elimina esploso"; | |
// | |
// cmdLock | |
// | |
this.cmdLock.Alignment = System.Drawing.ContentAlignment.MiddleLeft; | |
this.cmdLock.CanFocus = true; | |
this.cmdLock.Image = global::RicambiDotNet.Properties.Resources.imgLock; | |
this.cmdLock.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter; | |
this.cmdLock.Name = "cmdLock"; | |
this.cmdLock.Text = "radImageButtonElement1"; | |
// | |
// cmdUnlock | |
// | |
this.cmdUnlock.Alignment = System.Drawing.ContentAlignment.MiddleLeft; | |
this.cmdUnlock.CanFocus = true; | |
this.cmdUnlock.Image = global::RicambiDotNet.Properties.Resources.imgUnlock; | |
this.cmdUnlock.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter; | |
this.cmdUnlock.Name = "cmdUnlock"; | |
this.cmdUnlock.Text = "radImageButtonElement1"; | |
// | |
// rcmRicambi | |
// | |
this.rcmRicambi.Items.AddRange(new Telerik.WinControls.RadItem[] { | |
this.rmiAssociaRicambio}); | |
// | |
// rmiAssociaRicambio | |
// | |
this.rmiAssociaRicambio.Name = "rmiAssociaRicambio"; | |
this.rmiAssociaRicambio.Text = "Associa ricambio"; | |
// | |
// tabapprBindingSource | |
// | |
this.tabapprBindingSource.DataMember = "tabappr"; | |
this.tabapprBindingSource.DataSource = this.dsBus; | |
// | |
// dsBus | |
// | |
this.dsBus.DataSetName = "dsBus"; | |
this.dsBus.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | |
// | |
// tabapprTableAdapter | |
// | |
this.tabapprTableAdapter.ClearBeforeFill = true; | |
// | |
// frmGenerazioneEsplosi | |
// | |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
this.ClientSize = new System.Drawing.Size(756, 427); | |
this.Controls.Add(this.rtsGenerazioneEsplosi); | |
this.Controls.Add(this.rlbRicambi); | |
this.Controls.Add(this.rgvEsplosi); | |
this.MaximizeBox = false; | |
this.MinimizeBox = false; | |
this.Name = "frmGenerazioneEsplosi"; | |
this.Text = "frmWizardGenerazioneEsplosi"; | |
this.Load += new System.EventHandler(this.frmGenerazioneEsplosi_Load); | |
((System.ComponentModel.ISupportInitialize)(this.rgvEsplosi.MasterGridViewTemplate)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rgvEsplosi)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rlbRicambi)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.rtsGenerazioneEsplosi)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.tabapprBindingSource)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.dsBus)).EndInit(); | |
this.ResumeLayout(false); | |
this.PerformLayout(); | |
} | |
#endregion | |
private Telerik.WinControls.UI.RadGridView rgvEsplosi; | |
private dsBus dsBus; | |
private System.Windows.Forms.BindingSource tabapprBindingSource; | |
private RicambiDotNet.dsBusTableAdapters.tabapprTableAdapter tabapprTableAdapter; | |
private Telerik.WinControls.UI.RadListBox rlbRicambi; | |
private Telerik.WinControls.Themes.TelerikTheme telerikTheme1; | |
private Telerik.WinControls.UI.RadToolStrip rtsGenerazioneEsplosi; | |
private Telerik.WinControls.UI.RadToolStripElement radToolStripElement1; | |
private Telerik.WinControls.UI.RadToolStripItem radToolStripItem1; | |
private Telerik.WinControls.UI.RadImageButtonElement cmdDelete; | |
private Telerik.WinControls.UI.RadImageButtonElement cmdLock; | |
private Telerik.WinControls.UI.RadImageButtonElement cmdUnlock; | |
private Telerik.WinControls.UI.RadContextMenu rcmRicambi; | |
private Telerik.WinControls.UI.RadContextMenuManager radContextMenuManager1; | |
private Telerik.WinControls.UI.RadMenuItem rmiAssociaRicambio; | |
} |
Thanks for any suggestions
Francesco