转换的用户控件添加到服务器控件 [英] Convert User Controls to Server Controls

查看:193
本文介绍了转换的用户控件添加到服务器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果任何人有任何的经验将用户控件的Web控件?

I'm wondering if anyone has any experience converting User controls to Web controls?

在理想情况下,我想卸载一些设计工作给别人,谁给我很好的布局的用户控件。然后,我可以通过转换,编译,测试和部署的过程。

Ideally, I'd like to offload some of the design work to others, who would give me nicely laid out User Controls. Then, I could go through the process of converting, compiling, testing and deploying.

直到MS想出了神奇的转换为服务器控制选项,它看起来像我pretty的好卡与从头开始重写。任何想法?

Until MS comes up with the magic "Convert to Server Control" option, it looks like I'm pretty well stuck with re-writing from scratch. Any ideas?

推荐答案

有没有你的的理由必须的转换这些用户控件服务器控件?记住,这是可能的<一href="http://www.nathanblevins.com/Articles/Compile-a-Web-User-Control-into-a-DLL-.Net-c-.aspx">compile用户控件到一个程序集中。

Is there a reason you must convert these user controls to server controls? Remember that it is possible to compile a user control into an assembly.

这篇关于转换的用户控件添加到服务器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