or
| lblLoading.AutoSize = false; |
| lblLoading.Text = _loadingText; |
| lblLoading.AutoSize = true; |
| frmLoading loadingForm = new frmLoading(); |
| loadingForm.LoadingText = "Validating License..."; |
| loadingForm.Show(); |
RadComboBox box = new RadComboBox(); box.ValueMember = "Code"; box.DisplayMember = "Name"; box.DataSource = [StronglyTypedCountryDataTable] // this table contains columns code, name box.SelectedValue = "Au";RadDropDownList list = new RadDropDownList();list.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;Country country = Country.Get();list.ValueMember = "Code";list.DisplayMember = "Name";foreach (CountryBe.CountryRow row in country.BusinessEntity.Country){ list.Items.Add(new RadListDataItem(row.Name,row.Code)); }list.SelectedValue = "Au";Anwering "yes" adds these records in the file:
<assemblyIdentity name="TelerikCommon" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>When attemting to run I get the following error:
Could not load type Telerik.WinControls.Primitives.RectanglePrimitive from assembly Telerik.WinControls, Version=2011.1.11.315, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
Then I get "No source available, no symbols are loaded for any call stack fram, the source code can not be shown". Frustrating...
I have tried removing and adding all the references to Telerik dll's, but I still get the error. Any help is appreciated!