c# - The name Repeater1 does not exist in the current content -
c# - The name Repeater1 does not exist in the current content -
im using masterpage on asp.net c# website. (and created aspx page related master page, hand, not automatically)
i set repeater command page.
then couldn't reach command name in codebehind.
the compiling error : 'the name repeater1 not exist in current content'
can please point out mistake?
sometimes designers out of sync aspx pages. when such thing occurs, code behind files become unable access controls have added aspx pages , you'll errors 1 received.
you can around error regenerating designer file, said project -> convert web application 1 way it.
one lastly thing, not sure version of vs you're using, or if help, there hotfix released vs2010 supposed take care of occurrences of problem.
http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx
c# asp.net master-pages
Comments
Post a Comment