我在哪里可以在Visual Studio ASP.net webform项目中添加其他表单控件

时间:2020-11-29 03:33:36

I am trying to add an additional combo box form control to my ASP.net web form in visual studio 2010.

我试图在Visual Studio 2010中添加一个额外的组合框表单控件到我的ASP.net Web表单。

Where should I place an unzipped folder containing a control? how do I add the new control to my 'tools'

我应该在哪里放置一个包含控件的解压缩文件夹?如何将新控件添加到“工具”中

Really appreciated, this is driving me nuts Dan

真的很感激,这让我疯狂丹

1 个解决方案

#1


0  

Some of this is down to personal preference.

其中一些取决于个人喜好。

I like to have a folder outside of my projects where toolbox items can go so : c:\VS2015Tools\

我喜欢在我的项目之外有一个文件夹,其中工具箱项可以这样:c:\ VS2015Tools \

As for adding the items, you can right click on the toolbox and select "choose items"

至于添加项目,您可以右键单击工具箱并选择“选择项目”

You can then browse to the DLL that you have unzipped by clicking on the "browse" button

然后,您可以通过单击“浏览”按钮浏览到已解压缩的DLL

我在哪里可以在Visual Studio ASP.net webform项目中添加其他表单控件

If you have a project with the source for the server control, include the project in your solution and it should automatically be picked up and added to the toolbox (Though Ive found this to be hit or miss as to whether it works)

如果你有一个带有服务器控件源代码的项目,请在你的解决方案中包含该项目,它应该被自动拾取并添加到工具箱中(尽管我发现它是关于它是否有效)

Hope that helps, sorry its not very detailed.

希望有所帮助,对不起它不是很详细。

#1


0  

Some of this is down to personal preference.

其中一些取决于个人喜好。

I like to have a folder outside of my projects where toolbox items can go so : c:\VS2015Tools\

我喜欢在我的项目之外有一个文件夹,其中工具箱项可以这样:c:\ VS2015Tools \

As for adding the items, you can right click on the toolbox and select "choose items"

至于添加项目,您可以右键单击工具箱并选择“选择项目”

You can then browse to the DLL that you have unzipped by clicking on the "browse" button

然后,您可以通过单击“浏览”按钮浏览到已解压缩的DLL

我在哪里可以在Visual Studio ASP.net webform项目中添加其他表单控件

If you have a project with the source for the server control, include the project in your solution and it should automatically be picked up and added to the toolbox (Though Ive found this to be hit or miss as to whether it works)

如果你有一个带有服务器控件源代码的项目,请在你的解决方案中包含该项目,它应该被自动拾取并添加到工具箱中(尽管我发现它是关于它是否有效)

Hope that helps, sorry its not very detailed.

希望有所帮助,对不起它不是很详细。