Hi,
I keep getting the Error Cannnot convert type 'object' to 'System.Drawing.Image' on the line
element.Image = global::TelerikEditor.Properties.Resources.ResourceManager.GetObject(currCountry)
How would I change this?
I keep getting the Error Cannnot convert type 'object' to 'System.Drawing.Image' on the line
element.Image = global::TelerikEditor.Properties.Resources.ResourceManager.GetObject(currCountry)
How would I change this?
private void LoadFlags( Telerik.WinControls.UI.RadDropDownList myDLL, Array Cntrys){ myDLL.Items.Clear(); foreach (string currCountry in Cntrys) { RadListDataItem element = new RadListDataItem(); element.Text = currCountry; element.Image = global::TelerikEditor.Properties.Resources.ResourceManager.GetObject(currCountry); element.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; myDLL.Items.Add(element); }}