0

如何使用后面的代码向我的 asp:linkbutton 添加背景图像?单击链接后,我想更改背景图像吗?谢谢

<asp:LinkButton ID="home" runat="server">home</asp:LinkButton>
4

1 回答 1

1
in page_load event when you click and make a postback change image

 if (IsPostBack)
       {                  
                 ImageButton1.ImageUrl = "~/Images/newimage.gif";                           

       }
于 2012-08-15T22:21:47.927 回答