Friday, December 23, 2022

HTML Control not found in aspx.cs but it is present in asp page

 If HTML Control with runat= server (not asp.net control), in aspx.cs giving error, => (Control not found) , but control is present in aspx page


Solution:- Change aspx page CodeBehind property to CodeFile.

No comments:

Post a Comment