Beispiel #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
        if (!IsPostBack)
        {
            BindPageDetail(132);
            BindSpecialties(0);
            if (Request.RawUrl.ToLower().Contains("/patients/patient-facilities"))
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "alert1", "openSISPanel('Patient');", true);

                MainRoot.InnerText  = "Patient Facilities";
                rootbreadcrumb.HRef = "/patients/patient-facilities";
            }
            else if (Request.RawUrl.ToLower().Contains("/specialties/speciality-clinic"))
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "alert1", "openSISPanel('Specialty');", true);

                MainRoot.InnerText  = "Specialty Clinics";
                rootbreadcrumb.HRef = "/specialties/speciality-clinic";
            }
            else if (Request.RawUrl.Contains("health-check-up"))
            {
                h3header.InnerHtml = "Health CheckUp";
                BindPageDetail(166);
                SubRootSpan.InnerText     = "Health Checkup";
                MainRoot.InnerText        = "Specialties";
                rootbreadcrumb.HRef       = "/specialties";
                Subrootbreadcrumb.Visible = true;
            }
        }
    }
Beispiel #2
0
    protected void tbnLPBAppointment_Click(object sender, EventArgs e)
    {
        int    DID    = Convert.ToInt32(ddlDoctorLPBA.SelectedValue);
        string doctor = Convert.ToString(ddlDoctorLPBA.SelectedItem.Text);


        if (ddlSpecialtyLPB.SelectedValue != "0")
        {
            Session["SpecialityId"] = ddlSpecialtyLPB.SelectedValue;
        }

        if (ddlDay.SelectedValue != "0")
        {
            Session["AppointmentDay"] = ddlDay.SelectedValue;
        }

        Response.Redirect("/fix-appointment/" + CommonFn.RemoveSpecialCharacters(doctor) + "/" + DID);

        ////if (txtdatetime.SelectedDate != null)
        ////{
        ////    SD = Convert.ToDateTime(txtdatetime.SelectedDate).ToString("yyyyMMddHHmmss");
        ////    Response.Redirect("/fix-an-appointment.aspx?DI=" + DID + "&SD=" + SD);
        ////}
        ////else
        ////{
        //    Response.Redirect("/fix-appointment/" + CommonFn.RemoveSpecialCharacters(doctor) + "/" + DID);
        ////}
    }
Beispiel #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string rawUrl = Request.RawUrl.ToLower();

        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));

        XmlDocument xmldoc = new XmlDocument();

        xmldoc.Load(Server.MapPath("~/LoadControl.xml"));
        XmlNode node = xmldoc.SelectSingleNode("/Data/add[@key='" + Request.RawUrl.ToLower() + "']");

        contentpane.Style.Add("display", "none");
        if (node == null)
        {
            node = xmldoc.SelectSingleNode("/Data/add[@startswith='" + rawUrl.Split('/')[1] + "']");
            if (node.Attributes["value"].Value != string.Empty)
            {
                divcontentpane.Controls.Add(LoadControl(node.Attributes["value"].Value));
            }
            BindPageDetail(TabController.CurrentPage.TabID);
            h3header.InnerText    = node.Attributes["Title"].Value;
            SubRootSpan.InnerText = node.Attributes["Title"].Value;
        }
        else
        {
            if (node.Attributes["value"].Value != string.Empty)
            {
                divcontentpane.Controls.Add(LoadControl(node.Attributes["value"].Value));
            }
            BindPageDetail(TabController.CurrentPage.TabID);
            h3header.InnerText    = node.Attributes["Title"].Value;
            SubRootSpan.InnerText = node.Attributes["Title"].Value;
        }
    }
