Multicolumn Headers

5 posts, 0 answers
  1. Jerry Jansen
    Jerry Jansen avatar
    47 posts
    Member since:
    Aug 2009

    Posted 19 Jun 2012 Link to this post

    I am trying out the new multicolumn headers feature in version 2012.2.607.35 and have a couple of issues:

    Using the ColumnGroups Collection editor on the property page for the grid and as soon as I click on the Add button I get the error message:

    Group name cannot be null or empty string.
    Parameter name: Name

    Which is empty because I just clicked on the Add button!

    Then I enter the Name for the GridColumnGroup which I am using "ContactDetails" and then click on the OK button and in design mode the display of the grid crashes and displays:

    RadGrid - RadGrid1System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at System.Web.UI.ControlCollection.get_Item(Int32 index) at System.Web.UI.WebControls.TableCellCollection.get_Item(Int32 index) at Telerik.Web.UI.GridHeaderItem.get_Item(String columnUniqueName) at Telerik.Web.Design.RadGridDesigner.Grid_ItemDataBound(Object sender, GridItemEventArgs e) at Telerik.Web.UI.RadGrid.OnItemDataBound(GridItemEventArgs e) at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) at Telerik.Web.UI.GridTableView.CreateMultiColumnHeaders(Boolean useDataSource, GridColumn[] copiedColumnSet, GridTHead thead) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at Telerik.Web.UI.GridTableView.PerformSelect() at Telerik.Web.UI.GridTableView.DataBind() at Telerik.Web.UI.RadGrid.DataBind() at System.Web.UI.Design.WebControls.DataBoundControlDesigner.DataBind(BaseDataBoundControl dataBoundControl) at Telerik.Web.Design.RadGridDesigner.DataBind(BaseDataBoundControl dataBoundControl) at System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner.GetDesignTimeHtml()

  2. Marin
    Admin
    Marin avatar
    1044 posts

    Posted 20 Jun 2012 Link to this post

    Hello,

     Thank you for reporting this. The designer for the ColumnGroups collection is currently not supported. We will try to improve this for the next release of the controls.

    All the best,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Huy
    Huy avatar
    2 posts
    Member since:
    Apr 2012

    Posted 22 Aug 2012 Link to this post

    I have a same problem when trying access to the controls in header template :(
  5. Marin
    Admin
    Marin avatar
    1044 posts

    Posted 24 Aug 2012 Link to this post

    Hello,

     Can you provide more details on the error. What exactly do you try to perform when an error is raised, if it originates when the grid is in design mode and what is the message and stack trace of the exception.

    Greetings,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Tayab
    Tayab avatar
    1 posts
    Member since:
    Nov 2012

    Posted 12 Dec 2012 Link to this post

    Great ! I just spent hours to figure out why I keep seeing the same stack trace when using ColumnGroups property.

    We have the product due tomorrow, and I wasted all day !
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017