在复合控件中使用Div [英] Use of Div in Composite controls

查看:50
本文介绍了在复合控件中使用Div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在复合控件中使用div标签,这可能吗?

i want use div tag in composite controls ,it is possible?

推荐答案

可以.只要将div定义为服务器控件(runat="server").以下是如何定义组合控件的示例. ^ ]
Sure you can. As long as the div defined as server control(runat="server").Here is an example how a compose control defined.Composite Web Control Example[^]


这篇关于在复合控件中使用Div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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