Re: Usercontrol events not fired, ProcessPostData Second Try present in trace

From: Victor Garcia Aprea [MVP] (vga_at_NOobiesSPAM.com)
Date: 10/23/04


Date: Fri, 22 Oct 2004 23:12:19 -0300

Hi Steven,

What you're seeing (ProcessPostData Second Try) is totally normal.

If you could post the code (as small as possible to repro the issue) that
you're using then that could help the guessing game,

-- 
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://clariusconsulting.net/vga
My profile: http://aspnet2.com/mvp.ashx?vga
-- 
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://clariusconsulting.net/vga
My profile: http://aspnet2.com/mvp.ashx?vga
"Steven" <msgroups@berkovitz.org> wrote in message 
news:%23VoCkhGuEHA.3088@tk2msftngp13.phx.gbl...
> Hi all,
>
> I have been having an odd problem that I've been trying to track down for 
> a few days, and I'm coming up short.
>
> I have a user control that encapsulates search functionality for a set of 
> pages in a website.  It has a textbox and a button, and all it needs to do 
> is redirect to search.aspx?keywords=[keywords].  I have the click event 
> wired up (by the VS designer), and I can see the event properly connected 
> in the code. However when I hit the button, the event does not get fired. 
> I have tried placing the user control on a blank page and the same thing 
> occurs.  If I place the same code in a page (without the user control) it 
> works fine.
>
> The only odd thing I have noticed is in the trace.  After clicking the 
> button, I see this in the trace
>      aspx.page Begin ProcessPostData 0.001334 0.000071
>      aspx.page End ProcessPostData 0.001412 0.000078
>      aspx.page Begin ProcessPostData Second Try 0.001644 0.000231
>      aspx.page End ProcessPostData Second Try 0.001711 0.000067
>
>
>
> This is leading me to beleive that the postback data is becoming corrupted 
> somehow.
>
> The form collection part of the trace looks good fine, and I can see the 
> data I have entered in the textbox for that control.
>
> Any ideas would be greatly appreciated.
>
> Thanks,
>
> Steven.
>