Asp.net core中的拖放工具箱为什么无法正常工作?

huangapple go评论67阅读模式
英文:

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.

Asp.net core中的拖放工具箱为什么无法正常工作?

英文:

I have tried the drag-and-drop toolbox but this doesn't work. It has like invisible. I am new to ASP.NET.

Asp.net core中的拖放工具箱为什么无法正常工作?

答案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

huangapple
  • 本文由 发表于 2023年3月1日 16:00:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/75600920.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定