private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();
            DataTable     condos_dt = new DataTable();

            condos_dt = clsobj.GetDreamHouse();
            dt        = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../MyListings.aspx' title='My Listings'>My Listings</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li><a href=#>Pre-Constructions</a>");//</li>
                if (condos_dt.Rows.Count > 0)
                {
                    StrMenu.Append("<ul >");

                    for (int j = 0; j < condos_dt.Rows.Count; j++)
                    {
                        StrMenu.Append("<li><a href='../DreamHouseDetail.aspx?Id=" + condos_dt.Rows[j]["Id"] + "' title=''>" + condos_dt.Rows[j]["Title"] + "</a></li>");
                    }
                    StrMenu.Append("</ul>");
                }

                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='home_worth.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("</ul>");
            }
            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 2
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                StrMenu.Append("<div id='sidebar-wrapper'>");
                StrMenu.Append("<ul  class='sidebar-nav'>");
                StrMenu.Append("<a id='menu-close' href='#' class='btn btn-default btn-lg pull-right toggle'><i class='glyphicon glyphicon-remove'></i></a>");

                StrMenu.Append("<li class='sidebar-brand'> <a href='#' class='menu_heding'> NJ Egbo-Nwalor</a></li>");
                StrMenu.Append("<li><a href='../Home.aspx' title='Home' class='active'>Home</a></li>");
                StrMenu.Append("<li><a href='StaticPages.aspx?PageID=22' title='Seller'>Seller</a></li>");
                StrMenu.Append("<li><a href='Buyers.aspx' title='Buyer'>Buyer</a></li>");
                StrMenu.Append("<li><a href='Home_Worth.aspx' title='Free Market Evaluation'>Free Market Evaluation </a></li>");
                StrMenu.Append("<li><a href='Landing_Page.aspx' title='Find your Dream Home'>Find your Dream Home </a></li>");
                StrMenu.Append("<li><a href='Calculators.aspx' title='Calculators'>Calculators </a></li>");
                StrMenu.Append("<li><a href='RealEstateNews.aspx' title='Real Estate News'>Real Estate News </a></li>");
                StrMenu.Append("<li><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour </a></li>");
                StrMenu.Append("<li><a href='https://www.realtor.ca/' title='Realtor.ca'>Realtor.ca</a></li>");
                StrMenu.Append("<li><a href='ContactUs.aspx' title='Contact Us'>Contact Us </a></li>");
                StrMenu.Append("</ul>");
                StrMenu.Append("</div>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 3
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' class='active'>Home</a></li>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        //if (PageName == dt.Rows[i]["PageName"].ToString())
                        //{
                        //    StrMenu.Append("<li class='active'><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        //}
                        //else
                        //{
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }
                //StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='Login'>Login</a></li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                //StrMenu.Append("</li>");
                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                //StrMenu.Append("</li>");
                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                //StrMenu.Append("</li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='Free-home-evaluation.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='admin/adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");
            }
            //dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 4
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' class='active'>Home</a></li>");

                StrMenu.Append("<li><a href=#>Seller </a>");//</li>
                StrMenu.Append("<ul>");
                StrMenu.Append("<li><a href='SellingyourHouse.aspx' title='Selling your House'>Selling your House</ a> </li>");
                StrMenu.Append("<li><a href='RenovatingResale.aspx' title='Renovating Resale'>Renovating Resale</a> </li>");
                StrMenu.Append("<li><a href='CommonSellingMistakes.aspx' title='Common Selling Mistakes'>Common Selling Mistakes</a> </li>");

                StrMenu.Append("</ul>");
                clsobj.PageID = Convert.ToInt32(dt.Rows[1]["ID"]);
                dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                StrMenu.Append("<li><a href=#>" + dt.Rows[1]["PageName"] + "</a>");//</li>
                StrMenu.Append("<ul>");
                for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                {
                    StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                }
                StrMenu.Append("</ul>");
                StrMenu.Append("</li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='Login'>Login</a></li>");


                StrMenu.Append("</li>");

                StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                StrMenu.Append("</li>");
                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                //StrMenu.Append("</li>");

                StrMenu.Append("<li class='test'><a href='Free-home-evaluation.aspx' title='Free Market Evaluation'>Free Market Evaluation</a></li>");
                StrMenu.Append("<li class='test'><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a style='border:none' href='View_Testimonials.aspx' title='Testimonials'>Testimonials</a></li>");
                StrMenu.Append("<li><a href='DreamHouse.aspx' title='Pre-construction'>Pre-constructions</a> </li>");
                StrMenu.Append("<li class='test' ><a  href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");

                //StrMenu.Append("<li class='test' style='background:none;'><a href='admin/adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();
            DataTable     condos_dt = new DataTable();

            condos_dt = clsobj.GetDreamHouse();
            dt        = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");
                StrMenu.Append("<li><a href=#>Residential & Commercial</a>");//</li>

                StrMenu.Append("<ul >");
                StrMenu.Append("<li><a href='http://www.iciworld.com/result?ft=ntce&[email protected]' title=''>My Haves and Wants</a></li>");
                StrMenu.Append("<li><a href='http://www.iciworld.com/lp4m.jsp?mid=10827&pg=searchAppWOres'>Residential Haves and Wants, Mostly Exclusive</a></li>");
                StrMenu.Append("<li><a href='http://www.iciworld.com/lp4m.jsp?mid=10827&pg=citiesONactive'>Ontario Commercial, Mostly Exclusive </a></li>");
                StrMenu.Append("<li><a href='http://www.iciworld.com/lp4m.jsp?mid=10827&pg=indexworld'> World Commercial</ a></li>");
                StrMenu.Append("<li><a href='http://www.iciworld.com/lp4m.jsp?mid=10827&pg=businessforsaleactive'>Business Haves and Wants </a></li>");
                StrMenu.Append("<li><a href='http://www.iciworld.com/xsearch?ft=fCat'>For Sale by Owner </a></li>");
                StrMenu.Append("</ul>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }



                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                StrMenu.Append("</li>");

                StrMenu.Append("<li class='test' style='background:none;'><a href='home_worth.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("</ul>");
            }
            dynamicmenus.Text = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' class='active'>Home</a></li>");
                StrMenu.Append("<li><a href=#>Seller </a>");//</li>
                StrMenu.Append("<ul>");
                StrMenu.Append("<li><a href='SellingyourHouse.aspx' title='Selling your House'>Selling your House</ a> </li>");
                StrMenu.Append("<li><a href='RenovatingResale.aspx' title='Renovating Resale'>Renovating Resale</a> </li>");
                StrMenu.Append("<li><a href='CommonSellingMistakes.aspx' title='Common Selling Mistakes'>Common Selling Mistakes</a> </li>");

                StrMenu.Append("</ul>");
                clsobj.PageID = Convert.ToInt32(dt.Rows[1]["ID"]);
                dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                StrMenu.Append("<li><a href=#>" + dt.Rows[1]["PageName"] + "</a>");//</li>
                StrMenu.Append("<ul>");
                for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                {
                    StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                }
                StrMenu.Append("</ul>");
                StrMenu.Append("</li>");


                StrMenu.Append("<li><a href=#>Calculators </a>");//</li>
                StrMenu.Append("<ul>");
                StrMenu.Append("<li><a href='Calculator.aspx' title='Land Transfer Tax Calculator'>Land Transfer Tax Calculator</ a> </li>");
                //StrMenu.Append("<li><a href='MortgageCalculator.aspx' title='Mortgage Loan calculator'>Mortgage Loan calculator</a> </li>");
                StrMenu.Append("<li><a href='Mortgage_Affordability_Calculator.aspx' title='Mortgage Payment calculator'>Mortgage Payment calculator</a> </li>");
                StrMenu.Append("<li><a href='PremiumCalculator.aspx' title='CMHC Premium calculator'>CMHC Premium calculator</a> </li>");
                StrMenu.Append("</ul>");

                StrMenu.Append("</li>");

                //StrMenu.Append("<li>");
                //    StrMenu.Append("<a  href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                //    StrMenu.Append("</li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../DreamHouse.aspx' title='Pre-Constructions'>Pre-Constructions</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='Home_Worth.aspx' title='Free Market Evaluation'>Free Market Evaluation </a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='http://mortgagealliance.com/monikaverma' title='Mortgage Services'>Mortgage Services</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a style='border:none' href='View_Testimonials.aspx' title='Testimonials'>Testimonials</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a style='border:none' href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");

                StrMenu.Append("</ul>");
            }
            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 7
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }



                StrMenu.Append("<li><a href=#>Concierge </a>");//</li>
                StrMenu.Append("<ul>");
                StrMenu.Append("<li><a href='http://www.edu.gov.on.ca/' title='Schools'>Schools</ a> </li>");
                StrMenu.Append("<li><a href='http://www.trebhome.com/about_GTA/Neighbourhood/index.html' title='Neighbourhoods'>Neighbourhoods</a> </li>");
                StrMenu.Append("<li><a href='RealEstateNews.aspx' title='News'>News</a> </li>");

                StrMenu.Append("</ul>");
                StrMenu.Append("<li style='background:none;'><a href='Calculators.aspx' title='Calculators'>Calculators</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");

                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 8
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test'><a href='../Home.aspx' title='Home' class='active'>Home</a></li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }

                //StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("<li style='background:none;'><a href='Home_worth.aspx' title='Home Evaluation'>Free Home Evaluation</a></li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='landing_page.aspx' title='Find your Dream Home'>Find your Dream Home</a>");
                StrMenu.Append("</li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                //StrMenu.Append("</li>");

                StrMenu.Append("<li style='background:none;'><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='admin/adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");;
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 9
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li><a href='../Home.aspx' title='Home'>Home</a></li>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }
                StrMenu.Append("<li><a href=#>Exclusive</a>");//</li>
                StrMenu.Append("<ul >");
                StrMenu.Append("<li><a href='../my_haves_and_wants.aspx' title=''>My Haves and Wants</a></li>");
                StrMenu.Append("<li><a href='../Residential_Haves_and_Wants.aspx'>Residential Haves and Wants, Mostly Exclusive</a></li>");
                StrMenu.Append("<li><a href='../Ontario_Commercial_Mostly_Exclusive.aspx'>Ontario Commercial, Mostly Exclusive </a></li>");
                StrMenu.Append("<li><a href='../World_Commercial.aspx'> World Commercial</ a></li>");
                StrMenu.Append("<li><a href='../Business_Haves_and_Wants.aspx'>Business Haves and Wants </a></li>");
                StrMenu.Append("<li><a href='../For_Sale_by_Owner.aspx'>For Sale by Owner </a></li>");
                StrMenu.Append("</ul>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test'><a href='home_worth.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                StrMenu.Append("<li class='test' ><a href='VirtualTour.aspx' title='Virtual Tour'>Virtual Tour</a></li>");
                StrMenu.Append("<li class='test'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("</ul>");
            }
            dynamicmenus.Text = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home'>Home</a></li>");
                StrMenu.Append("<li style='background:none;'><a href='whysellwithus.aspx' title='Why Sell with us'>Why Sell with us</a></li>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }


                StrMenu.Append("<li class='test' style='background:none;'><a href='Featured_Properties.aspx' title='Featured Properties'>Featured Properties</a></li>");
                StrMenu.Append("<li style='background:none;'><a href='View_Testimonials.aspx' title='Testimonials'>Testimonials</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 11
0
        //protected void GetSiteData()
        //{
        //    try
        //    {
        //        DataTable dt = new DataTable();
        //        dt = clsobj.GetSiteSettings();
        //        if (dt.Rows.Count > 0)
        //        {

        //            byte[] Logoimage = (byte[])dt.Rows[0]["BannerImage"];

        //            if (Logoimage.Length > 0)
        //            {
        //                string base64String = Convert.ToBase64String(Logoimage, 0, Logoimage.Length);
        //                //Adminlogo.Src = "data:image/png;base64," + base64String;
        //            }

        //        }
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}


        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='../Default.aspx' title='Home' class='active'>Home</a></li>");
                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                //StrMenu.Append("</li>");
                //for (int i = 0; i < dt.Rows.Count; i++)
                //{
                //    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                //    dtSubmenu = clsobj.GetSubMenuBy_PageID();
                //    if (dtSubmenu.Rows.Count > 0)
                //    {
                //        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                //        StrMenu.Append("<ul>");
                //        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                //        {
                //            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                //        }
                //        StrMenu.Append("</ul>");
                //        StrMenu.Append("</li>");
                //    }
                //    else
                //    {
                //        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                //    }
                //}
                //StrMenu.Append("<li class='test' style='background:none;'><a  href='../StaticPages.aspx?PageID=39' title='Free Market Evaluation'> <img src='images/4.png' /><div><span>F</span>ree Market Evaluation</div></a></li>");
                ////StrMenu.Append("<li class='test' style='background:none;'><a  href='Calculators.aspx' title='calculators'> <img src='images/2.png' /><div><span>C</span>alculators</div></a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a  href='#' title='Testimonial'> <img src='images/2.png' /><div><span>T</span>estimonial</div></a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a  href='#' title='Property looking for'> <img src='images/3.png' /><div><span>P</span>roperty Looking for</div></a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a  href='ContactUs.aspx' title='contact us'> <img src='images/1.png' /><div><span>C</span>ontact us</div></a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='../Free-home-evaluation.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a  href='Calculators.aspx' title='Calculators'>Calculators</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a Target='blank' href='http://www.torontorealestateboard.com/about_GTA/Neighbourhood/index.html' title='Neighbourhood Sold Report'>Neighbourhood Sold Report</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='../ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='../Admin/Adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");
            }
            // dynamicmenus.Text = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }


                StrMenu.Append("<li><a href=#>Rental</a>");//</li>

                StrMenu.Append("<ul >");
                StrMenu.Append("<li><a href='http://www.sjto.gov.on.ca/ltb/' title='' target='_blank'>Landlord and Tenant Board</a></li>");
                StrMenu.Append("<li><a href='http://www.sjto.gov.on.ca/ltb/help-for-landlords/' target='_blank'>Help for Landlords</a></li>");
                StrMenu.Append("<li><a href='http://www.sjto.gov.on.ca/ltb/help-for-tenants/' target='_blank'>Help for Tenants </a></li>");
                StrMenu.Append("<li><a href='../Search.aspx?Rental=Rental'>Rental Search</ a></li>");
                StrMenu.Append("</ul>");
                StrMenu.Append("<li>");
                StrMenu.Append("<li style='background:none;'><a href='home_worth.aspx' title='Home Evaluation'>Free Home Evaluation</a></li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='landing_page.aspx' title='Find your Dream Home'>Find your Dream Home</a>");
                StrMenu.Append("</li>");

                StrMenu.Append("<li style='background:none;'><a href='Calculators.aspx' title='Calculators'>Calculators</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 13
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home'>Home</a></li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }

                //DataTable exclusive_dt = clsobj.GetExclusiveListing();

                //StrMenu.Append("<li><a href=#>My Listing</a>");//</li>
                //if (exclusive_dt.Rows.Count > 0)
                //{
                //    StrMenu.Append("<ul >");

                //    for (int j = 0; j < exclusive_dt.Rows.Count; j++)
                //    {
                //        StrMenu.Append("<li><a href='../ExclusiveDetailPage.aspx?Id=" + exclusive_dt.Rows[j]["Id"] + "' title='Home'>" + exclusive_dt.Rows[j]["Title"] + "</a></li>");
                //    }
                //    StrMenu.Append("</ul>");
                //}
                StrMenu.Append("<li class='test' style='background:none;'><a href='Home_worth.aspx' title='Home Evaluation'>Free Home Evaluation</a></li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='landing_page.aspx' title='Find your Dream Home'>Find your Dream Home</a>");
                StrMenu.Append("</li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../RealEstateNews.aspx' title='Real Estate News'>Real Estate News</a>");
                //StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='Calculators.aspx' title='Calculators'>Calculators</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");

                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 14
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            DataTable condos_dt = new DataTable();

            condos_dt = clsobj.GetDreamHouse();


            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");
                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../about.aspx' title='About us'>About us</a>");
                StrMenu.Append("</li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        //if (PageName == dt.Rows[i]["PageName"].ToString())
                        //{
                        //    StrMenu.Append("<li class='active'><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        //}
                        //else
                        //{
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }

                StrMenu.Append("<li><a href=#>Pre Constructions</a>");//</li>
                if (condos_dt.Rows.Count > 0)
                {
                    StrMenu.Append("<ul >");

                    for (int j = 0; j < condos_dt.Rows.Count; j++)
                    {
                        StrMenu.Append("<li><a href='../DreamHouseDetail.aspx?Id=" + condos_dt.Rows[j]["Id"] + "' title=''>" + condos_dt.Rows[j]["Title"] + "</a></li>");
                    }
                    StrMenu.Append("</ul>");
                }

                StrMenu.Append("<li><a href=#>Neighbourhood Guide</a>");//</li>
                StrMenu.Append("<ul>");
                StrMenu.Append("<li><a href='http://www.edu.gov.on.ca/' title='Schools' target='_blank'>Schools</ a> </li>");
                StrMenu.Append("<li><a href='http://www.trebhome.com/about_GTA/Neighbourhood/index.html' title='Neighbourhoods' target='_blank'>Neighbourhoods</a> </li>");
                StrMenu.Append("<li><a href='RealEstateNews.aspx' title='News' target='_blank'>News</a> </li>");

                StrMenu.Append("</ul>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='admin/adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Default.aspx' title='Home' class='active'>Home</a></li>");


                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=../Default.aspx>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }
                DataTable exclusive_dt = clsobj.GetExclusiveListing();

                StrMenu.Append("<li><a href=#>My Listing</a>");//</li>
                if (exclusive_dt.Rows.Count > 0)
                {
                    StrMenu.Append("<ul >");

                    for (int j = 0; j < exclusive_dt.Rows.Count; j++)
                    {
                        StrMenu.Append("<li><a href='../ExclusiveDetailPage.aspx?Id=" + exclusive_dt.Rows[j]["Id"] + "' title='Home'>" + exclusive_dt.Rows[j]["Title"] + "</a></li>");
                    }
                    StrMenu.Append("</ul>");
                }
                StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='About Us'>Login</a></li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                //StrMenu.Append("</li>");

                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='Free-home-evaluation.aspx' title='About Us'>Home Evaluation</a></li>");
                StrMenu.Append("</ul>");
            }


            // string str = @" <ul class='nav'><li style='background:none;' class='test'><a class='active' title='Home' href='../Default.aspx'>Home</a></li><li class=''><a title='Featured Properties' href='../FeatureListing.aspx'>Featured Properties</a></li><li class=''><a href='../Default.aspx' class='parent'>Seller</a><ul><li><a title='Seller Information' href='../StaticPages.aspx?PageID=22'>Seller Information</a> </li><li><a title='NeighbourHood Sold Report' href='../StaticPages.aspx?PageID=24'>NeighbourHood Sold Report</a> </li></ul></li><li class=''><a href='../Default.aspx' class='parent'>Buyer</a><ul><li><a title='Buying a House ' href='../StaticPages.aspx?PageID=25'>Buying a House </a> </li><li><a title='Choosing a Mortgage Term' href='../StaticPages.aspx?PageID=26'>Choosing a Mortgage Term</a> </li><li><a title='Glossary of terms' href='../StaticPages.aspx?PageID=27'>Glossary of terms</a> </li><li><a title='Helpful Moving Tips' href='../StaticPages.aspx?PageID=28'>Helpful Moving Tips</a> </li><li><a title='Mortgage applicaiton tips ' href='../StaticPages.aspx?PageID=29'>Mortgage applicaiton tips </a> </li><li><a title='Mortgage application steps ' href='../StaticPages.aspx?PageID=30'>Mortgage application steps </a> </li><li><a title='Mortgage Glossary' href='../StaticPages.aspx?PageID=31'>Mortgage Glossary</a> </li><li><a title='Renting VS Buying, Which is better' href='../StaticPages.aspx?PageID=32'>Renting VS Buying, Which is better</a> </li><li><a title='Save your money everyday' href='../StaticPages.aspx?PageID=33'>Save your money everyday</a> </li><li><a title='Selecting and working with a Realtor' href='../StaticPages.aspx?PageID=34'>Selecting and working with a Realtor</a> </li><li><a title='The cost of home buyer' href='../StaticPages.aspx?PageID=35'>The cost of home buyer</a> </li><li><a title='The elements of an offer' href='../StaticPages.aspx?PageID=36'>The elements of an offer</a> </li><li><a title='Tips for choosing a realtor' href='../StaticPages.aspx?PageID=37'>Tips for choosing a realtor</a> </li><li><a title='Types of Mortgages' href='../StaticPages.aspx?PageID=38'>Types of Mortgages</a> </li><li><a title='Understanding market conditions' href='../StaticPages.aspx?PageID=39'>Understanding market conditions</a> </li><li><a title='What is a mortgage' href='../StaticPages.aspx?PageID=40'>What is a mortgage</a> </li><li><a title='Why do I need home inspection' href='../StaticPages.aspx?PageID=41'>Why do I need home inspection</a> </li><li><a title='Why do you want to move' href='../StaticPages.aspx?PageID=42'>Why do you want to move</a> </li></ul></li><li class=''><a href='../Default.aspx' class='parent'>Links</a><ul><li class=''><a title='Useful Search Tools' href='../StaticPages.aspx?PageID=43'>Useful Search Tools</a> </li><li><a title='Real Estate and Housings' href='../StaticPages.aspx?PageID=44'>Real Estate and Housings</a> </li><li><a title='Utilities' href='../StaticPages.aspx?PageID=45'>Utilities</a> </li><li><a title='School Boards, Universities, Colleges' href='../StaticPages.aspx?PageID=46'>School Boards, Universities, Colleges</a> </li><li><a title='Banks and Financial Institutions' href='../StaticPages.aspx?PageID=47'>Banks and Financial Institutions</a> </li><li><a title='Transportation' href='../StaticPages.aspx?PageID=48'>Transportation</a> </li><li><a title='Hospitals and Health Centres' href='../StaticPages.aspx?PageID=49'>Hospitals and Health Centres</a> </li><li><a title='Government' href='../StaticPages.aspx?PageID=50'>Government</a> </li></ul></li><li style='background:none;' class='test'><a title='About Us' href='Admin/Adminlogin.aspx'>Login</a></li><li class=''><a title='Calculators' href='../Calculators.aspx'>Calculators</a></li><li class=''><a title='About Us' href='../About.aspx'>About Us</a></li><li style='background:none;' class='test'><a title='About Us' href='Free-home-evaluation.aspx'>Home Evaluation</a></li></ul>";

            //dynamicmenus.Text = str;

            // dynamicmenus.Text = StrMenu.ToString();
            //Div_menu_bg.InnerHtml = StrMenu.ToString();
        }
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Default.aspx' title='Home' class='active'>Home</a></li>");


                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=../Default.aspx>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }
                DataTable exclusive_dt = clsobj.GetExclusiveListing();

                StrMenu.Append("<li><a href=#>My Listing</a>");//</li>
                if (exclusive_dt.Rows.Count > 0)
                {
                    StrMenu.Append("<ul >");

                    for (int j = 0; j < exclusive_dt.Rows.Count; j++)
                    {
                        StrMenu.Append("<li><a href='../ExclusiveDetailPage.aspx?Id=" + exclusive_dt.Rows[j]["Id"] + "' title='Home'>" + exclusive_dt.Rows[j]["Title"] + "</a></li>");
                    }
                    StrMenu.Append("</ul>");
                }
                StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='About Us'>Login</a></li>");



                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='Free-home-evaluation.aspx' title='About Us'>Home Evaluation</a></li>");
                StrMenu.Append("</ul>");
            }
        }
