S
Steven
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.
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.