使用用户控件在单击按钮时生成控件 [英] generate controls on button click using user controls

查看:82
本文介绍了使用用户控件在单击按钮时生成控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我正在工作门户网站上,当用户使用以下给出的字段输入有关我的经历的详细信息时:
1.职务
2.功能区
3.行业
4.公司类型
5.从事这项工作的年限
并且有一个按钮可以插入有关其他体验的详细信息,这意味着我需要在页面上生成相同的字段,因此请帮助我做到这一点

hello friends

i m working on job portal, when user enter the details about experiences i m using fields given below:
1. Job title
2. functional area
3. industry
4. company type
5. years in this job
and there is button to insert details about other experiences, means i need same fields should be generate on page, so please help me to do that

推荐答案

为什么不这样做"您只需要创建一个具有这些控件的面板,然后根据需要显示/隐藏该面板即可.
Why don''t you just create a panel that has those controls on it, and show/hide the panel as needed.


为什么您
Why do you repost [^]the question again?

If you are unable to follow the answer then you need to pick a book and read on how it works and page life cycle.


这篇关于使用用户控件在单击按钮时生成控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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