locked
IE 11 , update panel : page refreshes RRS feed

  • Question

  • User67843912 posted

    Hello guys,

    I have a 1 problem on IE 11, my site is refreshes on IE 11 after button click. It is working fine on all browsers.

    I have used updatepanel.  code as below. can anybody help me with this problem. Why it is occuring and solution to avoid this 

    I am using Ajax 4.0, i have added new page and added some dummy code, checked it on windows 8 and IE 11 combination, looks like ajax is not working in IE 11

    <asp:UpdatePanel ID="MyUpdatePanel" runat="server">
    <ContentTemplate>
    <div id="Div_CountryMain" runat="server" style="padding-bottom: 30px; width: 300px;">
    <div id="Div_CountrySelection" style="float: left; padding-bottom: 10px;">
    <asp:Localize ID="Localize_CountryText" runat="server" Text="Country: " meta:resourcekey="CountryText"></asp:Localize>
    <asp:Localize ID="Localize_CountryName" runat="server" Text=""></asp:Localize>
    </div>
    <div id="Div_Localize_ChangeText" style="float: left; cursor: pointer; padding-left: 10px;"
    class="changetext">
    <asp:LinkButton ID="LinkButton_changeText" meta:resourcekey="ChangeCountryText" runat="server"
    alt="<%$ Resources:ChangeCountryText.Text %>" ToolTip="<%$ Resources:ChangeCountryText.Text %>"
    OnClick="LinkButton_changeText_Click" Text="Change" TabIndex="12"></asp:LinkButton>
    </div>
    </div>
    <div id="Div_CountrySelectionHidden" runat="server" style="display: none; padding-bottom: 5px;
    float: left;">
    <div style="float: left;">
    <asp:Localize ID="Localize_selectText" runat="server" Text="Select Country: " meta:resourcekey="SelectCountryText"></asp:Localize>
    </div>
    <div style="float: left; padding-left: 10px; display: none;">
    <asp:DropDownList ID="DropDownList_Country" runat="server" CssClass="my-dropdown"
    AutoPostBack="true" Width="180px" meta:resourcekey="DropDownList_CountryResource1"
    OnSelectedIndexChanged="DropDownList_Country_SelectedIndexChanged" TabIndex="13" />
    </div>
    <div style="float: left; padding-left: 10px;">
    <asp:DropDownList ID="DropDownList_New" runat="server" OnSelectedIndexChanged="DropDownList_New_SelectedIndexChanged"
    AutoPostBack="true" CssClass="my-dropdown" Width="180px" onChange="javascript:ReloadSchoolWidget();"
    TabIndex="14">
    </asp:DropDownList>
    </div>
    </div>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="LinkButton_changeText" />
    </Triggers>
    </asp:UpdatePanel>

    Monday, October 21, 2013 2:51 AM

Answers

All replies