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

CommandItemTemplate and NestedViewTemplate Issue

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Caleb Sandfort
Top achievements
Rank 1
Caleb Sandfort asked on 26 Jun 2013, 08:51 PM
Hi

I have a RadGrid with a NestedViewTemplate and a CommandItemTemplate.  When I click the ExpandCollapse button on a row to see the contents of the NestedView, the controls in the CommandItem area disappear.

Anyone experience this issue and/or know how to fix it.

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Jun 2013, 05:35 AM
Hi Caleb,

I'm not sure what is causing this issue,here is an example .Please please provide your code for further reference.

ASPX:
<telerik:RadGrid ID="RadGrid1"  runat="server" >
  <MasterTableView  CommandItemDisplay="Top">
      <CommandItemTemplate>
        <asp:LinkButton ID="LinkButton1" runat="server"  CommandName="DeleteSelected">Delete Selected Customers</asp:LinkButton>
      </CommandItemTemplate>
    <Columns>
       . . . . . . . . . .
    </Columns>
    <NestedViewSettings . . . .>
        <ParentTableRelation>
            <telerik:GridRelationFields . . . . . . . />
        </ParentTableRelation>
    </NestedViewSettings>
    <NestedViewTemplate>
  . . . . . . . . . . . .
    </NestedViewTemplate>
  </MasterTableView>
</telerik:RadGrid>

Thanks,
Princy
Tags
Grid
Asked by
Caleb Sandfort
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or