I am on the 2.0 framework and have run the c:\windows\micr osoft.net
\framework\v1.1 .4322\aspnet_re giis.exe -c and had no success. About
half of the buttons on my webforms are firing and the other half are
not, primarily anything on the Master is firing but those in the
content pane are not. This was working fine yesterday!! I've
reviewed all the code changes and can't seem to find a culprit.
Here's one example of what I'm trying to do:
Webform -
<b>Search all People</b>
<asp:TextBox ID="txtSearch" runat="server" />
<asp:Button id="btnGO" Text="GO" runat="server" ToolTip="Click here to
begin search" />
Code Behind -
Protected Sub btnGO_Click(ByV al sender As Object, ByVal e As
System.EventArg s) Handles btnGO.Click
If Me.txtSearch.Te xt <"" Then
Response.Redire ct("search.aspx ?searchVal=" &
Me.txtSearch.Te xt & "&folderID=54&t ype=people")
End If
End Sub
I've tried this as a custom control as well as adding it directly to
the page. This is occuring on my localhost server as well as a
separate webserver. I tried adding the UseSubmitBehavi or="false"
attribute to the button control and the OnClick="btnGO_ Click". I
received the following error message :
Invalid postback or callback argument. Event validation is enabled
using <pages enableEventVali dation="true"/in configuration or <%@
Page EnableEventVali dation="true" %in a page. For security
purposes, this feature verifies that arguments to postback or callback
events originate from the server control that originally rendered
them. If the data is valid and expected, use the
ClientScriptMan ager.RegisterFo rEventValidatio n method in order to
register the postback or callback data for validation.
I don't have a javascript onclick for this page so there's nothing to
register
Anyone have any ideas? I could really use them .