selectedindexchanged中的问题 [英] problem in selectedindexchanged

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

问题描述

嗨我是raghu



i有下拉列表它有1到15位数字,我有15个文本框假设我被选中5我想只显示5个文本框,如果我选择2只有2个文本框想要显示那样,我怎么能解决我的问题请给我建议我使用MVC3 Razor引擎<​​div class =h2_lin>解决方案

添加文本框动态地基于下拉列表中的内容。

这是一个提示 - 如何:以编程方式将控件添加到ASP.NET网页 [ ^ ]。


< script> 


(document).ready(function(){


hi i am raghu

i have dropdownlist it having from 1 to 15 digits, and i having 15 textboxes suppose i am selected 5 i want to show only 5 textboxes, if i am select 2 only 2 textboxes want to show like that,how can i solve my problem please give me the suggesstions i am using MVC3 Razor Engine

解决方案

Add textboxes dynamically based on what is selecteed in the dropdown.
Here is a hint - How to: Add Controls to an ASP.NET Web Page Programmatically[^].


<script>


(document).ready(function () {


这篇关于selectedindexchanged中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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