Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
Changed download ImageButtons to LinkButtons
Browse files Browse the repository at this point in the history
svn path=/trunk/release/; revision=157903
  • Loading branch information
Joseph Hill committed May 25, 2010
1 parent 7df16cc commit d417877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions website/monovs/download/Default.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
<p class="small">* Fields are required. <a class="external" href="http://www.novell.com/company/policies/privacy/">Novell's privacy policy</a>.</p>


<asp:ImageButton CausesValidation="true" ID="btnDownloadMsi" runat="server"
ImageUrl="~/img/mp-download-2008.png" onclick="btnDownloadMsi_Click" /> or
<asp:ImageButton CausesValidation="true" ID="btnDownloadVsix" runat="server"
ImageUrl="~/img/mp-download-2010.png" onclick="btnDownloadVsix_Click" />
<asp:LinkButton CausesValidation="true" ID="btnDownloadMsi" runat="server"
Text="Download for VS 2008" onclick="btnDownloadMsi_Click" /> or
<asp:LinkButton CausesValidation="true" ID="btnDownloadVsix" runat="server"
Text="Download for VS 2010" onclick="btnDownloadVsix_Click" />

</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions website/monovs/download/Default.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ protected void Page_Load(object sender, EventArgs e)
}
}

protected void btnDownloadMsi_Click(object sender, ImageClickEventArgs e)
protected void btnDownloadMsi_Click(object sender, EventArgs e)
{
StartDownload("msi");
}

protected void btnDownloadVsix_Click(object sender, ImageClickEventArgs e)
protected void btnDownloadVsix_Click(object sender, EventArgs e)
{
StartDownload("vsix");
}
Expand Down

0 comments on commit d417877

Please sign in to comment.