protected void SetMainControls()
        {
            BSS_Service.Service1SoapClient client = new BSS_Service.Service1SoapClient();

            String roleid = "1";

            lblName.Text        = "Sami";
            userImage.ImageUrl  = "Images/default.png";
            lblDesignation.Text = "Software DEveloper";


            //String roleid = AppDomain.CurrentDomain.GetData("RoleID").ToString();
            //lblName.Text = AppDomain.CurrentDomain.GetData("Name").ToString();
            //userImage.ImageUrl = AppDomain.CurrentDomain.GetData("Image").ToString();
            //lblDesignation.Text = AppDomain.CurrentDomain.GetData("Desgination").ToString();


            DataTable dt = client.GetModuleNameViaRole(Convert.ToInt16(roleid));

            var cls = dt.Rows[1][1].ToString();

            NavBar.InnerHtml = "";
            foreach (DataRow row in dt.Rows)
            {
                if (row["ModuleName"].ToString() != "0")
                {
                    NavBar.InnerHtml += " <li id='" + row["ModuleID"].ToString() + "'  onclick='reply_click(this.id)' class='nav-item'><a class='nav-link'><img src='" + row["ModuleImage"].ToString() + "'><span style='font-size:.8rem'>" + row["ModuleName"].ToString() + "</span></a></li> ";
                    DataTable dt_child = client.GetFormsViaRole_ModuleId(Convert.ToInt16(roleid), Convert.ToInt16(row["ModuleID"]));
                    NavChild.InnerHtml += "<ul id=Module_" + row["ModuleID"].ToString() + " class=\"nav nav-pills flex-column sidebar-side-div\" style=\"display:none;\">";
                    foreach (DataRow rowC in dt_child.Rows)
                    {
                        if (rowC["WebDisplayName"].ToString() != "0")
                        {
                            NavChild.InnerHtml += "<li id ='" + rowC["FormIDName"].ToString() + "' class='nav-item'><a class='nav-link' href='" + ResolveUrl(rowC["Redirection"].ToString()) + "'>" + rowC["WebDisplayName"].ToString() + "</a></li> ";
                        }
                    }
                    NavChild.InnerHtml += "</ul>";
                }
                //
            }
            NavBar.InnerHtml += "</ul>";
        }