DoPostBackWithOptions来自asp按钮 [英] DoPostBackWithOptions coming for asp buttons

查看:62
本文介绍了DoPostBackWithOptions来自asp按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在SP 2013工作,我的视觉网站上有一组4个asp按钮。一个这样的按钮是这个

Hi ,

I am working in SP 2013 and i have a set of 4 asp buttons in my visual webpart. One such button is this

<asp:Button ID="btnClearfilter" runat="server" Text="Clear Filter" OnClick="BtnClearfilter_Click" CssClass="submitBtn floatLeft marginRight10" />





另一个按钮



Another buttton

<asp:Button ID="btnExport" runat="server" Text="Export" OnClick="BtnExport_Click" CssClass="submitBtn floatLeft marginRight10" />                            





将数据导出为ex​​cel。但是在导出数据之后没有其他按钮点击似乎工作。当我检查页面时,我发现按钮html就像这样





which exports the data to excel. But after the export data no other button clicks seems to work . When i inspected the page i found the button html like this

onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ctl29$g_12d8171b_8f06_4f2f_842e_b2924f975e25$btnExport", "", true, "", "", false, false))







任何人都可以告诉我为什么DoPostBackWithOptions即将到来以及为什么其他按钮点击不起作用。导出过程之前所有按钮都相同。





谢谢advance




Can anyone please tell me why the DoPostBackWithOptions are coming and why other button clicks are not working. Also all the buttons have the same before the export process.


Thanks in advance

推荐答案

ctl29


g_12d8171b_8f06_4f2f_842e_b2924f97 5e25
g_12d8171b_8f06_4f2f_842e_b2924f975e25


btnExport ,true, ,false,false))
btnExport", "", true, "", "", false, false))







任何人都可以告诉我为什么DoPostBackWithOptions即将到来以及为什么其他按钮点击不起作用。在导出过程之前,所有按钮都相同。





提前致谢




Can anyone please tell me why the DoPostBackWithOptions are coming and why other button clicks are not working. Also all the buttons have the same before the export process.


Thanks in advance


这篇关于DoPostBackWithOptions来自asp按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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