Beispiel #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (Request.RawUrl.Contains("Patient-Facilities"))
     {
         h3header.InnerText = "Patient Facilities";
         BindPageDetail(158);
     }
     else if (Request.RawUrl.Contains("feedback"))
     {
         h3header.InnerText = "Feedback";
         BindPageDetail(121);
     }
     else if (Request.RawUrl.Contains("complaint"))
     {
         h3header.InnerText = "Complaint";
         BindPageDetail(131);
     }
     else if (Request.RawUrl.Contains("Quick-Inquiry"))
     {
         h3header.InnerText = "Quick Inquiry";
         BindPageDetail(142);
     }
     else if (Request.RawUrl.Contains("patients"))
     {
         h3header.InnerText = "Patients";
         BindPageDetail(157);
     }
 }
    protected string SaveImage(FileUpload fUpload)
    {
        string strDBImagePath = string.Empty;

        try
        {
            string strServerPath    = Server.MapPath(CommonFn.Image_Save_Path);
            string strSaveImagePath = string.Empty;
            string fileName         = fUpload.PostedFile.FileName;

            string FolderName = CommonFn.JaslokNews;

            string strFileNameOnly = CommonFn.GetFileName(fileName);

            strSaveImagePath = strServerPath + FolderName + "\\" + strFileNameOnly;

            fUpload.SaveAs(strSaveImagePath);

            strDBImagePath = CommonFn.DbSave + CommonFn.DbJaslokNewsFolder;
            strDBImagePath = strDBImagePath + strFileNameOnly;
        }
        catch (Exception ex)
        {
            throw ex;
        }
        return(strDBImagePath);
    }
Beispiel #6
0
        public string ChangePassword([FromBody] ChangePassword change)
        {
            var result = "";

            try
            {
                var    token       = HttpContext.Session.GetString("JWToken");
                var    id          = CommonFn.GetUserInfo(token).Id;
                var    user        = _userService.GetById(id);
                string oldpass_md5 = _userService.GetMD5Password(change.OldPassword);
                if (oldpass_md5 != user.Password)
                {
                    return("OldErr");
                }
                else if (change.NewPassword != change.ReNewPassword)
                {
                    return("NewDifferent");
                }
                else
                {
                    _userService.ChangePassword(id, change.NewPassword);
                }
            }
            catch (Exception e)
            {
            }
            return(result);
        }
Beispiel #7
0
    //protected void btnSubmitLPFD_Click(object sender, EventArgs e)
    //{
    //    Response.Write("sfd");
    //}
    protected void btnSubmitLPFD1_Click(object sender, EventArgs e)
    {
        int    Did        = Convert.ToInt32(ddlDoctorLPD.SelectedValue);
        string DoctorName = Convert.ToString(ddlDoctorLPD.SelectedItem.Text);

        Response.Redirect("/find-doctor/" + CommonFn.RemoveSpecialCharacters(DoctorName) + "/" + Did);
    }
Beispiel #8
0
        public async Task <Usersinrole> DeleteAsync(Usersinrole item)
        {
            try
            {
                var validator = new UserRoleDeleteValidator(_ctx);
                item.Validation = validator.Validate(item);
                if (!item.Validation.IsValid)
                {
                    return(await Task.FromResult(item));
                }

                USERSINROLE data = MapToEntity(item);
                _ctx.Entry(data).State = EntityState.Deleted;
                var error = new ValidationFailure("Role", string.Format(ValidationErrorMessage.GenericDBDeleteError, "Role"));
                item.Validation.Errors.Add(error);
                await _ctx.SaveChangesAsync();

                _logger.Log("FATAL", "Delete User in Role", item, error.ErrorMessage);


                return(item);
            }

            catch (Exception ex)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBDeleteError, "Usersinrole");
                _logger.Log("INFO", "Delete User in Role", item, "Successful.");
                return(item);
            }
        }
