RadGrid Dynamic DetailTables

2 posts, 0 answers
  1. Sebastian
    Sebastian avatar
    1 posts
    Member since:
    Nov 2012

    Posted 20 Nov 2012 Link to this post


    I want to know if there is any way I can dynamically add a Detail Table between a Rad Grid and another Detail Table.
    The structure would be the following:

    Before addition:
    <DetailTable ID="1">

    After addition:
    <DetailTable ID="2">
    <DetailTable ID="1">

    The Rad Grid and the detail tables feed from their own objectdatasource.

    Thanks in advance.
  2. Eyup
    Eyup avatar
    4073 posts

    Posted 23 Nov 2012 Link to this post

    Hi Sebastian,

    The way you are configuring your grid structure programmatically depends on whether you do it on Page_Init or Page_Load. Please closely follow the tips provided in the following topic:

    I believe it will be very helpful if you check out this demo:

    In addition, you could change the grid columns dynamically using the approach provided in the article below:

    I hope this will prove helpful.

    All the best,
    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.
Back to Top