The source of this confusion for the designer was, that the classnames was different from the filename, wich caused the designer at one point to delete classnames in designerfiles!
Was a little bit strange, because the designer did not write them again, it caused another error, that there must be a description before { so until i noticed that my colluege was creating the pages with copy paste and dont updated all classnames in codebehind
and so on.
Conclusion, programmer's are always the source of error :)
I mark the answer from Kris again, because creating the pages new will solve the problem! Thank you again...
@Admin: please move this thread to the appropriate webusercontrol section, because i messed it up a little bit...
Member
1 Points
4 Posts
Web-Usercontrol not recognized anymore
Dec 04, 2014 08:50 AM|ThomasTR|LINK
Hello ASP.NET Com.,
in my Web Forms project, the custom created usercontrols are not recognized anymore.
Independent from, if i register them in the single pages or web.config, it's saying that it's not a known element.
The problem is, that i dont changed anything, i only wanted to add them in a new page (they was already added to other pages successfully).
Anyone knows what todo in this case?
Kind regards
usercontrol element Register asp.net web.config
All-Star
191732 Points
20951 Posts
ASPInsiders
Moderator
MVP
Re: Web-Usercontrol not recognized anymore
Dec 04, 2014 09:05 AM|XIII|LINK
Hi,
things you can try that helped me out in the past:
Grz, Kris.
Working with Azure, chatbots, ASP.NET MVC, Web API, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Member
1 Points
4 Posts
Re: Web-Usercontrol not recognized anymore
Dec 04, 2014 09:29 AM|ThomasTR|LINK
Hello,
thank you for the fast answer,
After deleting the page and recreating it, it recognized the controls again and all is fine now.
Its a strange behavior, but its running again, thank you 13 :)
Member
1 Points
4 Posts
Re: Web-Usercontrol not recognized anymore
Dec 05, 2014 02:00 AM|ThomasTR|LINK
Hello again,
im sorry to say that, but it wasn't a permanent solution for my problem.
I guess it's a bug since VS2005.
I have tried the following steps but nothing help's...
I cant believe that there isnt any solution!
Please dont tell me that i have to dynamically create them all now ^^
Member
1 Points
4 Posts
Re: Web-Usercontrol not recognized anymore
Dec 05, 2014 06:34 AM|ThomasTR|LINK
Hello again,
now its all fine again.
The source of this confusion for the designer was, that the classnames was different from the filename, wich caused the designer at one point to delete classnames in designerfiles!
Was a little bit strange, because the designer did not write them again, it caused another error, that there must be a description before { so until i noticed that my colluege was creating the pages with copy paste and dont updated all classnames in codebehind and so on.
Conclusion, programmer's are always the source of error :)
I mark the answer from Kris again, because creating the pages new will solve the problem! Thank you again...
@Admin: please move this thread to the appropriate webusercontrol section, because i messed it up a little bit...