Example #1
0
 protected void ddlType_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     Cache.Remove("IPOIssueList" + userVo.UserId.ToString());
     RadGridIPOIssueList.DataSource = null;
     RadGridIPOIssueList.DataBind();
     pnlSchemeMIS.Visible = false;
 }
Example #2
0
        private void BindIPOIssueList(int type)
        {
            DataTable dtOnlineIPOIssueList = onlineIPOOrderBo.GetIPOIssueList(advisorVo.advisorId, 0, type, customerVo.CustomerId);

            if (dtOnlineIPOIssueList.Rows.Count >= 0)
            {
                if (Cache["IPOIssueList" + userVo.UserId.ToString()] == null)
                {
                    Cache.Insert("IPOIssueList" + userVo.UserId.ToString(), dtOnlineIPOIssueList);
                }
                else
                {
                    Cache.Remove("IPOIssueList" + userVo.UserId.ToString());
                    Cache.Insert("IPOIssueList" + userVo.UserId.ToString(), dtOnlineIPOIssueList);
                }
                //ibtExportSummary.Visible = false;
                RadGridIPOIssueList.DataSource = dtOnlineIPOIssueList;
                RadGridIPOIssueList.DataBind();
            }
            else
            {
                //ibtExportSummary.Visible = false;
                RadGridIPOIssueList.DataSource = dtOnlineIPOIssueList;
                RadGridIPOIssueList.DataBind();
            }
            pnlSchemeMIS.Visible = true;
        }