如何将控件添加到Web表单 [英] how to add control to web form

查看:89
本文介绍了如何将控件添加到Web表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我向webform添加一个控件时,他们在母版页中向我显示我想要将控件添加到webform并且仅在此webform中显示而不是在母版页

解决方案

< blockquote>首先必须添加一个内容页面

只需右键单击解决方案资源管理器中的母版页并添加内容页面

现在添加所有组件在你的内容页面这是怎么回事你可以将组件添加到你的网页表格中。


when me add a control to webform they shows to me in master page i want to add control to the webform and that show only in this webform not in masterpage

解决方案

first of all ull have to add a content page
just right click masterpage in solution explorer and add content page
now add all components in ur content page this is how u can add components into ur web form .


这篇关于如何将控件添加到Web表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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