protected void grd_ViewFiles_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e) { List <CMSViewFilesDTO> cmsvf = new List <CMSViewFilesDTO>(); AssetBusiness adobebus = new AssetBusiness(); cmsvf = adobebus.GetAllAssetByTermAndDaneshId(DDL_Term.SelectedValue, 0); grd_ViewFiles.DataSource = cmsvf; }
protected void DDL_Term_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e) { List <CMSViewFilesDTO> cmsvf = new List <CMSViewFilesDTO>(); AssetBusiness adobebus = new AssetBusiness(); cmsvf = adobebus.GetAllAssetByTermAndDaneshId(DDL_Term.SelectedValue, 0); grd_ViewFiles.DataSource = cmsvf; grd_ViewFiles.DataBind(); }