如何工作下拉列表没有渲染页面 [英] how to work drop down list without render page

查看:66
本文介绍了如何工作下拉列表没有渲染页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,



我在implimentes项目时遇到一个问题。他们是两个下拉列表名称作为州和区。

i填写所有与州和地区相关的数据。



我第一次选择州作为maharastra然后渲染页面并在地区下拉列表中给出马哈拉施特拉邦的地区名称。 br $>


i完成了我的第一个表格。然后我选择另一个状态就像古吉拉特邦下拉列表autopostback然后给出古吉拉特地区名称的名称。这个信息也保存在数据库上。现在开始问题在这里,如果我选择第二次马哈拉施特拉邦我不想自动提供这个下拉列表,我想要所有地区的马哈拉施特拉邦名称。



如何在第二次获得地区名称时间我选择相同的州名而没有渲染或自动回复事件。



请尽快解决这个问题。

Dear Friend,

I have one problem when implimentes project.Their are two drop down list names as state and district.
i filled all the data related as state and district.

First time i did select state as maharastra then render page and give district names of maharashtra on district drop down list.

i completed my first form.Then i select another state just like gujarat state drop down list autopostback then gives names of gujarat district names.This information also saves on database.Now starting problem here if i am select second time maharashtra i dont want to autopostback this dropdown and i want to all district names of maharashtra.

How did get names of district when second time i choosed same name of state without render or autopostback events.

please solve this problem as soon as possible.

推荐答案

自动回发哇如果你将它设置为true,那么你可以使用javascript或jquery来填充下拉
Auto postback would be there if you have set it to true however you can use javascript or jquery to fill drop down


这篇关于如何工作下拉列表没有渲染页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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