C# code to change URL of an image in UpdateProgress

seb36

New Member
I am trying to create a User ID availability check for new users while registering in a website.My code looks like this:\[code\]<table> <tr> <td> <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <asp:Image ID="Image1" runat="server" Height="23px" ImageUrl="~/Images/x_mark_red.png" Width="24px" /> </ProgressTemplate> </asp:UpdateProgress> <asp:Button ID="Button2" runat="server" Text="Check" OnClick="Button2_Click" /> </td> </tr></table>\[/code\]I want to write a C# code to change the image URL, and this is for changing the image from Spinning to Green check mark or to Red X Mark.Any ideas please?Best regards
 
Back
Top