列表框的更新面板问题 [英] Update Panel problem for Listbox

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

问题描述

我现在对我的updatepanel有问题..以前,列表框中的值用于保存到数据库中,但现在没有发生..我的列表框在updatepanel中..我的是Visual Studio 2005.我出去..我在这里放置我的代码..

Hi I have problem with my updatepanel now..Previously the values in Listbox use to save in DB but now it''s not happening..My listbox is inside updatepanel..Mine is Visual Studio 2005..Can anybody help me out..here I am placing my code..

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                <contenttemplate>
                                                <asp:ListBox runat="server" Width="155px"  Height="50px"   CssClass="textNormal" SelectionMode="Multiple"  ID="lstspeciality">
                                             
                                            
                                                </contenttemplate>
                                                <triggers>
                                                <asp:AsyncPostBackTrigger ControlID="drpMainSpecialty" EventName="SelectedIndexChanged" />
                                                </triggers>

推荐答案

我认为问题不在于列表框.问题可能与UpdatePanel中包含的控件有关.
我不知道您要保存哪个事件,并且该控件是否在更新面板内
I think problem is not with the list box. Problem might be related to the controls you are including inside UpdatePanel.
I don''t know on which event you are saving data and that control is inside update panel or not


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

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