PageRenderTime 41ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/WEB/c/user/_ctrl/_cntOrderItemListTicket.ascx.cs

https://bitbucket.org/zzare/eko
C# | 54 lines | 34 code | 18 blank | 2 comment | 2 complexity | 3411810de12ed7340d239d504798d563 MD5 | raw file
  1. using System;
  2. using System.Collections;
  3. using System.Configuration;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.Security;
  8. using System.Web.UI;
  9. using System.Web.UI.HtmlControls;
  10. using System.Web.UI.WebControls;
  11. using System.Web.UI.WebControls.WebParts;
  12. using System.Xml.Linq;
  13. using System.Collections.Generic;
  14. namespace SM.UI.Controls
  15. {
  16. public partial class c_user_ctrl_cntOrderItemListTicket : BaseControl
  17. {
  18. public Guid OrderID;
  19. public Guid UserId { get; set; }
  20. protected void Page_Load(object sender, EventArgs e)
  21. {
  22. }
  23. public void BindData()
  24. {
  25. eMenikDataContext db = new eMenikDataContext();
  26. //lvList.DataSource = ORDER.GetOrderItemsByOrderActive(OrderID, UserId);
  27. //lvList.DataBind();
  28. }
  29. protected string RenderTicketLink(object o) {
  30. if (o == null)
  31. return "";
  32. string ret = string.Format("<a target=\"_blank\" href=\"{0}\" title=\"edit ticket\" >podrobnosti (ticket)</a>", Page.ResolveUrl( TICKET.Common.GetTicketDetailsCMSHref(new Guid(o.ToString()))));
  33. return ret;
  34. }
  35. }
  36. }