image in an updatepanel loaded using httphandler blinks in chrome only

Mannawayh

New Member
I have a presentation system where a host controls the slides and multiple guests can view.\[code\] <asp:UpdatePanel ID="upSlide" UpdateMode="Always" runat="server" ViewStateMode="Enabled" EnableViewState="true"> <Triggers> <asp:AsyncPostBackTrigger ControlID="timerSlide" EventName="Tick" /> <asp:AsyncPostBackTrigger ControlID="btnPrevious" EventName="Click" /> <asp:AsyncPostBackTrigger ControlID="btnNext" EventName="Click" /> </Triggers> <ContentTemplate> <asp:Image ID="imgSlide" CssClass="pptImg" runat="server" /> </ContentTemplate> </asp:UpdatePanel>\[/code\]There is a timer that will check a database to see if the host changed slides. If yes, the image updates if, no then it stays. \[code\] Dim currentSlidePrompt As Integer = imgSlide.ImageUrl.LastIndexOf("=") + 1 Dim currentSlide As Integer = CType(imgSlide.ImageUrl.Substring(currentSlidePrompt), Integer) If currentSlide <> hostSlide Then imgSlide.ImageUrl = "~/conference/handlers/pptHandler.ashx?id=" & fileID & "&hid=" & Session("hostID") & "&num=" & hostSlide End If\[/code\]In chrome only. If the slide has not changed it will fetch the same slide and there is a "blink". Hiding it in a transition only has it transitioning to itself. I need chrome to not refresh the picture at all unless it is different.
 
Back
Top