Hello,
I have updated to IE9 and I have noticed that our web custom screens that use the ASP.Net Ajax UpdatePanel with a dropdown box stop fucntioning properly in tessitura. The dropdown box can have a value selected, but it does not retain the value after selection. These screens are still functioning on all other computers with IE8.
I thought I would ask to see if anyone else encountered this before I go forward with changing the screens so they do not use the UpdatePanel.
Thanks in Advance,
Jon
This is the exact error that I got and only through Tessitura as you also see. I set EnableEventValidation to false and did that registry fix. I spent two weeks trying to get this to work. I think one of the issues is that Tessitura is using a different browser to display the page. I was able to see in the agent header of a trace that Tessitura comes in using some Mozilla 4.0... and if I hit the page directly I came in using Mozilla 5.0...
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon Ballinger Sent: Tuesday, December 13, 2011 9:17 AM To: Martin A. Jones Subject: RE: [Tessitura Technical Forum] IE9 & Tessitura web custom screens
Marty,
I am using an asp:DropDownList, and having it postback on the SelectedChange event. The control is also set to autopostback. The error I am getting returned to the client is:
"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 am only getting this when the page is run through tessitura otherwise it is fine. I did try setting enableEventValidation to false. This does remove the message but the dropdown no longer holds the selected value on postback. I think when run through tessitura it is not seeing the values as valid ones for the postback when it is checking.
From: Marty Jones <bounce-martyjones7649@tessituranetwork.com> Sent: 12/13/2011 8:38:47
Jon,
Is selecting an item from the causing a partial postback? I had issues with this where the my control was coming back as undefined during the partial postback. You can tell by running a trace on the page and looking at the forms collection section and looking at the value of the control. If it is working, the value will be the "Selected Value" if it is not working, the value will be "Undefined".
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon Ballinger Sent: Monday, December 12, 2011 8:43 PM To: Martin A. Jones Subject: RE: [Tessitura Technical Forum] IE9 & Tessitura web custom screens
Hi Marty,
Thanks, I did try that it does not seem to work for me in IE9. I am gong to keep looking around on the net and see if I can find something. I am hoping not to rewrite them.
From: Marty Jones <bounce-martyjones7649@tessituranetwork.com> Sent: 12/12/2011 11:08:40
Try this,
http://www.tessituranetwork.com/en/network/Learning/Tessitura%20Knowledgebase/Reports/Other/19336.aspx
One thing to note, is that once I did this, some of my list boxes stopped working so I had to change to different controls to replace the list boxes.
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon Ballinger Sent: Monday, December 12, 2011 10:37 AM To: Martin A. Jones Subject: [Tessitura Technical Forum] IE9 & Tessitura web custom screens
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Hi Marty, I have tried those setting as well, the error goes away , but the dropdownlist's selected value does not remain. I have a bare bones page with the one dropdown, nothing on the server side except the event stubs. My asp page looks like this
<%
@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" EnableEventValidation=false %>
<
asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </
</
asp:Content> <
asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" >
<asp:ScriptManager runat=server ID=sm></asp:ScriptManager>
<asp:UpdatePanel runat=server ID=Up UpdateMode=Conditional>
<ContentTemplate>
<asp:DropDownList ID=dd runat=server AutoPostBack=true
onselectedindexchanged="dd_SelectedIndexChanged1"></asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel> </
asp:Content>
Thanks again for all your input, much appreciated.