I am having trouble getting a button to work properly, it works the first time it is pressed but then it doesn't work again when pressed.
<script runat="server" language="C#" type="">
public int LogoWidth = 150;
public void btn1_Click(Object s, EventArgs e) {
LogoButton.AlternateText = "Hello World";
LogoWidth += 10;
}
</script>
<asp:ImageButton runat="server" id="LogoButton" ImageUrl="/SiteCollectionImages/EQCFullLogo.jpg" OnClick="btn1_Click" Height="100%" Width="100%" AlternateText="Equation Consulting"></asp:ImageButton>