In the B/s development process, often encounter such a hint: Error Creating Control, and these pages are clearly open before, but still appear as shown:
The method found online is to put the control initialization in the OnInit to write, I tried, or will appear .....
Finally I found an alternative method, the original ASPX background class name change, if it is: Test =>test2, corresponding to the front of the foreground codebehind also need to change to test =>test2, and then save,
After saving, and then Daoteng once, according to the original modified place Test2 =>test, and then save, and then open the design page, the results of nothing changed, but the error Creating Control is missing, the specific principle
I have not groped out, looking to know the friend Huitie told.
Alternative method of thinking from: I found this page has a problem, re-copy one, and then the class name also changed, but the copy of the new page is normal, do not appear error Creating Control.
I don't know, what the old Gai is doing. I hope this article can help everyone.