dba123
asked on
'string' does not contain a definition for 'Controls' and no extension method 'Controls' accepting a first argument of type 'string' could be found
after converting my project in VS 2008, I get an error when trying to add the literal control PageTitle
Error 1 'string' does not contain a definition for 'Controls' and no extension method 'Controls' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)
Error 1 'string' does not contain a definition for 'Controls' and no extension method 'Controls' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)
this.Title.Controls.Add(new LiteralControl(this.PageTitle));
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Checking back to see if you got it to work?