Exemplo n.º 17
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();
            DataTable condos_dt = new DataTable();

            condos_dt = clsobj.GetDreamHouse();


            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Home.aspx' title='Home' >Home</a></li>");
                StrMenu.Append("<li><a href=#>Exclusive Residential and Commercial </a>");//</li>
                StrMenu.Append("<ul >");
                StrMenu.Append("<li><a href='../my_haves_and_wants.aspx' title=''>My Haves and Wants</a></li>");
                StrMenu.Append("<li><a href='../Residential_Haves_and_Wants.aspx'>Residential Haves and Wants, Mostly Exclusive</a></li>");
                StrMenu.Append("<li><a href='../Ontario_Commercial_Mostly_Exclusive.aspx'>Ontario Commercial, Mostly Exclusive </a></li>");
                StrMenu.Append("<li><a href='../World_Commercial.aspx'> World Commercial</ a></li>");
                StrMenu.Append("<li><a href='../Business_Haves_and_Wants.aspx'>Business Haves and Wants </a></li>");
                StrMenu.Append("<li><a href='../For_Sale_by_Owner.aspx'>For Sale by Owner </a></li>");
                StrMenu.Append("</ul>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=#>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        //if (PageName == dt.Rows[i]["PageName"].ToString())
                        //{
                        //    StrMenu.Append("<li class='active'><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        //}
                        //else
                        //{
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        // }
                    }
                }

                StrMenu.Append("<li><a href=#>Pre Constructions</a>");//</li>
                if (condos_dt.Rows.Count > 0)
                {
                    StrMenu.Append("<ul >");

                    for (int j = 0; j < condos_dt.Rows.Count; j++)
                    {
                        StrMenu.Append("<li><a href='../DreamHouseDetail.aspx?Id=" + condos_dt.Rows[j]["Id"] + "' title=''>" + condos_dt.Rows[j]["Title"] + "</a></li>");
                    }
                    StrMenu.Append("</ul>");
                }

                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                StrMenu.Append("</li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                //StrMenu.Append("</li>");

                StrMenu.Append("<li class='test' style='background:none;'><a href='Free-home-evaluation.aspx' title='Home Evaluation'>Home Evaluation</a></li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='ContactUs.aspx' title='Contact Us'>Contact Us</a></li>");
                //StrMenu.Append("<li class='test' style='background:none;'><a href='admin/adminlogin.aspx' title='Login'>Login</a></li>");
                StrMenu.Append("</ul>");
            }


            dynamicmenus.Text = StrMenu.ToString();
        }
