protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            show_aboutheading();
            show_promise();
            show_aboutus();
            Rpttesti.DataSource = bind_testi();
            Rpttesti.DataBind();

            Rptclientlogos.DataSource = bind_clientlogos();
            Rptclientlogos.DataBind();
        }
    }
예제 #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();
        }
    }