Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a imagebutton and image in updatepanel

but image dosen't refrresh when i click on imagebutton

it's work fine in chrome,but don't work in FF,IE,Safari
ASP.NET
 <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
           <contenttemplate>
<asp:Image ID="Img_Cptch" runat="server"  />
<asp:ImageButton ID="ImageButton1" runat="server" CssClass="refresh ImageButton1" AlternateText="refresh" ImageUrl="~/images/Refresh.png" Width="25px" Height="25px" OnClick="ImageButton1_Click" CausesValidation="False" />
</contenttemplate>
           <triggers>
               <asp:AsyncPostBackTrigger ControlID="LinkButton_register" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="ImageButton1" EventName="Click" />
           </triggers>


please F1F1F1F1F1
Posted
Updated 13-May-13 1:30am
v3

1 solution

You might want to try F12 Developer Toolbar in IE/ FF - Web Console tools to find out what is wrong in the rendered output.
 
Share this answer
 
Comments
Richard C Bishop 14-May-13 16:58pm    
Be careful not to post comments or questions as solutions to threads. It will result in loss of reputation points.
Lucifier Rocks 18-May-13 9:15am    
There must be something with the control name for the image that is being used to replace, you can check the content using the developer toolbar as update panel adds ct100_ before control

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900