如何使用UpdatePanel [英] how to use UpdatePanel
本文介绍了如何使用UpdatePanel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在DropDownList上使用updatepanel并在CheckBox上触发
和另一个DropDownList上的另一个updatepanel并在之前的DropDownList上触发,所以当我检查CheckBox时,第一个DropDownList更改没有刷新页面好,但是当我在检查CheckBox之后从第一个DropDownList中选择新索引时,第二个DropDownList必须在不刷新页面的情况下进行更改,但是任何人都可以帮助它不会改变吗?
i'm using updatepanel on DropDownList and trigger on CheckBox
and another updatepanel on another DropDownList and trigger on the previous DropDownList so when i check the CheckBox the first DropDownList change without refreshing the page good, but when i select new index from the first DropDownList after i checked the CheckBox the second DropDownList must change without refreshing the page but it won't change can anyone help ?
推荐答案
感谢King Fisher和Anil Vaghasiya,我想出了问题,我写了
Response.Write(update);
所以当你使用updatepanel时你不能使用Response.Write
所以当我删除它时,它运行得很好。
thanx King Fisher and Anil Vaghasiya, I figured the problem, i wrote
Response.Write("update");
so you can't use Response.Write when you are using updatepanel
so when i removed it, it worked perfectly.
这篇关于如何使用UpdatePanel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文