更新面板在asp.net 2.0 C#中不起作用 [英] update panel not work in asp.net 2.0 C#
本文介绍了更新面板在asp.net 2.0 C#中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经创建了一个注册页面...
以这种形式,许多文本框,单选按钮列表,复选框,下拉列表和更新面板中的某些事件将与数据库连接...
所有提交的文件都在更新面板中,但是页面是引用..
我在更新面板属性更新模式上使用了一个技巧="conditional"
并检查网站,但问题没有解决.当某些事件(例如单击事件或选定的事件)被触发时,.page会重新加载.....
i have create one page to registration ...
in this form many textbox,radiobuttonlist,checkbox,dropdown &update panel some event are to connect with database...
all the filed are inside a update panel but page are refres..
i have use one trick on update panel properties update mode ="conditional"
and check website ,,but problem not gone..page are refress when some event fired like click event or selected-chenged event.....
推荐答案
您好,
您是否按照以下方式实施了?
Hi,
Have you implemented as below-
<asp:UpdatePanel runat="Server" ID="UpdatePanel1" UpdateMode="Conditional">
<ContentTemplate>
// Your controls goes here...
</ContentTemplate>
</asp:UpdatePanel>
Or please give here your code snippet so, I can get your exact problem.
Regards,
Nilesh Shah.
这篇关于更新面板在asp.net 2.0 C#中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文