//DataSet passed in as parameter
foreach (DataColumn dc in reportDS.Tables[0].Columns)
{
//Add table column group
TableGroup tableGroup1 = new Telerik.Reporting.TableGroup();
tableGroup1.Sortings.Add(
new Sorting(grpTitle1, SortDirection.Asc));
tableGroup1.Name =
Group1";
//tableGroup1.Groupings.Add("1=1");
//tableGroup1.Groupings.Add(new Grouping());
tableGroup1.Groupings.Add(grpTitle1);
this.table1.ColumnGroups.Add(tableGroup1);
#region Grouping
if (!groupingAdded)
{
Group group = new Group();
Grouping groupExpression = new Grouping(grpTitle1);
group.Groupings.Add(groupExpression);
group.Sortings.Add(
new Telerik.Reporting.Sorting(grpTitle1, Telerik.Reporting.SortDirection.Asc));
group.GroupHeader =
new GroupHeaderSection();
group.GroupHeader.Height =
new Unit(10.0, UnitType.Mm);
group.GroupHeader.Style.BackgroundColor =
Color.LightSteelBlue;
Telerik.Reporting.
TextBox tbxGroupHdr = new Telerik.Reporting.TextBox();
tbxGroupHdr.Value =
"=" + grpTitle1;
tbxGroupHdr.Size =
new SizeU(new Unit(10, UnitType.Mm), new Unit(30.0, UnitType.Mm));
group.GroupHeader.Items.Add(tbxGroupHdr);
group.GroupFooter =
new GroupFooterSection();
group.GroupFooter.Height =
new Unit(10.0, UnitType.Mm);
group.GroupFooter.Style.BackgroundColor =
Color.LightYellow;
Telerik.Reporting.
TextBox tbxGroupFtr = new Telerik.Reporting.TextBox();
tbxGroupFtr.Value =
"Group Footer";
tbxGroupFtr.Size =
new SizeU(new Unit(10, UnitType.Mm), new Unit(30.0, UnitType.Mm));
group.GroupFooter.Items.Add(tbxGroupFtr);
this.table1.Report.Groups.Add(group);
groupingAdded =
true;
}
#endregion
//Add table body column
//this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));
txtColumnHdr =
new Telerik.Reporting.HtmlTextBox();
SetTextboxStyle(count, columnCount, dc.ColumnName, fntHdr,
TextBoxType.Group, ref txtColumnHdr);
tableGroup1.ReportItem = txtColumnHdr;
txtColumnBdy =
new Telerik.Reporting.HtmlTextBox();
SetTextboxStyle(count, columnCount, dc.ColumnName, fntBdy,
TextBoxType.Item, ref txtColumnBdy);
this.table1.Body.SetCellContent(0, i++, txtColumnBdy);
this.table1.Items.AddRange(new ReportItemBase[] { txtColumnHdr, txtColumnBdy });
count++;
}
Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' could not be loaded.WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Stack Trace: [FileNotFoundException: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.] System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +0 System.Reflection.RuntimeMethodInfo.get_Signature() +166 System.Reflection.RuntimeMethodInfo.GetParameters() +38 System.ServiceModel.Description.ServiceReflector.ValidateParameterMetadata(MethodInfo methodInfo) +27 System.ServiceModel.Description.TypeLoader.CreateOperationDescriptions(ContractDescription contractDescription, ContractReflectionInfo reflectionInfo, Type contractToGetMethodsFrom, ContractDescription declaringContract, MessageDirection direction) +242 System.ServiceModel.Description.TypeLoader.CreateContractDescription(ServiceContractAttribute contractAttr, Type contractType, Type serviceType, ContractReflectionInfo& reflectionInfo, Object serviceImplementation) +1179 System.ServiceModel.Description.TypeLoader.LoadContractDescriptionHelper(Type contractType, Type serviceType, Object serviceImplementation) +318 System.ServiceModel.Description.ContractDescription.GetContract(Type contractType, Type serviceType) +192 System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts) +477 System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +174 System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +475 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +43 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +530 System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413 System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50 System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172[ServiceActivationException: The service '/wos/reportservice.svc' cannot be activated due to an exception during compilation. The exception message is: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified..] System.Runtime.AsyncResult.End(IAsyncResult result) +901424 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702 System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +101 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270Hi Telerik
Is this Marked Zones Chart available in “5.1.11. 928 (Sep 28, 2011)” Version in Telerik Reporting?