Posted on: 2/11/2014 2:04:22 AM | Views : 693

Hey everyoe,
I have a link button that seem to be working some what correctly. Here's what going on:
-Click on link button
<asp:LinkButton ID="lnkBtnAddRecentlyPurchasedToFavorites" runat="server" Font-Bold="true" OnClick="lnkBtnAddRecentlyPurchasedToFavorites_Click">[ADD RECENTLY PURCHASED ITEMS TO MY FAVORITES]</asp:LinkButton>
-On button click this code execute:
protected void lnkBtnAddRecentlyPurchasedToFavorites_Click(object sender, EventArgs e) { if (Page.IsPostBack) { if (ddlFavoriteList.Items.Count >= 1) { wservice.CreateRecentlyPurchasedItemsToFavorites(Session[Constant.USERID].ToString(), Convert.ToInt32(ddlFavoriteList.SelectedValue)); } else { wservice.CreateRecen ...

Go to the complete details ...