List<SpGetAllExamTypes_Result> lstExamTypes = objMdlClass.GetAllExamTypes(null).FindAll(F=>F.ExamName == ExamName); foreach (SpGetAllExamTypes_Result objExam in lstExamTypes) { ExamId = objExam.ExamTypeId; } List<SpGetConsolidatedExamReport_Result> lstexamMarks = objManage.GetExamAnalysisReport( Convert.ToInt32(CourseId), ExamId, ddlMasterAcademicYear.SelectedValue).FindAll(F=>F.SubjectId==Convert.ToInt32(SubjectId)); gvAnalysisView.DataSource = lstexamMarks; gvAnalysisView.DataBind();
Quote:The example demonstrates the filtering capabilities of Telerik RadGrid. Filtering can be enabled/disabled using RadGrid.AllowFilteringByColumn or GridTableView.AllowFilteringByColumn properties. Then each column that supports filtering (GridBoundColumn, GridCheckBoxColumn, etc) shows a filter box beneath the corresponding header. User can set a filter expression based on the rules specified in the corresponding column properties: FilterFormatString, CurrentFilterFunction, CurrentFilterValue . After pressing the filter button (next to the filter box) the grid displays only the records matching the filter criteria (regarding the settings of all filter boxes).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)