tags:

views:

44

answers:

2

When running my application lately, there is a very long delay after a request is made to the server. When debugging and stepping through, the code finishes quickly and then a dialog comes up, which I'm assuming is the reason for the lag. (I've tried a series of other options including disabling usage of ViewState, disabling debugging, installing IE 8 and reinstalling the Ajax Control Toolkit.

The dialog reads as follows:

Find Source: ExtenderControlBase.cs Original Location: C:\Users\swalther\Projects\AspNetAjax\Releases\30930\AjaxControlToolkitSource\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs

This is strange, since I am not familiar with any user on this machine named swalther (it was reformatted rather recently) and searching my computer for this folder turns up no results.

As usual, any help would be greatly appreciated.

A: 

That reference to swalther refers to the developer who compiled the code in the first place.

Phil Bennett
A: 

Fixed. (Second time I've answered my own question - go figure. I'm creating a database of my bugs :) )

Changed this line:

<asp:ScriptManager ID="scriptManager1" runat="server" EnablePageMethods="true" />

to this:

<ajaxControlToolkit:ToolkitScriptManager ID="scriptManager1" runat="server" />

Looks like you have to use the ajax control toolkit script manager instead of the ASP version.

Music Magi