This question is locked. New answers and comments are not allowed.
My test class is failing compilation on this line of code, which comes straight from the Webaii samples:
The error message is as follows:
Error 1 The type 'Telerik.Web.UI.RadMaskedTextBox' cannot be used as type parameter 'TControl' in the generic type or method 'ArtOfTest.WebAii.Core.Find.ById<TControl>(string)'. There is no implicit reference conversion from 'Telerik.Web.UI.RadMaskedTextBox' to 'ArtOfTest.WebAii.Controls.Control'. C:\DotNet\com\fetterlogic\Platform\Standards\Trunk\ApplicationCodingStandards\ApplicationCodingStandards\UnitTests\DatePickerTests.cs 46 39 ApplicationCodingStandards_Web
Does anybody have any idea why this might be failing?
Thanks!
David
RadMaskedTextBox
dateBox = myManager.ActiveBrowser.Find.ById<RadMaskedTextBox>("DatePicker1");
The error message is as follows:
Error 1 The type 'Telerik.Web.UI.RadMaskedTextBox' cannot be used as type parameter 'TControl' in the generic type or method 'ArtOfTest.WebAii.Core.Find.ById<TControl>(string)'. There is no implicit reference conversion from 'Telerik.Web.UI.RadMaskedTextBox' to 'ArtOfTest.WebAii.Controls.Control'. C:\DotNet\com\fetterlogic\Platform\Standards\Trunk\ApplicationCodingStandards\ApplicationCodingStandards\UnitTests\DatePickerTests.cs 46 39 ApplicationCodingStandards_Web
Does anybody have any idea why this might be failing?
Thanks!
David