大規模な C# asp.net 1.1 プロジェクトを asp.net 2.0 に変換中です。asp.net 1.1 ではすべてが機能しますが、asp.net 2.0 では機能しません。すべてをコンパイルすることができ、ほとんどすべてが機能しますが、次のエラーが発生しました。
Invalid post or callback. <pages EventValidation="True"/> in configuration or <%@Page EnableEventValidation="true"%> in a page. For security purposes, this feature verifies the arguments to post back or callback events originate from the server control that originally rendered them. If the data is valid and expected, use ClientScriptManager.Register for event validation method in order to register the postback or call back data for validation.
あるページが別のページを起動し、起動されたページが元のページにポストバックしようとする状況です。これがASP.Net 1.1では機能したが、asp.net 2.0では機能しなかった場合、私の混乱が生じます。「EventValidation」がプロジェクトまたはその依存関係のどこにも見つからないことを確認しました。ClientScriptManager.Register メソッドを使用する必要がある場合、呼び出しは親ページまたは子ページに入る必要がありますか? また、この呼び出しをどこに置くべきですか?
ご提供いただけるご支援をいただければ幸いです。