This is a migrated thread and some comments may be shown as answers.

[Solved] Custom skin and DetailTable

2 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mats
Top achievements
Rank 1
Mats asked on 01 Apr 2008, 03:07 PM
Hi!

I have a RadGrid with a custom skin. The css file is registered and the ImagePath is defined. All is working fine when only MasterTable is defined.
As soon as I add a DetailTable in design then I will get an error when grid is rendered both in design and runtime:

Telerik.Web.UI.GridPagerStyle.get_PrevPageImageUrl() +140
   Telerik.Web.UI.GridPagerStyle.CopyFrom(Style s) +1657
   Telerik.Web.UI.GridTableView.CloneThis() +475
   Telerik.Web.UI.GridTableView.Clone() +44
   Telerik.Web.UI.GridItemBuilder.CreateDetailTable(GridDataItem parentItem, GridNestedViewItem detailItem, Int32 detailCounter, GridTableView detailTable) +57
   Telerik.Web.UI.GridItemBuilder.BindDetailTables(GridDataItem parentItem, GridNestedViewItem detailItem) +156
   Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +1660
   Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +169
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +1195
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +638
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +59
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +111
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +29
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
   Telerik.Web.UI.GridTableView.PerformSelect() +42
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
   Telerik.Web.UI.GridTableView.DataBind() +461
   Telerik.Web.UI.RadGrid.DataBind() +185
   Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +288
   Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) +208
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

Does anyone know the reason / solution for this?

Thanks
/Mats

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 02 Apr 2008, 08:08 AM
Hi Mats,

Can you please supply some additional details about the error? The best option would be to open a formal support ticket, and send a screenshot/code sample demonstrating the issue and/or a set of steps to replicate it.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mats
Top achievements
Rank 1
answered on 02 Apr 2008, 09:38 AM
Ok!

I will open a formal support ticket and send a code sample.

/Mats
Tags
Grid
Asked by
Mats
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Mats
Top achievements
Rank 1
Share this question
or