Advertisement
priore

Add a gift shop to your ASP.NET application

May 29th, 2012
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.87 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement