Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         long itemId = long.Parse(Context.Request.QueryString["Id"]);
         // First request implicitly start the conversation
         Item item = itemDAO.FindById(itemId);
         Session[ItemKey]  = item;
         editItemName.Text = item.Description; // TODO: Just for testing
         // ... Show the item
         //btnApprove.Click += new EventHandler(btnApprove_Click);
     }
 }