[英]Re-using Drop Down List on Multiple Web Form?
I am new to ASP.Net. 我是ASP.Net的新手。
Is there a way the re-use drop down list and its behind code (below) on several web forms? 有几种方法可以在多个Web表单上使用重用下拉列表及其后置代码(如下)? Through using WCF?
通过使用WCF?
(For Example : "Change Setting" in the drop down menu will redirect to the Setting page through Response.Redirect(""). ) (例如:下拉菜单中的“更改设置”将通过Response.Redirect(“”)重定向到“设置”页面。)
Reusing a drop down list and its behind code, you can use Asp.net User Controls . 重用下拉列表及其背后的代码,您可以使用Asp.net 用户控件 。 I am not familiar with WCF, but I get this post: How to load a Web User Control inside a WCF service and returning the result?
我对WCF不熟悉,但是我得到了这篇文章: 如何在WCF服务中加载Web用户控件并返回结果? Hope it can help you.
希望它能对您有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.