Instead of image, try to write some random text, for example "In Progress", and make sure you can see the text. If so, than there is something wrong with Image. Your code is write.
By the way, I couldn't see you set OnClick event handler in your markup, did you set it from code-behind ?
ambikabk
Member
128 Points
36 Posts
update progress not working
Jun 12, 2012 09:06 AM|LINK
I have a update progress control with progress template having a image control with gif image
and a button inside my update panel .. as below
<div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"> <ProgressTemplate> <img alt="" src="../images/bigrotation2.gif" style="width: 100px; height: 100px" /> </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </div>on button click
System.Threading.Thread.Sleep(2000)
Still i cant get the update progress image to be displayed on my page
AMBI
_Manvel_
Contributor
4240 Points
922 Posts
Re: update progress not working
Jun 12, 2012 09:16 AM|LINK
Instead of image, try to write some random text, for example "In Progress", and make sure you can see the text. If so, than there is something wrong with Image. Your code is write.
By the way, I couldn't see you set OnClick event handler in your markup, did you set it from code-behind ?
ambikabk
Member
128 Points
36 Posts
Re: update progress not working
Jun 12, 2012 09:43 AM|LINK
yes ,, still it wont work
AMBI
ambikabk
Member
128 Points
36 Posts
Re: update progress not working
Jun 12, 2012 09:43 AM|LINK
yes ,, still it wont work
AMBI
ambikabk
Member
128 Points
36 Posts
Re: update progress not working
Jun 12, 2012 09:54 AM|LINK
in code behind i have
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
System.Threading.Thread.Sleep(2000)
End Sub
still update progress is not displaying either of image or text
AMBI
_Manvel_
Contributor
4240 Points
922 Posts
Re: update progress not working
Jun 12, 2012 11:54 AM|LINK
Can you post complete markup and code ?
chetan.sarod...
All-Star
65749 Points
11148 Posts
Re: update progress not working
Jun 13, 2012 03:48 AM|LINK
This may be related to image path, please check the image path
http://vincexu.blogspot.in/2009/08/updateprogress-is-not-working-with.html
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.