I have a radgrid and because I wanted the expand button to be shown on the right most column part of the grid, i set in mastertableview the attribute ExpandCollapseColumn-Visible="false" and added a new GridTemplateColumn with a button that performs the expand command.
<telerik:GridTemplateColumn ItemStyle-Width="27px" ItemStyle-Height="46px" Resizable="false" >
<ItemTemplate>
<asp:Button CommandName="ExpandCollapse" runat="server" ID="EC" CssClass="expandbutton" />
</ItemTemplate>
</telerik:GridTemplateColumn>
Obviously in code behind, I intercept my command and the nestedviewtemplate in my case is shown correctly on expand. So far so good, expand and collpase work fine, the problem is that on expand, the columns of my grid (outer grid) loose their size(some become smaller, same become larger than in the all collapsed state). I tried setting Resizable=false on all GridTemplateColumn, but no result....
Any ideas? Can you please help?
Thank you,
Marina
<telerik:GridTemplateColumn ItemStyle-Width="27px" ItemStyle-Height="46px" Resizable="false" >
<ItemTemplate>
<asp:Button CommandName="ExpandCollapse" runat="server" ID="EC" CssClass="expandbutton" />
</ItemTemplate>
</telerik:GridTemplateColumn>
Obviously in code behind, I intercept my command and the nestedviewtemplate in my case is shown correctly on expand. So far so good, expand and collpase work fine, the problem is that on expand, the columns of my grid (outer grid) loose their size(some become smaller, same become larger than in the all collapsed state). I tried setting Resizable=false on all GridTemplateColumn, but no result....
Any ideas? Can you please help?
Thank you,
Marina