Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How Can I Prevent A Page Refresh On Button Clicks While Using AJAX ToolKitScriptManager?

$
0
0

Hey ASP.net,

Does anyone know how to solve this problem? Basically, I am using the AJAX ToolKit in my web app. The problem I'm having is that whenever any of the standard button controls are clicked, the entire webpage refreshes. This browser refresh is time-consuming, unnerving (for the user), and subpar. I narrowed the problem down to just the ToolKitScriptManager. If I remove the ToolKitScriptManager then the page behaves normally - and beautifully. 

Here are the details:

  • Visual Studio 2012
  • Language: Visual Basic
  • AJAX Tool Kit

Things I've Tried: <asp:button OnClientClick="return false">. This prevents the page refresh, but it prevents the button's action as well. So, I can't use it. 

Can anyone help?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>