DROPDOWNLIST自动刷新添加新项目 [英] DROPDOWNLIST AUTO REFRESH ON ADDING NEW ITEM
问题描述
大家好,
非常愉快的一个晚上,
我的下拉列表有问题..
在我的页面中我有一个带有列表元素的下拉列表,以及我有一个文本框和按钮,每当我在文本框中写入内容并单击提交按钮时,它正确保存在数据库中,但问题是我需要刷新页面才能看到文本框中新添加的项目。
有没有办法在下拉列表中看到它而不刷新页面。 。
提前感谢..
请帮我..
< blockquote>尝试 UpdatePanel
:
http://ajax.net-tutorials.com/controls/updatepanel-control/ [ ^ ]
http://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/bb399001.aspx [ ^ ]
>
Hi All,
A very Good evening,
I have a problem with my dropdownlist..
in my page i have a dropdownlist with list elements,along with that i have a text box and button whenever i write something in the textbox and click on the submit button its saving in database properly,but the problem is i need to refresh the page for seeing the newly added item in the textbox.
is there any way to see it in dropdownlist without refreshing the page..
thanks in advance..
pls help me..
Try forUpdatePanel
:
http://ajax.net-tutorials.com/controls/updatepanel-control/[^]
http://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel.aspx[^]
http://msdn.microsoft.com/en-us/library/bb399001.aspx[^]
这篇关于DROPDOWNLIST自动刷新添加新项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!