protected void Page_Load(object sender, System.EventArgs e) { if (!IsPostBack) { if (Request.QueryString["LangID"] != string.Empty) { this.LangID = Int32.Parse(Request.QueryString["LangID"]); } if (Request.QueryString["LangInterfaceID"] != string.Empty) { this.LangInterfaceID = Int32.Parse(Request.QueryString["LangInterfaceID"]); } LangInterface langInterface = LangInterfaceAPI.GetEntity(this.LangInterfaceID); lblSelectedInterface.Text = langInterface.RecordName; Bind_ResourceList(); Bind_LanguageDropDown(); } }
private void Bind_InterfaceGrid(int langID) { grdInterfaceList.DataSource = LangInterfaceAPI.InterfaceList(langID); grdInterfaceList.DataBind(); }