英文:
Why does the drag-and-drop toolbox in Asp.net core not work?
问题
I have tried the drag-and-drop toolbox but this doesn't work. It has like invisible. I am new to ASP.NET.
英文:
I have tried the drag-and-drop toolbox but this doesn't work. It has like invisible. I am new to ASP.NET.
答案1
得分: 2
因为您正在运行一个MVC Web应用程序,而工具箱显示的是ASP.NET WebForms应用程序(较旧的技术)。这就是为什么它被禁用。
ASP.NET WebForms控件示例:
<asp:AdRotator runat="server" AdvertisementFile="adfile.xml" Target="_blank" />
另外,请始终使用HTML和CSS来定位网页上的控件。
英文:
Because you are running a MVC Web Application and the toolbox shown is for ASP.NET WebForms Application(older technology). That's why its disabled
Example of an ASP.NET WebForms Control
<asp:AdRotator runat="server" AdvertisementFile="adfile.xml" Target="_blank" />
Side note, Always use HTML and CSS to position controls on a web page
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论