Update Panel not working under Internet Explorer 6.0 and 7.0 only, works for latest Firefox, Opera and Saffari

Last post 07-24-2007 3:05 AM by sgp000bg. 2 replies.

Sort Posts:

  • Update Panel not working under Internet Explorer 6.0 and 7.0 only, works for latest Firefox, Opera and Saffari

    07-18-2007, 8:55 AM
    • Member
      point Member
    • sgp000bg
    • Member since 07-18-2007, 8:23 AM
    • Posts 2

    Hello everyone,

    I have a very strange problem. The Application in question is a web portal written on .net 2.0 with C# , it uses Web Parts with the latest Ajax May Futures for the WebPartManager and Ajax 1.0. In short it is an Ajax enabled portal site using webparts.  The Web Server used is IIS 5.1. I have checked the numerous posts on the subject as well as the HDI-AJAX-AddAjax video and I have applied them to my application. I ahve one ScriptManager in the MasterPage and only 1 UpdatePanel in each of the Slave Pages The result so far is:

        Latest Firefox - No problems, All webparts can be minimized, edited, moved, etc without triggering a PostBack. Any event in the Update panel works like it                            is  supposed to and doesn't make the page refresh.

        Latest Opera  - Same as above;

        Public Beta Saffari  - Same as above;

    Now Given how perfectly it works under these Microsoft competitors you would think that IE should be no problem at all.  WRONG!!! In fact what I get with IE 6.0 and 7.0 is:

    1.      Only extremely simple operations (loading data into a textbox, making it invisible. etc) doesn't trigger a postback.
    2.      Any webparts related event triggers a postback
    3.      Any GridView related event triggers a post back
    4.      Simple JavaScript functions called by an HTML link or button aka ( Alert(this); ) trigger a post back if they are inside the update panel.
    5.      The only way I have found in my experiments to stop IE from doing this post back and work the way it is supposed to is to introduce some error on  the page (<img> pointing at a missing picture, some javascript error, etc.)

    Does any one know what causes this behavior? How come it works on all other browsers but IE is refreshing for anything but the most simplest events? Is there a way to tell IE to stop this without introducing the error?

    Help!!! I'm going out of my mind here!!!

  • Re: Update Panel not working under Internet Explorer 6.0 and 7.0 only, works for latest Firefox, Opera and Saffari

    07-23-2007, 8:48 AM

    Hi

    Would you please provide us with your code,so we can reproduce this issue quicklier?

    Thanks

    Sincerely,
    Jin-Yu Yin
    Microsoft Online Community Support
  • Re: Update Panel not working under Internet Explorer 6.0 and 7.0 only, works for latest Firefox, Opera and Saffari

    07-24-2007, 3:05 AM
    • Member
      point Member
    • sgp000bg
    • Member since 07-18-2007, 8:23 AM
    • Posts 2

     This is my webpart:

    ---------------------------------------------------------------------------------------------- 

    using System;
    using System.Data;
    using System.Collections;
    using System.Configuration;
    using System.Web;
    using System.Web.Security;
    using System.Security.Permissions;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;

    /// <summary>
    /// Summary description for DescriptionPart
    /// </summary>
    ///

    namespace Portal.Helper
    {
        [AspNetHostingPermission(SecurityAction.Demand,
        Level = AspNetHostingPermissionLevel.Minimal)]
        [AspNetHostingPermission(SecurityAction.InheritanceDemand,
          Level = AspNetHostingPermissionLevel.Minimal)]
        public class DescriptionPart : WebPart
        {
            //private string title;
            private string text;
            private string url;
            private string color;

            HtmlGenericControl div;
            HtmlGenericControl imgheader;

            //-------------------------------------------------------------------------------------------
            //Method:            CreateEditorParts
            //Purpose:            Assign Editor Part to this Web Part
            //Usage:            Initialization
            //Last Modified:    2007.06.22        By: Stefan Penchev
            //-------------------------------------------------------------------------------------------
            public override EditorPartCollection CreateEditorParts()
            {
                ArrayList editorArray = new ArrayList();
                DescriptionEditor edPart = new DescriptionEditor();
                edPart.ID = this.ID + "_editorPart";
                editorArray.Add(edPart);
                EditorPartCollection editorParts =
                  new EditorPartCollection(editorArray);
                return editorParts;
            }

            public override object WebBrowsableObject
            {
                get { return this; }
            }

            [WebBrowsable()]
            public string Content
            {
                set
                {
                    text = value;
                }
                get
                {
                    return text;
                }
            }
            [WebBrowsable()]
            public string Image
            {
                set
                {
                    url = value;
                }
                get
                {
                    return url;
                }
            }
            [WebBrowsable()]
            public string Color
            {
                set
                {
                    color = value;
                }
                get
                {
                    return color;
                }
            }
            //-------------------------------------------------------------------------------------------
            //Method:            CreateChildControls
            //Purpose:            Create web Part Controls
            //Usage:            Initialization
            //Last Modified:    2007.06.22        By: Stefan Penchev
            //-------------------------------------------------------------------------------------------
            protected override void CreateChildControls()
            {
                Controls.Clear();
                imgheader = new HtmlGenericControl();
                imgheader.InnerHtml = "<div width=\"100%\" style=\"background-color:" + this.color + "\">";
                if (this.Image != "")
                {
                    imgheader.InnerHtml += "<span align=\"left\"><img src=\"" + this.Image + "\"></span></div>";   
                }
                this.Controls.Add(imgheader);
                div = new HtmlGenericControl();
                div.InnerHtml = "<div class=\"webpart_description\">" + this.Content + "</div>";
                this.Controls.Add(div);
               
            }

            //-------------------------------------------------------------------------------------------
            //Method:            OnDeleting
            //Purpose:            Remove webpart language data from all external XML files and Content DB
            //Usage:            on webpart deletion
            //Last Modified:    2007.07.06        By: Stefan Penchev
            //-------------------------------------------------------------------------------------------
            protected override void OnDeleting(EventArgs e)
            {
                try
                {
                    DBHelper Helper = new DBHelper();
                    Helper.DeletePageContent(this.Page, this.ID);
                    PageBase.DeleteLanguagePage(this.Page, this.ID);

                    base.OnDeleting(e);
                }
                catch
                {
                    string error = "Error 010: Deleting Language Error!";
                    this.Page.ClientScript.RegisterStartupScript(typeof(Page), "Error", "<script language='javascript'>alert('" + error + "');</script>");
                }
            }
         
        }
    }
    -----------------------------------------------------------------------------------------------------------

    This is my master page:  IT has some controls that you can delete as I've added them way after my problem started.

    ----------------------------------------------------------------------------------------------------------- 

     

    <%@ Master  EnableTheming="true" Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
    <%@ Register src="Navigation.ascx" TagName="Navigation" TagPrefix="uc1" %>
    <%@ Register src="Menu.ascx" TagName="Menu" TagPrefix="uc2" %>
    <%@ Register src="PanelSelector.ascx" TagName="PanelSelector" TagPrefix="uc_Panel" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <script type="text/javascript" src="inc/stuff2.js"></script>
    <script type="text/javascript" src="inc/dhtmllib.js"></script>
    <script type="text/javascript" src="inc/scroller.js"></script>
    <script type="text/javascript" src="inc/FTB-FreeTextBox.js"></script>
    <script type="text/javascript" src="inc/FTB-ImageGallery.js"></script>
    <script type="text/javascript" src="inc/FTB-Pro.js"></script>
    <script type="text/javascript" src="inc/FTB-ToolbarItems.js"></script>
    <script type="text/javascript" src="inc/FTB-Utility.js"></script>
    <script type="text/javascript" src="inc/popup.js"></script>
    <asp:Literal id="Scroller" runat="server"></asp:Literal>
    </head>
    <body class="body"  onload="runscroll(); winInit();" >
    <form defaultbutton="btn_login" id="form1" runat="server">
    <ajax:ScriptManager ID="Script_Manager" runat="server" >
    </ajax:ScriptManager>
    <table border="0"  cellpadding="0" cellspacing="0" class="table_general">
        <tr>
            <td class="left_row_menu" valign="top" >   
                <table class="table_left" cellspacing="0" cellpadding="0" >
                    <tr>
                        <td class="left_row" ><a href="Default.aspx"><img src="images/_menu_01.gif" alt="" /></a></td>
                    </tr>
                    <tr>
                        <td class="left_row">
                        <asp:Panel ID="pnl_LeftHtml" runat="server">
                            <uc1:Navigation id="Navigation" runat="server"></uc1:Navigation>
                        </asp:Panel>
                    </td>
                    </tr>
                </table>
            </td>
            <td valign="top" class="table_general" rowspan="2">
                <table class="table_general" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="row_top" valign="bottom">   
                        <table class="table_lang" cellpadding="0" cellspacing="0" border="0">
                <tr><td class="row_lang">
                 &nbsp; &nbsp; &nbsp; &nbsp;
                 <a id="start_link" runat="server" href="Default.aspx" class="small-bold"><font color="#FFFFFF"></font></a>
                 &nbsp; &nbsp; &nbsp;
                 </td><td valign="middle"><img id="bug"  src="images/bg-flag.jpg" alt="" /></td><td>
                <a id="bug_link" runat="server" onclick="SetLanguage('bg');" href="http://forums.asp.net/AddPost.aspx?ReplyToPostID=1818012&Quote=False#" class="small-bold"><font color="#020F23"></font> </a>
                 &nbsp; &nbsp;
                 </td><td valign="middle"><img id="eng" src="images/uk-flag.jpg" alt="" /></td><td>
                <a id="eng_link" runat="server" onclick="SetLanguage('eng');"  href="http://forums.asp.net/AddPost.aspx?ReplyToPostID=1818012&Quote=False#" class="small-bold"><font color="#FFFFFF"></font> </a>
                 &nbsp; &nbsp;
                 </td><td valign="middle"><img id="deu" src="images/de-flag.jpg" alt="" /></td><td>
                <a id="deu_link" runat="server" onclick="SetLanguage('deu');"  href="http://forums.asp.net/AddPost.aspx?ReplyToPostID=1818012&Quote=False#" class="small-bold"><font color="#FFFFFF"></font> </a>
                 &nbsp; &nbsp;
                 </td>
                </tr>
                </table>   
                    </td>
                    <td class="login_menu" valign="bottom" >
                         <asp:Panel CssClass="topic-text" id="Menu_Login" runat="server">
                            &nbsp;<asp:Button ID="btn_Reg" Visible="false" CssClass="btn" runat="server" Text="" OnClick="btn_Reg_Click" />&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox CssClass="login_input" ID="txt_LogUser" Text="" runat="server" MaxLength="30"></asp:TextBox>&nbsp;<asp:TextBox CssClass="login_pass" ID="txt_LogPass" TextMode="Password" MaxLength="30" runat="server"></asp:TextBox>&nbsp;<asp:Button CssClass="btn" ID="btn_login" runat="server" Text="" OnClick="btn_login_Click" />
                         </asp:Panel>
                         <asp:Panel CssClass="topic-text" id="Menu_Logout" runat="server">
                           <uc2:Menu ID="cbo_Modes" Visible="false" runat="server" />&nbsp;<asp:Button ID="btn_Edit" CssClass="btn" runat="server" Text="" OnClick="btn_Reg_Click" />&nbsp;<asp:Button ID="btn_Logout" CssClass="btn" runat="server" OnClick="btn_Logout_Click"  />
                         </asp:Panel>
                    </td>     
                    <td class="bottom">
                        <asp:Panel CssClass="row_right" ID="pnl_TopRightHtml" runat="server">
                                <select id="Sitemap" class="sitemap" runat="server" onchange="GetQuickLink(this.value);"></select>
                        </asp:Panel>
                    </td>     
                </tr>
                <tr>
                    <td colspan="3" class="row_middle" >
            <table class="table_general"  border="0" cellpadding="0" cellspacing="0" >
        <tr>
            <td class="row_title" ><asp:Image ID="img_Top" runat="server" /></td>
            <td class="row_right_title" ><img id="img_TopRight" runat="server" src="images/_info_02.jpg" width="143" height="63" alt="" /></td>
        </tr>
        <tr>
            <td valign="top" class="table_general">
                <asp:Panel CssClass="center" id="news_edit" runat="server" >
                    <a href="http://forums.asp.net/AddPost.aspx?ReplyToPostID=1818012&Quote=False#" onclick="if (winList['Edit_Panel']) winList['Edit_Panel'].open(); return false;" ><img src="images/firefoxlover.gif" alt="Click me" /></a>
                </asp:Panel>
                <div class="wrapper">
                 <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
                </div>
           
            </td>
            <td class="row_right_news" valign="top" >
            <asp:Panel CssClass="webpartgeneral" ID="pnl_RightHTML" runat="server">
            </asp:Panel>
              <ajax:UpdateProgress ID="UpdateProgressPanel" runat="server">
                <ProgressTemplate>
                    <p class="center"><img src="images/progress_ajax.gif"  alt=""/></p>
                </ProgressTemplate>
             </ajax:UpdateProgress>
            </td>
        </tr>
    </table>
                    </td>
                </tr>
                <tr class="footer_height">
                    <td id="back_2" colspan="3" class="footer_back" >
                <table class="footer_table" cellpadding="0" cellspacing="0" border="0"><tr>
                <td><img name="left_corner" src="images/bottom-leftcorner.gif" width="2px" alt="" /></td>
                <td class="right"><span class="footer" ><uc1:Navigation runat="server" ID="NavigationFooter" /></span>
                </td>
                <td><img name="right_corner" src="images/bottom-rightcorner.gif" width="2px" alt="" /></td>
                </tr></table>
    </td>
                </tr>
                </table>
            </td>
        </tr>
        <tr>
        <td class="copyright" valign="bottom">
        <table class="table_left" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="bottom" class="text-blue-small left_row">
             <center>Copyright © 2006 <br />
                InterConsult Bulgaria.<br />
                All Rights Reserved.</center>
              <img name="cont_img"   src="images/_menu_03.gif" alt="" /></td>
        </tr>
    </table>
        </td>
        </tr>   
    </table>
    </form>
    </body>
    </html>
     -------------------------------------------------------------------------------------------------------------------

    Content page template:

    ---------------------------------------------------------------------------------------------------------------------- 

    <%@ Page Language="C#" Theme="Blue" ValidateRequest="false" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="gid.aspx.cs" Inherits="_Default" %>

    <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        Namespace="System.Web.UI" TagPrefix="asp" %>
    <%@ MasterType TypeName="MasterPage" %>
    <%@ Register Namespace="Portal.Helper" TagPrefix="Parts" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <ajax:UpdatePanel id="UpdatePanel" runat="server">
          <contenttemplate>
                <asp:WebPartManager ID="Zone_gid_Manager" runat="server">
                </asp:WebPartManager>
                <div class="main_container">
                <div class="left_half">
                <asp:WebPartZone ID="TopLeft_Zone" runat="server">
                    <ZoneTemplate>
                    </ZoneTemplate>
                </asp:WebPartZone>
                </div>
                <div class="right_half">
                <asp:WebPartZone ID="TopRight_Zone" runat="server">
                    <ZoneTemplate>
                    </ZoneTemplate>
                </asp:WebPartZone>
                </div>
                </div>
                <div class="left_full">
                <asp:WebPartZone ID="Middle_Zone" runat="server">
                    <ZoneTemplate>
                    </ZoneTemplate>
                </asp:WebPartZone> 
                </div>
                <div class="main_container">
                <div class="left_half">
                <asp:WebPartZone ID="MiddleLeft_Zone" runat="server">
                    <ZoneTemplate>
                       </ZoneTemplate>
                </asp:WebPartZone>
                </div>
                <div class="right_half">
                <asp:WebPartZone ID="MiddleRight_Zone" runat="server">
                    <ZoneTemplate>
                    </ZoneTemplate>
                </asp:WebPartZone>
                </div>
                <div class="left_full">
                <asp:WebPartZone ID="Bottom_Zone" runat="server">
                    <ZoneTemplate>
                      </ZoneTemplate>
                </asp:WebPartZone> 
                </div>
                <div class="left_full">
                <asp:EditorZone ID="Zone_gid_Editor" runat="server">
                    <ZoneTemplate>
                    </ZoneTemplate>
                </asp:EditorZone>
                <asp:CatalogZone ID="Zone_gid_Catalog" runat="server">
                    <ZoneTemplate>
                        <asp:PageCatalogPart ID="PageCatalogPart1" runat="server" />
                        <asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server" >
                            <WebPartsTemplate>
                                <Parts:DescriptionPart ID="Content" Title="DescriptionPart" runat="server" />
                            </WebPartsTemplate>
                        </asp:DeclarativeCatalogPart>
                    </ZoneTemplate>
                </asp:CatalogZone>
                </div>
             </contenttemplate>
        </ajax:UpdatePanel>
    </asp:Content>

    --------------------------------------------------------------------------------------------------------------------------

    My web.config. It uses Ajax Futures for May. I'm using the Ajax WebPartManager and Zone

    ---------------------------------------------------------------------------------------------------------------------------

    <?xml version="1.0"?>
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
        <!-- ASP.NET AJAX support -->
        <configSections>
            <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"/>
                    </sectionGroup>
                </sectionGroup>
            </sectionGroup>
        </configSections>
        <!-- END OF ASP.NET AJAX support -->
        <appSettings>
            <add key="BGFile" value="App_Data/Bulgarian.xml"/>
            <add key="ENGFile" value="App_Data/English.xml"/>
            <add key="DEUFile" value="App_Data/German.xml"/>
            <add key="Settings" value="App_Data/Settings.xml"/>
            <add key="DbSource" value="******"/>
            <add key="Database" value="******"/>
            <add key="User" value="******"/>
            <add key="Pass" value="******"/>
        </appSettings>
        <connectionStrings>
            <add name="ASPConnString" connectionString="data source=******;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"/>
            <add name="SQLConnString" connectionString="server=*****;database=aspnetdb;uid=*******;pwd=*****" providerName="System.Data.SqlClient"/>
        </connectionStrings>
        <system.web>
            <pages theme="Blue">
                <!-- ASP.NET AJAX support -->
                <controls>
                    <add tagPrefix="ajax" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                    <add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
                    <add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>
                    <add tagPrefix="ajax" namespace="Microsoft.Web.Preview.Search" assembly="Microsoft.Web.Preview"/>
                    <add tagPrefix="ajax" namespace="Microsoft.Web.Preview.Diagnostics" assembly="Microsoft.Web.Preview"/>
                    <add tagPrefix="uc2" src="~/Menu.ascx" tagName="Menu"/>
                    <add tagPrefix="uc_Panel" src="~/PanelSelector.ascx" tagName="PanelSelector"/>
                    <add tagPrefix="uc3" src="~/App_Code/SimpleTextControl.ascx" tagName="SimpleTextControl"/>
                </controls>
                <tagMapping>
                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartManager" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>
                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartZone" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone"/>
                </tagMapping>
            </pages>
            <compilation debug="true">
                <assemblies>
                    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                </assemblies>
                <buildProviders>
                    <add extension="*.asbx" type="Microsoft.Web.Preview.Services.BridgeBuildProvider"/>
                </buildProviders>
            </compilation>
            <httpHandlers>
                <remove verb="*" path="*.asmx"/>
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
                <add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
            </httpHandlers>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </httpModules>
            <!-- END OF ASP.NET AJAX support -->
            <!--
                Set compilation debug="true" to insert debugging
                symbols into the compiled page. Because this
                affects performance, set this value to true only
                during development.
            -->
            <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
            <authentication mode="Forms">
                <forms name="Auth" loginUrl="MasterPage.master" protection="All" timeout="10"/>
            </authentication>
            <!--
                The <customErrors> section enables configuration
                of what to do if/when an unhandled error occurs
                during the execution of a request. Specifically,
                it enables developers to configure html error pages
                to be displayed in place of a error stack trace.

            <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                <error statusCode="403" redirect="NoAccess.htm" />
                <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>
            -->
            <webParts>
                <personalization defaultProvider="SqlPersonalizationProvider">
                    <providers>
                        <add name="SqlPersonalizationProvider" type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider" connectionStringName="SQLConnString" applicationName="/"/>
                    </providers>
                    <authorization>
                        <allow users="*" verbs="enterSharedScope"/>
                    </authorization>
                </personalization>
            </webParts>
            <authorization/>
            <roleManager enabled="true" defaultProvider="SqlRoleProvider">
                <providers>
                    <clear/>
                    <add name="AspNetSqlRoleProvider" connectionStringName="ASPConnString" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
                    <add name="SqlRoleProvider" connectionStringName="SQLConnString" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
                </providers>
            </roleManager>
            <membership>
                <providers>
                    <clear/>
                    <add name="AspNetSqlMembershipProvider" connectionStringName="ASPConnString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" type="System.Web.Security.SqlMembershipProvider"/>
                </providers>
            </membership>
        </system.web>
        <system.web.extensions>
            <scripting>
                <webServices>
                    <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
                    <!--
          <jsonSerialization maxJsonLength="500">
            <converters>
                <add name="DataSetConverter" type="Microsoft.Web.Preview.Script.Serialization.Converters.DataSetConverter, Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add name="DataRowConverter" type="Microsoft.Web.Preview.Script.Serialization.Converters.DataRowConverter, Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add name="DataTableConverter" type="Microsoft.Web.Preview.Script.Serialization.Converters.DataTableConverter, Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </converters>
          </jsonSerialization>
          -->
                    <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
                    <!--
            <authenticationService enabled="true" requireSSL = "true|false"/>
          -->
                    <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
               and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
               writeAccessProperties attributes. -->
                    <!--
          <profileService enabled="true"
                          readAccessProperties="propertyname1,propertyname2"
                          writeAccessProperties="propertyname1,propertyname2" />
          -->
                </webServices>
                <!--
          <scriptResourceHandler enableCompression="true" enableCaching="true" />
          -->
            </scripting>
        </system.web.extensions>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
          <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </modules>
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated"/>
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </handlers>
      </system.webServer>
    </configuration>
     ----------------------------------------------------------------------------------------------------------

     This is just a small sample as the code is way more complex than this but in my test this was enough to have the problem. Since I fixed some permission in IE the problem disappeared from all other controls except from those inside the WebParts and the WebParts themselves. Even simple JavaScript inside a WebPart triggers a Postback.

Page 1 of 1 (3 items)