Beispiel #9
0
    protected void Page_Load(object sender, EventArgs e)
    {
        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
        if (!String.IsNullOrEmpty(user.Username))
        {
            check = objBusinessLogic.IsExistMrNo(user.Username.Trim());
        }

        if (check == false && user.Username != "host")
        {
            divContent.Visible  = false;
            plcDivError.Visible = true;
        }
        else
        {
            divContent.Visible  = true;
            plcDivError.Visible = false;

            txtdatetime.MinDate = DateTime.Today;
            if (!IsPostBack)
            {
                bindDoctor();
            }
            bindList();
        }
    }
    protected void tbnHBAppointment_Click(object sender, EventArgs e)
    {
        Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Validated');", true);
        //int SID = Convert.ToInt32(ddlSpecialtyB.SelectedValue);
        int    di     = Convert.ToInt32(ddlDoctor.SelectedValue);
        string doctor = Convert.ToString(ddlDoctor.SelectedItem.Text);

        /*string SD;
         * if (!string.IsNullOrEmpty(txtdatetime.Text))
         * {
         *  SD = Convert.ToDateTime(txtdatetime.Text).ToString("yyyyMMddHHmmss");
         *  Response.Redirect("fix-an-appointment.aspx?DI=" + DID);
         * }
         * else
         * {*/
        if (ddlSpecialtyB.SelectedValue != "0")
        {
            Session["SpecialityId"] = ddlSpecialtyB.SelectedValue;
        }

        if (ddlDay.SelectedValue != "0")
        {
            Session["AppointmentDay"] = ddlDay.SelectedValue;
        }
        Response.Redirect("fix-appointment/" + CommonFn.RemoveSpecialCharacters(doctor) + "/" + di);
        //}
    }
 protected override async Task <Applications> Insert(Applications item)
 {
     try
     {
         APPLICATIONS data = MapToEntity(item);
         data.APPLICATIONID     = GenerateId();
         data.APPLICAITONSECRET = GenerateId();
         _ctx.APPLICATIONS.Add(data);
         _ctx.Entry(data).State = System.Data.Entity.EntityState.Added;
         if (await _ctx.SaveChangesAsync() <= 0)
         {
             var error = new ValidationFailure("Application", string.Format(ValidationErrorMessage.GenericDBSaveError, "Application"));
             item.Validation.Errors.Add(error);
             _logger.Log("FATAL", "Save Application", item, error.ErrorMessage);
             item.Validation.Errors.Add(error);
             return(item);
         }
         _logger.Log("FATAL", "Add Application", item, "Successful.");
         return(await GetByNameAsync(data.APPLICATIONNAME));
     }
     catch (Exception ex)
     {
         item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBDeleteError, "PERMISSIONS");
         _logger.Log("INFO", "Save Application", item, ex.Message);
         return(item);
     }
 }
Beispiel #12
0
        protected string SaveImage()
        {
            string strDBImagePath = string.Empty;

            try
            {
                string strServerPath    = Server.MapPath(CommonFn.Image_Save_Path);
                string strSaveImagePath = string.Empty;
                string fileName         = Path.GetFileName(UploadImages.PostedFile.FileName);

                string FolderName = CommonFn.BannerFolder;
                if (!CommonFn.folderExists(strServerPath, FolderName))
                {
                    try
                    {
                        CommonFn.CreateFolder(strServerPath, FolderName);
                    }
                    catch { }
                }
                string strFileNameOnly = CommonFn.GetFileName(fileName);

                strSaveImagePath = strServerPath + FolderName + "\\" + strFileNameOnly;

                UploadImages.SaveAs(strSaveImagePath);

                strDBImagePath = CommonFn.DbSave + CommonFn.DbBannerFolder;
                strDBImagePath = strDBImagePath + strFileNameOnly;
            }
            catch
            {
                ;
            }
            return(strDBImagePath);
        }
Beispiel #13
0
    protected void lbtnFAD_Click(object sender, EventArgs e)
    {
        int DID = Convert.ToInt32(Request.QueryString["DI"]);
        int SID = Convert.ToInt32(Request.QueryString["SI"]);

        Response.Redirect("/fix-appointment/" + CommonFn.RemoveSpecialCharacters(lblDoctorName.Text) + "/" + DID);
        //Response.Redirect("/Fix-An-Appointment.aspx?SI="+SID+"&DI=" + DID);
    }
Beispiel #14
0
    public void Upload()
    {
        ////HttpPostedFile MyFile = Request.Files["MyFile"];
        //string fileName = Path.GetFileName(UploadResume.PostedFile.FileName);
        ViewState["FilePath"] = "";

        //for (int i = 0; i < Request.Files.Count; i++)
        //{
        //    var myFile = Request.Files[i];
        //    if (myFile != null && myFile.ContentLength != 0)
        //    {
        //        pathForSaving = Server.MapPath("~/uploadedfiles/");
        //        string pathForSavingFile = "/uploadedfiles/";
        //        try
        //        {
        //            string strFileNameOnly = CommonFn.GetFileName(myFile.FileName);
        //            ViewState["FilePath"] = Path.Combine(pathForSavingFile, strFileNameOnly);
        //            string strFileName= Path.Combine(pathForSavingFile, strFileNameOnly);
        //            MyFile = Request.Files[CommonFn.GetFileName(myFile.FileName)];
        //            MyFile.SaveAs(Path.Combine(pathForSaving, strFileName));


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

        //        }

        //    }
        //}
        string strDBImagePath = string.Empty;

        try
        {
            if (UploadResume.HasFile)
            {
                string strServerPath    = Server.MapPath(CommonFn.Image_Save_Path);
                string strSaveImagePath = string.Empty;
                string fileName         = Path.GetFileName(UploadResume.PostedFile.FileName);

                string FolderName = CommonFn.UploadedResumeFolder;

                string strFileNameOnly = CommonFn.GetFileName(fileName);

                strSaveImagePath = strServerPath + FolderName + "\\" + strFileNameOnly;

                UploadResume.SaveAs(strSaveImagePath);

                strDBImagePath = CommonFn.DbSave + CommonFn.DbUploadedResume;
                strDBImagePath = strDBImagePath + strFileNameOnly;

                ViewState["FilePath"] = strDBImagePath;
            }
        }
        catch (Exception ex)
        {
        }
    }
