//Method to populate the language dropdwon. Fetches the values from Pub.config file protected void LoadCulture() { try { objSvcPre = new ServicePresenter(this); objSvcPre.loadCulture(); } catch (Exception ex) { AgriCastException currEx = new AgriCastException(objServicePre.GetServiceDetails(), ex); AgriCastLogger.Publish(currEx, AgriCastLogger.LogType.Error); HttpContext.Current.Session["ErrorMessage"] = objPreTool.getTranslatedText(Constants.CULTURE_LOADFAILURE, strCulCode) + ex.Message.ToString(); } }