HEXAQ : A friendly question - answer site for IT professionals

'System.Web.UI.MasterPage' does not contain a definition for 'TrueButton' and no extension method 'TrueButton' accepting a first argument of type 'System.Web.UI.MasterPage' could be found (are you missing a using directive or an assembly reference?)


0

I am facing an error during compile time.

The error message is as following

'System.Web.UI.MasterPage' does not contain a definition for 'TrueButton' and no extension method 'TrueButton' accepting a first argument of type 'System.Web.UI.MasterPage' could be found (are you missing a using directive or an assembly reference?)

This error doesn't let me move forward.

Â
asked
 


≡ Total 1 Answer

0

Are you trying to access any control of your master page?

If you are, make sure you have the control available in your master page.

From your content page, when you try to access method of any server control and if the control doesn't exist or isn't accessible, you will face this kind of error.

HTH

Â
replied


Enter your reply here
Answer Preview: