This is a migrated thread and some comments may be shown as answers.

[Solved] 'HtmlElementContainer' could not be found

2 Answers 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin Blair
Top achievements
Rank 1
Martin Blair asked on 30 Nov 2009, 11:30 PM

I have a project file that can't buildand it was created automatically.

The type or namespace name 'HtmlElementContainer' could not be found (are you missing a using directive or an assembly reference?) 

    public class GrantMakerPage : HtmlElementContainer  
        {  
            public MSDFGrantMakerPage(Find find) :   
                    base(find)  
            {  
            }  
            /// <summary> 
            /// Find logic   
            /// (Html): [id 'Exact' ui_UserName_txt] AND [tagname 'Exact' input]  
            ///  
            /// </summary> 
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText UiUserNameTxtText  
            {  
                get  
                {  
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText>("id=ui_UserName_txt", "tagname=input");  
                } 

It's a new project and all of the Quick Executes seem to work fine.

It seems like ArtOfTest.WebAii.Controls.HtmlControls. should be Telerik.WebAii.Controls.HtmlControls.

Any Ideas?

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 01 Dec 2009, 12:06 AM
Hello Martin,

Which version of ArtOfTest.WebAii is the project referencing? Please make sure it is 2.0.*, the latest version of the framework being 2.0.5. The DLL should be in the installation folder {installdir}\ArtOfTest\WebAii 2.0\Bin.

All the best,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Martin Blair
Top achievements
Rank 1
answered on 01 Dec 2009, 03:12 PM
Ahhh thank you.

I was looking at the runtime version.
Tags
General Discussions
Asked by
Martin Blair
Top achievements
Rank 1
Answers by
Missing User
Martin Blair
Top achievements
Rank 1
Share this question
or