Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one hiddenfield as
<asp:HiddenField ID ="Hdgrd" runat ="server" />

I am not getting what is wrong in this..............
I am getting error Hdgrd is not declared when i am trying to do publish website

This issue I have faced before but it was solved after restarting Visual studio.....but this time even after restarting machine it is not getting solved
Posted
Updated 29-Jan-12 20:30pm
v2
Comments
bbirajdar 30-Jan-12 4:18am    
Your designer.cs is not updated with the entry of this hidden field
mayur csharp G 30-Jan-12 4:58am    
I want solution ...van you please tell how to resolve

1 solution

This happens when you declaration is missing in the designer file.
Refer this
http://www.undermyhat.org/blog/2009/07/tip-regenerate-aspx-designer-cs-files-when-corrupted/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900