public void GetChartClick(HttpContext context)
        {
            var hManager = new HomeManager();

            var xmlHomeDetails = hManager.GetChartDetails(Global.Core.ClientName);

            if (xmlHomeDetails != null)
            {
                if (xmlHomeDetails.Attributes != null)
                {
                    if (xmlHomeDetails.ChildNodes.Count > 1)
                    {
                        context.Response.Write("redirect:/Pages/CustomCharts/ChartsHome.aspx");
                    }
                    else
                    {
                        if (xmlHomeDetails.ChildNodes != null)
                        {
                            if (xmlHomeDetails.ChildNodes.Item(0) != null)
                            {
                                if (xmlHomeDetails.ChildNodes.Item(0).Attributes["url"] != null)
                                {
                                    if (!string.IsNullOrEmpty(xmlHomeDetails.ChildNodes.Item(0).Attributes["url"].Value))
                                    {
                                        //Response.Redirect("Default.aspx", false);
                                        // Page.ClientScript.RegisterStartupScript(this.GetType(), "OpenWindow", "window.open('YourURL','_newtab');", true);

                                        context.Response.Write("redirect:Default.aspx?fw=HP");
                                    }
                                    else
                                    {
                                        context.Response.Write("makevisible:boxChartMsg");
                                    }
                                }
                                else
                                {
                                    context.Response.Write("makevisible:boxChartMsg");
                                }
                            }
                            else
                            {
                                hManager.Delete();
                                context.Response.Write("makevisible:boxChartMsg");
                            }
                        }
                        else
                        {
                            context.Response.Write("makevisible:boxChartMsg");
                        }
                    }
                }
                else
                {
                    context.Response.Write("makevisible:boxChartMsg");
                }
            }
            else
            {
                context.Response.Write("makevisible:boxChartMsg");
            }
        }