Exemplo n.º 18
0
        private void BindMenusList()
        {
            StringBuilder StrMenu   = new StringBuilder();
            DataTable     dt        = new DataTable();
            DataTable     dtSubmenu = new DataTable();

            dt = clsobj.GetMenuList();



            if (dt.Rows.Count > 0)
            {
                string PageName = dt.Rows[0]["PageName"].ToString();
                StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                StrMenu.Append("<ul class='nav'>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='../Default.aspx' title='Home' class='active'>Home</a></li>");
                //StrMenu.Append("<li ><a href='../FeatureListing.aspx' title='Featured Properties'>Featured Properties</a></li>");

                //StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                //StrMenu.Append("<ul class='nav'>");

                //    //seller submenu
                //    StrMenu.Append("<li ><a href='#' title='Sellers'>Sellers</a>");
                //    StrMenu.Append("<ul>");
                //    StrMenu.Append("<li><a href='../sellerinformation.aspx'>Seller information</a></li>");
                //    StrMenu.Append("<li><a href='../Free-home-evaluation.aspx'>Free Evaluation</a></li>");
                //    StrMenu.Append("<li><a href='http://www.torontorealestateboard.com/about_GTA/Neighbourhood/index.html' target='_blank'>Neighborhood Sold Report</a></li>");
                //    StrMenu.Append("</ul>");
                //    StrMenu.Append("</li>");
                //    //end seller menu

                //    StrMenu.Append("<li ><a href='#' title='Buyers'>Buyers</a>");
                //    StrMenu.Append("<ul>");
                //    StrMenu.Append("<li><a href='../BuyingAHouse.aspx'>Buying A House</a></li>");
                //    StrMenu.Append("<li><a href='../ChoosingAMortgageTerm.aspx'>Choosing A Mortgage Term</a></li>");
                //    StrMenu.Append("<li><a href='../GlossaryOfTerms.aspx'>Glossary Of Terms</a></li>");
                //    StrMenu.Append("<li><a href='../HelpfulMovingTips.aspx'>Helpful MovingTips</a></li>");
                //    StrMenu.Append("<li><a href='../MortgageApplicaitonTips.aspx'>Mortgage Applicaiton Tips</a></li>");
                //    StrMenu.Append("<li><a href='../MortgageApplicationSteps.aspx'>Mortgage Application Steps</a></li>");
                //    StrMenu.Append("<li><a href='../MortgageGlossary.aspx'>Mortgage Glossary</a></li>");
                //    StrMenu.Append("<li><a href='../RentingVSBuyingWhichisbetter.aspx'>Renting VS Buying Which is better</a></li>");
                //    StrMenu.Append("<li><a href='../SaveYourMoneyEveryDay.aspx'>Save Your Money EveryDay</a></li>");
                //    StrMenu.Append("<li><a href='../SelectingAndWorkingWithARealtor.aspx'>Selecting And Working With A Realtor</a></li>");
                //    StrMenu.Append("<li><a href='../TheCostofHomeBuyer.aspx'>The Cost of HomeBuyer</a></li>");
                //    StrMenu.Append("<li><a href='../TheElementsOfAnOffer.aspx'>The Elements Of An Offer</a></li>");
                //    StrMenu.Append("<li><a href='../TipsforChoosingARealtor.aspx'>Tips for Choosing A Realtor</a></li>");
                //    StrMenu.Append("<li><a href='../TypesofMortgages.aspx'>Types of Mortgages</a></li>");
                //    StrMenu.Append("<li><a href='../UnderstandingMarketConditions.aspx'>Understanding Market Conditions</a></li>");
                //    StrMenu.Append("<li><a href='../WhatIsAMortgage.aspx'>What Is A Mortgage</a></li>");
                //    StrMenu.Append("<li><a href='../WhyDoINeedHomeInspection.aspx'>Why Do I Need Home Inspection</a></li>");
                //    StrMenu.Append("<li><a href='../WhyDoYouWantToMove.aspx'>Why Do You Want To Move</a></li>");
                //    StrMenu.Append("</ul>");
                //    StrMenu.Append("</li>");
                //    //submenu
                //    StrMenu.Append("<li>");
                //    StrMenu.Append("<a href='#' title='Links'>Links</a>");
                //    StrMenu.Append("<ul>");
                //    StrMenu.Append("<li><a href='../UsefulSearchTools.aspx'>Search Tools</a></li>");
                //    StrMenu.Append("<li><a href='../RealEstateandHousings.aspx'>Real Estate & Housings</a></li>");
                //    StrMenu.Append("<li><a href='../Utilities.aspx'>Utilities</a></li>");
                //    StrMenu.Append("<li><a href='../SchoolBoardsUniversities.aspx'>School Boards, Universities, Colleges</a></li>");
                //    StrMenu.Append("<li><a href='../BanksandFinancialInstitutions.aspx'>Banks and Financial Institutions</a></li>");
                //    StrMenu.Append("<li><a href='../Transportation.aspx'>Transportation</a></li>");
                //    StrMenu.Append("<li><a href='../HospitalsandHealthCentres.aspx'>Hospitals and Health Centres</a></li>");
                //    StrMenu.Append("<li><a href='../Government.aspx'>Government</a></li>");
                //    StrMenu.Append("</ul>");
                //    StrMenu.Append("</li>");
                //    //end submenu



                //    //StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                //StrMenu.Append("<ul class='nav'>");
                //    //StrMenu.Append("<li class='test' style='background:none;'><a href='../Calculators.aspx' title='Calculator'>Calculators</a></li>");

                //    //StrMenu.Append("<a class='toggleMenu' href='#'></a>");
                //    //StrMenu.Append("<ul class='nav'>");
                //    //StrMenu.Append("<li class='test' style='background:none;'><a href='../About.aspx' title='About Us'>About Us</a></li>");



                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../Admin/AdminLogin.aspx' title='Login'>Login</a>");
                //StrMenu.Append("</li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='Admin.aspx' title='Login'>Login</a>");
                //StrMenu.Append("</li>");
                //StrMenu.Append("<li ><a href='../Blog.aspx' title='Blogs'>Blogs</a></li>");

                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    clsobj.PageID = Convert.ToInt32(dt.Rows[i]["ID"]);
                    dtSubmenu     = clsobj.GetSubMenuBy_PageID();
                    //check if it has submenu
                    if (dtSubmenu.Rows.Count > 0)
                    {
                        StrMenu.Append("<li><a href=../Default.aspx>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                        StrMenu.Append("<ul>");
                        for (int j = 0; j < dtSubmenu.Rows.Count; j++)
                        {
                            StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dtSubmenu.Rows[j]["id"] + "' title='" + dtSubmenu.Rows[j]["PageName"] + "'>" + dtSubmenu.Rows[j]["PageName"] + "</a> </li>");
                        }
                        StrMenu.Append("</ul>");
                        StrMenu.Append("</li>");
                    }
                    else
                    {
                        StrMenu.Append("<li><a href='../StaticPages.aspx?PageID=" + dt.Rows[i]["id"] + "' title='" + dt.Rows[i]["PageName"] + "'>" + dt.Rows[i]["PageName"] + "</a>");//</li>
                    }
                }

                StrMenu.Append("<li class='test' style='background:none;'><a href='Admin/Adminlogin.aspx' title='About Us'>Login</a></li>");

                //StrMenu.Append("<li>");
                //StrMenu.Append("<a href='../Calculators.aspx' title='Calculators'>Calculators</a>");
                //StrMenu.Append("</li>");

                StrMenu.Append("<li>");
                StrMenu.Append("<a href='../About.aspx' title='About Us'>About Us</a>");
                StrMenu.Append("</li>");
                StrMenu.Append("<li class='test' style='background:none;'><a href='Free-home-evaluation.aspx' title='About Us'>Home Evaluation</a></li>");
                StrMenu.Append("</ul>");
            }


            // string str = @" <ul class='nav'><li style='background:none;' class='test'><a class='active' title='Home' href='../Default.aspx'>Home</a></li><li class=''><a title='Featured Properties' href='../FeatureListing.aspx'>Featured Properties</a></li><li class=''><a href='../Default.aspx' class='parent'>Seller</a><ul><li><a title='Seller Information' href='../StaticPages.aspx?PageID=22'>Seller Information</a> </li><li><a title='NeighbourHood Sold Report' href='../StaticPages.aspx?PageID=24'>NeighbourHood Sold Report</a> </li></ul></li><li class=''><a href='../Default.aspx' class='parent'>Buyer</a><ul><li><a title='Buying a House ' href='../StaticPages.aspx?PageID=25'>Buying a House </a> </li><li><a title='Choosing a Mortgage Term' href='../StaticPages.aspx?PageID=26'>Choosing a Mortgage Term</a> </li><li><a title='Glossary of terms' href='../StaticPages.aspx?PageID=27'>Glossary of terms</a> </li><li><a title='Helpful Moving Tips' href='../StaticPages.aspx?PageID=28'>Helpful Moving Tips</a> </li><li><a title='Mortgage applicaiton tips ' href='../StaticPages.aspx?PageID=29'>Mortgage applicaiton tips </a> </li><li><a title='Mortgage application steps ' href='../StaticPages.aspx?PageID=30'>Mortgage application steps </a> </li><li><a title='Mortgage Glossary' href='../StaticPages.aspx?PageID=31'>Mortgage Glossary</a> </li><li><a title='Renting VS Buying, Which is better' href='../StaticPages.aspx?PageID=32'>Renting VS Buying, Which is better</a> </li><li><a title='Save your money everyday' href='../StaticPages.aspx?PageID=33'>Save your money everyday</a> </li><li><a title='Selecting and working with a Realtor' href='../StaticPages.aspx?PageID=34'>Selecting and working with a Realtor</a> </li><li><a title='The cost of home buyer' href='../StaticPages.aspx?PageID=35'>The cost of home buyer</a> </li><li><a title='The elements of an offer' href='../StaticPages.aspx?PageID=36'>The elements of an offer</a> </li><li><a title='Tips for choosing a realtor' href='../StaticPages.aspx?PageID=37'>Tips for choosing a realtor</a> </li><li><a title='Types of Mortgages' href='../StaticPages.aspx?PageID=38'>Types of Mortgages</a> </li><li><a title='Understanding market conditions' href='../StaticPages.aspx?PageID=39'>Understanding market conditions</a> </li><li><a title='What is a mortgage' href='../StaticPages.aspx?PageID=40'>What is a mortgage</a> </li><li><a title='Why do I need home inspection' href='../StaticPages.aspx?PageID=41'>Why do I need home inspection</a> </li><li><a title='Why do you want to move' href='../StaticPages.aspx?PageID=42'>Why do you want to move</a> </li></ul></li><li class=''><a href='../Default.aspx' class='parent'>Links</a><ul><li class=''><a title='Useful Search Tools' href='../StaticPages.aspx?PageID=43'>Useful Search Tools</a> </li><li><a title='Real Estate and Housings' href='../StaticPages.aspx?PageID=44'>Real Estate and Housings</a> </li><li><a title='Utilities' href='../StaticPages.aspx?PageID=45'>Utilities</a> </li><li><a title='School Boards, Universities, Colleges' href='../StaticPages.aspx?PageID=46'>School Boards, Universities, Colleges</a> </li><li><a title='Banks and Financial Institutions' href='../StaticPages.aspx?PageID=47'>Banks and Financial Institutions</a> </li><li><a title='Transportation' href='../StaticPages.aspx?PageID=48'>Transportation</a> </li><li><a title='Hospitals and Health Centres' href='../StaticPages.aspx?PageID=49'>Hospitals and Health Centres</a> </li><li><a title='Government' href='../StaticPages.aspx?PageID=50'>Government</a> </li></ul></li><li style='background:none;' class='test'><a title='About Us' href='Admin/Adminlogin.aspx'>Login</a></li><li class=''><a title='Calculators' href='../Calculators.aspx'>Calculators</a></li><li class=''><a title='About Us' href='../About.aspx'>About Us</a></li><li style='background:none;' class='test'><a title='About Us' href='Free-home-evaluation.aspx'>Home Evaluation</a></li></ul>";

            //dynamicmenus.Text = str;

            // dynamicmenus.Text = StrMenu.ToString();
            //Div_menu_bg.InnerHtml = StrMenu.ToString();
        }