在ASP面板下的button_click内回发 [英] Postback on button_click inside under asp panel

查看:59
本文介绍了在ASP面板下的button_click内回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我是否认为asp面板中的Button不会回发,是否有办法使页面在asp面板中的button click事件上回发?...

hey,

Does Buttons inside asp panel postback,I think they don''t.Is there a way by which we can do something to make the page post back on button click event inside asp panel?...

I am using a rad grid,and some buttons that are outside grid for editing.The values inside selected row is shown inside asp panel which slides under the grid on button click,where user edit values and then there is a save button inside that panel which saves edited values to that row.I want that button click event to refresh the page or postback,which is why my grid does'nt show updated values.
It shows updated values when i select another row and click on edit and page postbacks,then previously  updated values are shown.




谢谢




Thanks

推荐答案

正如我所说,如果按钮位于asp:Panel内部,则会发生回发.您是否检查了面板外的按钮是否发生了回发?
As i said postback occurs if the button is inside asp:Panel. Did you check the button outside the panel Does postback takes place??


检查代码..在页面顶部,您可能正在使用像UPDATE PANEL一样的RAD控件. ASP PANEL名称可能会被定义为AJAX..
Check your code.. on top of your page you might be using RAD control that works like a UPDATE PANEL.. your ASP PANEL name might be defined in that to be treated as AJAX..
remove your panel name from there..


对于更新面板,请查看下面链接中的最后一个帖子...

http://forums.asp.net/t/1098549.aspx [
For update panel, look at the last post in below link...

http://forums.asp.net/t/1098549.aspx[^]


这篇关于在ASP面板下的button_click内回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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