When I upgrade an existing project to a newer version the Upgrade Wizard Log shows success but I get this error:
https://drive.google.com/open?id=1l1KqfmqRnsCgWJ5O5LeBDCH_fpjDoiRr
Also if I bring up the Launch Toolbox Configurator and then click "Finish" button, I get the same error.
I do NOT run VS 2015 "As Admin" for many reason I don't want to get into, so please don't suggest that ;)
Cheers, Rob.


protected void OnSettingsTreeListDeleteCommand(object sender, TreeListCommandEventArgs e){ TreeListDataItem treeListDataItem = e.Item as TreeListDataItem; TableRow tableRow = e.Item as TableRow; if (treeListDataItem != null && tableRow != null) { string name = tableRow.Cells[3].Text; string id = treeListDataItem.GetDataKeyValue("Id").ToString(); SettingsTreeListDataTable.Rows.RemoveAt(Convert.ToInt32(id)); PropertyType.GetPropertyType(typeof(Brand)).RemoveSetting(name); }}Hello ,
Can you please advise how the Tree view should be setup to give this type of functionality with database table attached ?
thanks
Hello..........
I want to create a check box to show by group. Where it will show only 1 checkbox per 1 group
- I Can pic1.png
- I want pic2.png

Hi,
I have managed to successfully create Pivot Grids from code behind, the definition of the pivot grid, rows, columns and aggregates and filters are stored in SQL Server, I am able to easily create the grid at run time and display it. The sorting, column filters, row filters all work well. However the PivotGridReportFilterField defined when clicked fail with
[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Web.UI.PivotGridFilterWindow.InitializeControls() +904 Telerik.Web.UI.PivotGridFilteringManager.CreateFilterWindow() +90 Telerik.Web.UI.PivotGridFilteringManager.SetUpFilterWindowControls() +14 Telerik.Web.UI.RadPivotGrid.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +723
In the code behind, I construct the grid as follows:
foreach (var def in defList) { if (def.ReportFieldType == (int) ReportFieldType.RowFieldForTable) { // Define Rows var rowField = new PivotGridRowField(); PivotGrid.Fields.Add(rowField); rowField.DataField = def.Fieldname; rowField.UniqueName = def.Fieldname.Replace(" ", string.Empty); } else if (def.ReportFieldType == (int) ReportFieldType.ColumnFieldForTable) { // Define Columns var colField = new PivotGridColumnField(); PivotGrid.Fields.Add(colField); colField.DataField = def.Fieldname; colField.UniqueName = def.Fieldname.Replace(" ", string.Empty); } else if ((def.ReportFieldType == (int) ReportFieldType.CountFieldForTable) || (def.ReportFieldType == (int) ReportFieldType.AverageFieldForTable) || (def.ReportFieldType == (int) ReportFieldType.SumFieldForTable)) { //Define Aggregrates var aggregateField = new PivotGridAggregateField(); PivotGrid.Fields.Add(aggregateField); aggregateField.DataField = def.Fieldname; aggregateField.UniqueName = def.Fieldname.Replace(" ", string.Empty); if (def.ReportFieldType == (int) ReportFieldType.CountFieldForTable) aggregateField.Aggregate = PivotGridAggregate.Count; if (def.ReportFieldType == (int) ReportFieldType.AverageFieldForTable) aggregateField.Aggregate = PivotGridAggregate.Average; if (def.ReportFieldType == (int) ReportFieldType.SumFieldForTable) aggregateField.Aggregate = PivotGridAggregate.Sum; } else if (def.ReportFieldType == (int) ReportFieldType.FilterFields) { var filterField = new PivotGridReportFilterField(); PivotGrid.Fields.Add(filterField); filterField.DataField = def.Fieldname; filterField.UniqueName = def.Fieldname.Replace(" ", string.Empty); //filterField.FilterType = PivotGridReportFilterActionType.Includes; } }
Any help in resolving this issue would be much appreciated.
Thanks
Hi,
I'm using the following method to export a radgrid report to Excel:
ExportSettings-Excel-Format="Xlsx"
and in the codebehind:
protected void btnExport_Click(object sender, EventArgs e){ rgLTDAccount.ExportSettings.OpenInNewWindow = true; rgLTDAccount.ExportSettings.IgnorePaging = true; rgLTDAccount.ExportSettings.UseItemStyles = true; rgLTDAccount.ExportSettings.FileName = lblFileName.Text; rgLTDAccount.ExportSettings.ExportOnlyData = false; rgLTDAccount.MasterTableView.ExportToExcel();}
I'm trying to insert a custom header at the top of the report with a few rows of contextual data from codebehind. I've seen some samples for html and biff, but not xlsx format. I can adjust a few things like row height in the InfrastructureExporting method, but I can't figure out if it's possible to insert rows and add text to them. Any help greatly appreciated.
Thanks.
-Dan
