Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        user = new localhostWebService.UserDetails();
        user.phoneNumber = "0547645029";
        Page.Session["User"] = user;
        if (!Page.IsPostBack)
        {
            CreateMenu();

        }
    }
protected void Page_Load(object sender, EventArgs e)
{
    user = new localhostWebService.UserDetails();
    user.phoneNumber = "0547645029";
    Page.Session["User"] = user;
    if (Page.Session["User"] != null)
    {

        user = (localhostWebService.UserDetails)Page.Session["User"];

        if (!Page.IsPostBack)
        {
            Load_Friends_And_Contacts();
            //Populate1();

            //dataSet = userService.GetContacts(user);
            //Session["DataSet"] = dataSet;
            PopulateFriends();
            PopulateConacts();
        }
    }
    else Response.Redirect("");

}