回发发生时,更新面板中包含的Javascript无法正常工作 [英] Javascript which is included Update Panel not working when postback occurs

查看:85
本文介绍了回发发生时,更新面板中包含的Javascript无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在aspx页面中添加了UpdatePanel,在该页面中,
我还添加了javascript代码和其他字段,
但是当我单击按钮保存数据时,未调用updatepanel中的javascript,


帮助我解决此问题..

Hello All,

I have added UpdatePanel in my aspx page, and in that page,
I have added javascript code and other fields also,
But when I click on button to save data that time javascript within updatepanel not called,


Help me to resolve this problem..

推荐答案

Madhuri,

从后面的代码中调用Java脚本.
如果需要时从后面的代码中调用Java脚本,则会找到解决方案.

谢谢,
Viprat Shah
Hi Madhuri,

Call your java script from code behind.
you will found the solution if you call the java script from code behind when you required.

Thanks,
Viprat Shah


这篇关于回发发生时,更新面板中包含的Javascript无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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