私はページにasp:repeaterを使用していて、OnItemCommandを持っています。これはコードですasp:Repeater ItemコマンドはIE7(互換モード)で起動しません。
Invalid postback or callback argument. Event validation is enabled using in configuration or 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.
::私はリピーターにあるボタンをクリックしたときにはIE7(互換モード)で、それはこのエラーを仕事と言っていません
<asp:Repeater ID="rptExternalLinks" runat="server" OnItemCommand="rptExternalLinks_ItemCommand1">
<ItemTemplate>
<asp:Button ID="lbtnDelet" CssClass="simaUI-icon simaUI-icon-closethick" runat="server" CommandName="DeleteItem" />
</ItemTemplate>
</asp:Repeater>
、それは他のブラウザ上で動作IE9、FF、Chromeなどのようなものですが、IE互換モードでエラーが発生します。
ありがとうSebastian、それはポストバックのため、ページをテストするためのページロードでリストを作成してから、そのリストにリピータデータソースを設定しました。リストを ""に作成しましたif(!Page.IsPostBack ){} ""それは動作します。 しかし、それはなぜそれが他のブラウザで働いた私のために解決されていない鉄... – Emech
それは非常に奇妙で、それは私が見つける必要があります。 –