Don't like ads? PRO users don't see any ads ;-)

Add a gift shop to your ASP.NET application

By: priore on May 29th, 2012  |  syntax: C#  |  size: 0.87 KB  |  hits: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // With MYZazzleStore Library for ASP.NET it's really simple to add a gift shop to your ASP.NET application for your users.
  2. // With a few lines of code you can give your users the opportunity to purchase T-shirts personalized
  3. // mugs, iphone / ipad covers and other types of gifts. It also allows you to increase financial gains
  4. // and increase the popularity of your products.
  5. //
  6. // look for source code : https://github.com/priore/MYZazzleStore-for-ASP.NET
  7.  
  8. //ASP.NET page
  9.  
  10. <%@ Register Assembly="Priore.Web.MYZazzleStore"
  11.     Namespace="Priore.Web.MYZazzleStore" TagPrefix="priore" %>
  12.  
  13. <priore:MYZazzleStoreTable ID="zazzle"
  14.     OnProductClick="zazzle_ProductClick" runat="server">
  15. </priore:MYZazzleStoreTable>
  16.  
  17. //C# ASP.NET Source
  18. protected void zazzle_ProductClick(object sender, string productId)
  19. {
  20.     zazzle.ImageLink = "http://my-domain.com/my-image.jpg"
  21. }