I am using VS 2005 C# and XP. I have a website that uses a custom message box. The message box is accessed by a method located on a master page. I have several pages that are using the message box and it works without any issues. How it works is it a user wants to do something like delete a user and the method fills the message box with a title, icon and a message. A button click event determines the users response. A redirect is used to handle the response. The issue is that this page has an ajax autocomplete extender which is working. When the button's click event starts to redirect I receive the error and a pointer is at line 15. When I do not use the debugger the page renders but does not update a gridview and does not display a programmatic message.
--- d:\E\AjaxControlToolkit_AjaxTk\Release\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs
00000000 push ebp
00000001 mov ebp,esp
00000003 push eax
00000004 mov dword ptr [ebp-4],ecx
00000007 cmp dword ptr ds:[05391980h],0
0000000e je 00000015
00000010 call 757E10B9
00000015 mov eax,dword ptr [ebp-4] <-- the pointer is displayed on this line
00000018 mov byte ptr [eax+52h],1
0000001c mov edx,637F848h
00000021 mov ecx,94AE188h
00000026 call 756B1D3A
0000002b mov ecx,dword ptr [ebp-4]
0000002e call 039E6198
00000033 mov ecx,dword ptr [ebp-4]
00000036 call 749FC810
0000003b nop
0000003c mov esp,ebp
0000003e pop ebp
0000003f ret
I have read several posts and have not found a solution. Any suggestion will be helpful.
I have tried to cache then dispose the control just before the button's click event. I use the controls visibilty through a javascript function because when you use visibilty for the server control the control is not rendered. That makes sense. There are no code behind errors. I do see in the javascript function that it is also looking for the _Page event after the method call but this does not effect the message box's ability to work.