ASP.NET与JQuery一起创建具有动态内容的网页 [英] ASP.NET vs JQuery to create web page with dynamic content

查看:71
本文介绍了ASP.NET与JQuery一起创建具有动态内容的网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我想建立一个asp.net网页。它将用作表单从用户收集一些信息并提交以保存在数据库中。



页面控件和标签的内容应动态创建。



将从数据库中读取表格的问题。答案是自由文本或多选。答案的类型将指定用于获得答案的控件的类型(文本框,radioButtons)。



我应该在page_load上创建asp.net控件还是应该我在$(document).ready上使用JQUERY创建HTML控件。



在asp.net和JQuery之间选择会影响后续步骤,例如验证,收集控件值并提交。



有什么建议吗?比较将不胜感激。



提前感谢

解决方案

(文件).ready ..?<选择asp.net和JQuery之间的


会影响后续步骤,例如验证,收集控件值和提交。



有什么建议吗?比较将不胜感激。



提前感谢


请参阅以下链接:

http://viralpatel.net/blogs/dynamically-add-remove-rows- in-html-table-using-javascript / [ ^ ]



http://www.encodedna.com/2013/07/dynamically-add-remove-textbox-control-using-jquery.htm [ ^

dear all,

i want to build an asp.net webpage. it will be used as a form to collect some information from user and submit it to be saved on database.

content of the page controls and labels should be created dynamically.

Questions of the form will be read from database. Answers are either free text or multi-choice. Type of the answer will specify the type of the control used to get the answer (textboxes , radioButtons).

should i create asp.net controls on page_load or should i create HTML controls using JQUERY on $(document).ready.. ?

choosing between asp.net and JQuery will affect next steps, such as validation, collecting controls values and submitting.

any suggestions please? comparison would be appreciated.

thanks in advance

解决方案

(document).ready.. ?

choosing between asp.net and JQuery will affect next steps, such as validation, collecting controls values and submitting.

any suggestions please? comparison would be appreciated.

thanks in advance


Refer below link :
http://viralpatel.net/blogs/dynamically-add-remove-rows-in-html-table-using-javascript/[^]

http://www.encodedna.com/2013/07/dynamically-add-remove-textbox-control-using-jquery.htm[^


这篇关于ASP.NET与JQuery一起创建具有动态内容的网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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