更新面板不使用jquery [英] update panel not working with jquery

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

问题描述

今天我陷入了一个大问题,无法获得解决方案 -

我正在使用jquery load()函数在div标签内加载 page2 1页。这是通过点击放置在更新面板内的按钮完成的。

当我舔按钮时, page2 被完美加载。

但在那之后,如果我点击datapager或updatepanel内的任何其他控件将我重定向到 page2 。虽然它应该保留在 page1



请帮助。

Today i am stuck into a big problem and unable to get the solution-
I am using jquery load() function to load a page2 inside a div tag on page1. This is done on click of a button placed inside updatepanel.
When i lick the button the page2 is loaded perfectly.
But after that, if i click on datapager or any other control inside updatepanel in redirects me to page2. while it should remain on page1.

Please help.

推荐答案

可能在page2.aspx上生成的链接的网址位置为Page2而不是Page1,因为它们是在Page2上生成的
Probably the links that was generated on page2.aspx has url with location of "Page2" instead of "Page1" because they were generated on "Page2"


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

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