public void ProcessRequest(HttpContext context) { try { SessionVarName = context.Request.QueryString["SessionVarName"]; AggregateColumn = context.Request.QueryString["AggregateColumn"]; if (AggregateColumn.IsNullOrEmpty()) { AggregateColumn = String.Empty; } UserDataString = context.Request.QueryString["FooterRowCaption"]; if (UserDataString.IsNullOrEmpty()) { UserDataString = String.Empty; } GetFilterList(); } catch (Exception ex) { throw ex; } }
public void ProcessRequest(HttpContext context) { try { SessionVarName = context.Request.QueryString["SessionVarName"]; IEnumerable retrievedData = (IEnumerable)context.Session[SessionVarName]; if (retrievedData.IsNull()) { return; } AggregateColumn = context.Request.QueryString["AggregateColumn"]; if (AggregateColumn.IsNullOrEmpty()) { AggregateColumn = String.Empty; } UserDataString = context.Request.QueryString["FooterRowCaption"]; if (UserDataString.IsNullOrEmpty()) { UserDataString = String.Empty; } String vid_Ref = context.Request.QueryString["vid_Ref"]; String parentColumnName = context.Request.QueryString["ParentColumnName"]; String parentColumnValue = context.Request.QueryString["ParentColumnValue"]; if (vid_Ref.IsNotNullOrEmpty() && vid_Ref.NotEquals("null")) { filterRetrievedData(ref retrievedData, vid_Ref); OnDataSourceViewSelectCallback(retrievedData); } else if (parentColumnName.IsNotNullOrEmpty() && parentColumnValue.IsNotNullOrEmpty()) { filterRetrievedDataDataSourceView(retrievedData, parentColumnName, parentColumnValue); } else { OnDataSourceViewSelectCallback(retrievedData); } } catch (Exception ex) { throw ex; } }