Beispiel #15
0
 protected void Page_Load(object sender, EventArgs e)
 {
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (Request.RawUrl.Contains("specialitywise-opd"))
     {
         BindPageDetail(176);
         BindSpecialityWiseOpd();
     }
 }
Beispiel #16
0
    protected void Page_Load(object sender, EventArgs e)
    {
        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));

        if (Request.RawUrl.ToLower() == "/diagnosticsappointment" || Request.RawUrl.ToLower() == "/diagnosticsappointment.aspx")
        {
            ContentPane.Controls.Add(LoadControl("~/JSControls/MiddleContent/DiagnosticsAppointment.ascx"));
        }
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (Request.RawUrl.ToLower().Contains("doctorwise-opd") || Request.RawUrl.ToLower().Contains("/specialties/doctors-availability"))
     {
         BindPageDetail(178);
         BindDoctorOpd();
     }
 }
Beispiel #18
0
    protected string SaveImage(string UpFileName, int flcontrolId)
    {
        string strDBImagePath = string.Empty;

        try
        {
            if (UpFileName.Length < 1035000)
            {
                string strServerPath    = Server.MapPath(CommonFn.Image_Save_Path);
                string strSaveImagePath = string.Empty;
                string fileName         = Path.GetFileName(UpFileName);

                string FileNameWEx = Path.GetFileNameWithoutExtension(fileName);

                FileNameWEx = objDAEntities.RemoveBadCharForFolder(FileNameWEx);

                String FileExtension = System.IO.Path.GetExtension(fileName);
                // listofuploadedfiles.Text = fileName;
                string FolderName = CommonFn.SeminarGalleryFolder;
                if (!CommonFn.folderExists(strServerPath, FolderName))
                {
                    try
                    {
                        CommonFn.CreateFolder(strServerPath, FolderName);
                    }
                    catch { }
                }
                string strFileNameOnly = CommonFn.GetFileName(FileNameWEx);
                strSaveImagePath = strServerPath + FolderName + "\\" + strFileNameOnly + FileExtension;

                if (flcontrolId == 1)
                {
                    UploadImages.SaveAs(strSaveImagePath);
                }
                else
                {
                    FileUploadTOPIC.SaveAs(strSaveImagePath);
                }
                strDBImagePath = CommonFn.DbSave + CommonFn.DbSeminarGalleryFolder;
                strDBImagePath = strDBImagePath + strFileNameOnly;
            }
            else
            {
                lblMessage.CssClass = "errorlbl";
                lblMessage.Text     = "Images size is more than 1.035 mb!!!";
                ViewState["optype"] = "INSERT";
            }
        }
        catch
        {
            lblMessage.CssClass = "errorlbl";
            lblMessage.Text     = "Something worng!!!!";
            ViewState["optype"] = "INSERT";
        }
        return(strDBImagePath);
    }
Beispiel #19
0
 protected void Page_Load(object sender, EventArgs e)
 {
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (!IsPostBack)
     {
         //FillCapctha();
         BindPageDetail(121);
         h3header.InnerHtml = "Estimate Request";
     }
 }
Beispiel #20
0
        protected override async Task <IdentityRefreshToken> Update(IdentityRefreshToken item)
        {
            REFRESHTOKEN data = MapToEntity(item);

            _ctx.Entry(data).State = EntityState.Modified;
            if (await _ctx.SaveChangesAsync() <= 0)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBSaveError, "Refreshtoken");
            }
            return(item);
        }
