Skip to content

Instantly share code, notes, and snippets.

@priore
Created October 25, 2013 23:56
Show Gist options
  • Save priore/7163642 to your computer and use it in GitHub Desktop.
Save priore/7163642 to your computer and use it in GitHub Desktop.
Add a gift shop to your ASP.NET application
// With MYZazzleStore Library for ASP.NET it's really simple to add a gift shop to your ASP.NET application for your users.
// With a few lines of code you can give your users the opportunity to purchase T-shirts personalized
// mugs, iphone / ipad covers and other types of gifts. It also allows you to increase financial gains
// and increase the popularity of your products.
//
// look for source code : https://github.com/priore/MYZazzleStore-for-ASP.NET
//ASP.NET page
<%@ Register Assembly="Priore.Web.MYZazzleStore"
Namespace="Priore.Web.MYZazzleStore" TagPrefix="priore" %>
<priore:MYZazzleStoreTable ID="zazzle"
OnProductClick="zazzle_ProductClick" runat="server">
</priore:MYZazzleStoreTable>
//C# ASP.NET Source
protected void zazzle_ProductClick(object sender, string productId)
{
zazzle.ImageLink = "http://my-domain.com/my-image.jpg"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment