/// <summary>
        /// Event That Fires On List Selected Index Changed
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void gvDisciplinesList_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                var Id              = Convert.ToInt32(gvDisciplinesList.SelectedDataKey.Value); //Converts the Selected Value To Int and Store in Id
                var DocumentBLLObj  = new Document_DetailsBLL();
                var DocumentListObj = DocumentBLLObj.BrowseDocuments(Id);
                if (DocumentListObj.Count == 0)                                             //Checks If Documenrt List with 0 records
                {
                    Response.Write("<script>alert('No Documents')</script>");
                }
                else
                {
                    gvDocumentDetailsList.DataSource = DocumentListObj;
                    gvDocumentDetailsList.DataBind();
                }
            }

            catch (ELibException ex)                                                    //Custom Exception
            {
                Response.Write("<script>alert('" + ex.Message + ")</script>");
            }
            catch (Exception)
            {
                Response.Write("<script>alert('Oops!! Error ,Please Try Again')</script>");
            }
        }
        private void display()
        {
            var BrowseObj = new Document_DetailsBLL();

            var ListBrowseObj = lstbxBrowse.SelectedItem as Disciplines;

            try
            {
                grdBrowse.ItemsSource = BrowseObj.BrowseDocuments(ListBrowseObj.DisciplineId, CurrentPage);
            }
            catch (ELibException)
            {
                MessageBox.Show("Documents for " + ListBrowseObj.DisciplineName + " is not present");
            }
            catch (Exception)
            {
                MessageBox.Show("Please Select Discipline");
            }
        }