Beispiel #21
0
        protected override async Task <IdentityLogin> Update(IdentityLogin item)
        {
            USERLOGIN data = MapToEntity(item);

            _ctx.Entry(data).State = EntityState.Modified;
            if (await _ctx.SaveChangesAsync() <= 0)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBSaveError, "Userlogin");
            }
            return(item);
        }
        protected override async Task <IdentityClient> Update(IdentityClient item)
        {
            APPLICATIONS data = MapToEntity(item);

            _ctx.Entry(data).State = EntityState.Modified;
            if (await _ctx.SaveChangesAsync() <= 0)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBSaveError, "Applications");
            }
            return(item);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (!IsPostBack)
     {
         if (Request.RawUrl.Contains("management"))
         {
             BindPageBanner(123);
         }
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
        if (Request.RawUrl.Contains("research-paper"))
        {
            h3header.InnerHtml = "Research Papers";
            BindResearchPapersPageDetail();

            SubRootSpan.InnerText = "Research Paper";
        }
    }
Beispiel #25
0
        protected override async Task <Permissionsofrole> Update(Permissionsofrole item)
        {
            PERMISSIONSOFROLE data = MapToEntity(item);

            _ctx.Entry(data).State = EntityState.Modified;
            if (await _ctx.SaveChangesAsync() <= 0)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBSaveError, "Permissionsofrole");
            }
            return(item);
        }
Beispiel #26
0
        protected override async Task <IdentityProfile> Insert(IdentityProfile item)
        {
            item.Useraccountid = GenerateId();
            USERPROFILE data = MapToEntity(item);

            _ctx.Entry(data).State = EntityState.Added;
            if (await _ctx.SaveChangesAsync() <= 0)
            {
                item.Validation = CommonFn.CreateValidationError(ValidationErrorMessage.GenericDBSaveError, "Userprofile");
            }
            return(item);
        }
Beispiel #27
0
    protected string SavePDF()
    {
        string strDBPDFPath = string.Empty;

        try
        {
            if (FileUpload2.PostedFile.FileName != null)
            {
                string strServerPath  = Server.MapPath(CommonFn.Image_Save_Path);
                string strSavePDFPath = string.Empty;
                string fileName       = Path.GetFileName(FileUpload2.PostedFile.FileName);

                string FileNameWEx = Path.GetFileNameWithoutExtension(fileName);

                FileNameWEx = objDAEntities.RemoveBadCharForFolder(FileNameWEx);

                String FileExtension = System.IO.Path.GetExtension(fileName);

                if ((FileExtension.ToLower() == ".pdf"))
                {
                    string FolderName = CommonFn.ResearchPaperPdf;
                    if (!CommonFn.folderExists(strServerPath, FolderName))
                    {
                        try
                        {
                            CommonFn.CreateFolder(strServerPath, FolderName);
                        }
                        catch { }
                    }

                    strSavePDFPath = strServerPath + FolderName + "\\" + FileNameWEx + FileExtension;


                    if (!File.Exists(strSavePDFPath))
                    {
                        FileUpload2.SaveAs(strSavePDFPath);
                    }

                    strDBPDFPath = CommonFn.DbSave + CommonFn.DbResearchPaperPDF;
                    strDBPDFPath = strDBPDFPath + FileNameWEx + FileExtension;
                }
            }
            else
            {
                ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('pdf size is more than 10.00 mb!!!');", true);
            }
        }
        catch (Exception ex)
        {
            throw ex;
        }
        return(strDBPDFPath);
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     //if (!IsPostBack)
     //{
     //BindPageDetail(133);
     contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
     if (Request.QueryString["SID"] != null)
     {
         BindSpecialties(Convert.ToInt32(Request.QueryString["SID"]));
     }
     //}
 }
Beispiel #29
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
         if (Request.QueryString["DI"] != null)
         {
             objDAEntities.DoctorId    = Convert.ToInt32(Request.QueryString["DI"]);
             objDAEntities.SpecialtyId = Convert.ToInt32(Request.QueryString["SI"]);
             BindPageDetail(objDAEntities.DoctorId);
         }
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        contentpaneHeader.Controls.Add(LoadControl(CommonFn.IsMobileDevice() ? "~/JSControls/Mobile/MobileHeader.ascx" : "~/JSControls/Common/Header.ascx"));
        ds                       = (DataSet)objBusinessLogic.GetActiveSpecialityClinicOPD();
        dsopdDoctors             = (DataSet)objBusinessLogic.GetSpecialityClinicOPDDoctors();
        rptSpeciality.DataSource = ds;
        rptSpeciality.DataBind();

        rptRightSpecialityClinic.DataSource = ds;
        rptRightSpecialityClinic.DataBind();
        BindPageDetail(177);
        Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "hidespeciality('" + CommonFn.RemoveBadCharForFolder(ds.Tables[0].Rows[0]["SpecialityClinicOPD"].ToString()) + "');", true);
    }