Cannot implicitly convert type ‘string’ to ‘System.Web.UI.WebControls.TextBox’ Error

The issue refers to first line of page,<%%>

Issue Cause: In the .aspx, you might have included a control with name equivalent to page properties like Title. and using the Title.Text causes the error Title is considered as reserved word for the page title and you have used this as the id of your control, this conflicts causes the issues.

Solution: Find the control have the ID equivalent to Page properties and change its name, We suggest to add some text like txt, chk, etc.. before the ID to every control to avoid this issue at all.

Leave your comment