I've noticed that whenever I add a new asp.net with a master page to a project, I am unable to edit it in the design view. I am able to see the master page content and an element that says ; however, I am unable to edit the content. I'd like to drop things in there and adjust their properties but I am unable to access them in the design view. How can I accomplish this?
我注意到每当我向项目添加一个带有母版页的新asp.net时,我都无法在设计视图中对其进行编辑。我能够看到母版页内容和一个说明的元素;但是,我无法编辑内容。我想把东西放在那里并调整它们的属性,但我无法在设计视图中访问它们。我怎么能做到这一点?
Thanks!
1 个解决方案
#1
I am ignorant. For anyone who has the same problem, be sure that your content is not wrapped inside a user control. I did some testing and found that was the problem.
我无知。对于遇到相同问题的任何人,请确保您的内容未包含在用户控件中。我做了一些测试,发现问题就出现了。
#1
I am ignorant. For anyone who has the same problem, be sure that your content is not wrapped inside a user control. I did some testing and found that was the problem.
我无知。对于遇到相同问题的任何人,请确保您的内容未包含在用户控件中。我做了一些测试,发现问题就出现了。