J
Jay
I am on the 2.0 framework and have run the c:\windows\microsoft.net
\framework\v1.1.4322\aspnet_regiis.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(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnGO.Click
If Me.txtSearch.Text <> "" Then
Response.Redirect("search.aspx?searchVal=" &
Me.txtSearch.Text & "&folderID=54&type=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 UseSubmitBehavior="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 enableEventValidation="true"/> in configuration or <%@
Page EnableEventValidation="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
ClientScriptManager.RegisterForEventValidation 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 .
\framework\v1.1.4322\aspnet_regiis.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(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnGO.Click
If Me.txtSearch.Text <> "" Then
Response.Redirect("search.aspx?searchVal=" &
Me.txtSearch.Text & "&folderID=54&type=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 UseSubmitBehavior="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 enableEventValidation="true"/> in configuration or <%@
Page EnableEventValidation="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
ClientScriptManager.RegisterForEventValidation 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 .