Esempio n. 1
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        long UserID = -1;

        try
        {
            UserID = Shove._Convert.StrToLong(Shove._Web.Utility.GetRequest("id"), -1);
        }
        catch { }

        if (UserID < 1)
        {
            PF.GoError(ErrorNumber.Unknow, "参数错误", this.GetType().FullName);

            return;
        }
        if (!new SLS.Lottery().ValidID(LotteryID))
        {
            PF.GoError(ErrorNumber.Unknow, "参数错误!(彩种)", this.GetType().FullName);

            return;
        }

        BindData(UserID, LotteryID);
    }
Esempio n. 2
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        string gPagerId = ((Shove.Web.UI.ShoveGridPager)(Sender)).ID;

        switch (gPagerId)
        {
        case "gPagerHistory":
            hdCurDiv.Value = "divBuy";
            BindHistoryData();
            break;
        }
    }
Esempio n. 3
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        string gPagerId = ((Shove.Web.UI.ShoveGridPager)(Sender)).ID;

        switch (gPagerId)
        {
        case "gPagergDistills":
            hdCurDiv.Value = "divUserDistills";
            BindDistills();
            break;
        }
    }
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        Shove.Web.UI.ShoveGridPager gPager = (Shove.Web.UI.ShoveGridPager)Sender;

        if (gPager.ID == "gPager")
        {
            hdCurDiv.Value = "divMyFollowSchemes";
            BindData();
        }
        else if (gPager.ID == "gPagerSetFollowScheme")
        {
            hdCurDiv.Value = "divSetMyFollowSchemes";
            BindDataForFriendFollowScheme();
        }
    }
Esempio n. 5
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        Shove.Web.UI.ShoveGridPager gPager = (Shove.Web.UI.ShoveGridPager)Sender;

        if (gPager.ID == "gPagerHistory")
        {
            hdCurDiv.Value = "divHistory";
            BindHistoryData();
        }
        else if (gPager.ID == "gPager_Reward")
        {
            hdCurDiv.Value = "divReward";
            BindDataReward();
        }
    }
Esempio n. 6
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        Shove.Web.UI.ShoveGridPager gPager = (Shove.Web.UI.ShoveGridPager)Sender;

        if (gPager.ID == "gPagerHistory")
        {
            hdCurDiv.Value = "divHistory";
            BindHistoryData();
            Script = "ShowOrHiddenDiv(\"divHistory\");clickTabMenu(document.getElementById(\"tdHistory\"),'url(images/admin_qh_100_1.jpg)', 'myIcaileTab');";
        }
        else if (gPager.ID == "gPager_Reward")
        {
            hdCurDiv.Value = "divReward";
            BindDataReward();
        }
    }
Esempio n. 7
0
    protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
    {
        string gPagerId = ((Shove.Web.UI.ShoveGridPager)(Sender)).ID;

        switch (gPagerId)
        {
        case "gPager":
            hdCurDiv.Value = "divAccountDetail";
            BindData();
            break;

        case "gPagerHistory":
            hdCurDiv.Value = "divBuy";
            BindHistoryData();
            break;

        case "gPagerReward":
            hdCurDiv.Value = "divReward";
            BindRewardData();
            break;

        case "gPagerUserPay":
            hdCurDiv.Value = "divUserPay";
            BindUserPayData();
            break;

        case "gPagergDistills":
            hdCurDiv.Value = "divUserDistills";
            BindDistills();
            break;

        case "gPagerScoring":
            hdCurDiv.Value = "divScoring";
            BindScoring();
            break;
        }
    }
Esempio n. 8
0
 protected void gPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
 {
     BindData();
 }
Esempio n. 9
0
 protected void gPager1_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
 {
     BindDataForSystemMessage();
 }
Esempio n. 10
0
 protected void gRewardPager_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
 {
     BindDataInvestHistory();
     //lbMessage.Text = "<script>ExchangeDivMenu2('RoomWelcome',3,4);document.getElementById(\"RoomWelcome3\").className='RoomWelcome';</script>";
 }
Esempio n. 11
0
 protected void gPager1_PageWillChange(object Sender, Shove.Web.UI.PageChangeEventArgs e)
 {
     BindTransactionList();
 }