protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         show_ftr_about_us();
         show_address();
         Rptlogoheader.DataSource = bind_logo();
         Rptlogoheader.DataBind();
         Rptlogofooter.DataSource = bind_logo();
         Rptlogofooter.DataBind();
         Rptservices.DataSource = bind_menuservices();
         Rptservices.DataBind();
         rptserviceftr.DataSource = bind_menuservices();
         rptserviceftr.DataBind();
     }
 }
Ejemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //Menu M = (Menu)this.Master.FindControl("NavigationMenu");
            //foreach (MenuItem item in M.Items)
            //{
            //    if (item.Text == "Default")//Replace Home with the page name
            //    {
            //        item.Selected = true;
            //    }
            //}



            show_about();

            Rptservices.DataSource = bind_Services();
            Rptservices.DataBind();

            Rptteam.DataSource = bind_team();
            Rptteam.DataBind();

            //Rptgallery.DataSource = bind_gallery();
            //Rptgallery.DataBind();

            Rpttesti.DataSource = bind_testi();
            Rpttesti.DataBind();

            Rptclientlogos.DataSource = bind_clientlogos();
            Rptclientlogos.DataBind();

            //Rptcounter.DataSource = bind_count();
            //Rptcounter.DataBind();

            //Rptmainproducts.DataSource = bind_Product();
            //Rptmainproducts.DataBind();
        }
    }