Hi,
I have a client side loaded hierarchy grid, the first level looks fine but if I open that then the second level has the exp/collapse image missing. I've looked at the html and img appears to have the right source (a WebResource that resolves to the correct icon). However perhaps because its initially not visible its not resolving?? Who knows. Anyway below is my .skin defenition for the grid and inner table views. I will try to 'hard code' the icon to resolve this.
Edit:
Changing the default images using (ExpandCollapseColumn-CollapseImageUrl, and ExpandCollapseColumn-ExpandImageUrl) has the same problem.
Thanks
Guido Tapia
<telerik:RadGrid runat="server" Skin="Office2007" AutoGenerateColumns="false" GridLines="Vertical" ItemStyle-Height="20px" AlternatingItemStyle-Height="20px"
GroupingEnabled="False" AllowAutomaticUpdates="False" AllowAutomaticDeletes="False" AllowAutomaticInserts="False" AllowMultiRowEdit="False"
AllowPaging="false" AllowSorting="false" Width="100%">
<ClientSettings AllowColumnHide="false" AllowColumnsReorder="false" AllowExpandCollapse="true" AllowGroupExpandCollapse="true" ReorderColumnsOnClient="true">
<Resizing AllowColumnResize="false" AllowRowResize="false" EnableRealTimeResize="true"/>
<Scrolling AllowScroll="true" SaveScrollPosition="true"/>
</ClientSettings>
<MasterTableView RetrieveAllDataFields="False" ShowHeadersWhenNoRecords="false" AllowMultiColumnSorting="False" AllowNaturalSort="False">
<NoRecordsTemplate><div style="color:#663366;padding:2px;padding-left:6px;"><i><b>No items found.</b></i></div></NoRecordsTemplate>
<PagerStyle Mode="NextPrevAndNumeric"/>
</MasterTableView>
</telerik:RadGrid>
<telerik:GridTableView runat="server" DataKeyNames="ID" HierarchyLoadMode="Client" HierarchyDefaultExpanded="false" AllowPaging="false" AdditionalDataFieldNames="ParentAssetID,ID"
HorizontalAlign="Right" Width="100%">
<SortExpressions>
<telerik:GridSortExpression FieldName="AssetName" SortOrder="Ascending"/>
</SortExpressions>
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="ParentAssetID" MasterKeyField="ID" />
</ParentTableRelation>
</telerik:GridTableView>
I have a client side loaded hierarchy grid, the first level looks fine but if I open that then the second level has the exp/collapse image missing. I've looked at the html and img appears to have the right source (a WebResource that resolves to the correct icon). However perhaps because its initially not visible its not resolving?? Who knows. Anyway below is my .skin defenition for the grid and inner table views. I will try to 'hard code' the icon to resolve this.
Edit:
Changing the default images using (ExpandCollapseColumn-CollapseImageUrl, and ExpandCollapseColumn-ExpandImageUrl) has the same problem.
Thanks
Guido Tapia
<telerik:RadGrid runat="server" Skin="Office2007" AutoGenerateColumns="false" GridLines="Vertical" ItemStyle-Height="20px" AlternatingItemStyle-Height="20px"
GroupingEnabled="False" AllowAutomaticUpdates="False" AllowAutomaticDeletes="False" AllowAutomaticInserts="False" AllowMultiRowEdit="False"
AllowPaging="false" AllowSorting="false" Width="100%">
<ClientSettings AllowColumnHide="false" AllowColumnsReorder="false" AllowExpandCollapse="true" AllowGroupExpandCollapse="true" ReorderColumnsOnClient="true">
<Resizing AllowColumnResize="false" AllowRowResize="false" EnableRealTimeResize="true"/>
<Scrolling AllowScroll="true" SaveScrollPosition="true"/>
</ClientSettings>
<MasterTableView RetrieveAllDataFields="False" ShowHeadersWhenNoRecords="false" AllowMultiColumnSorting="False" AllowNaturalSort="False">
<NoRecordsTemplate><div style="color:#663366;padding:2px;padding-left:6px;"><i><b>No items found.</b></i></div></NoRecordsTemplate>
<PagerStyle Mode="NextPrevAndNumeric"/>
</MasterTableView>
</telerik:RadGrid>
<telerik:GridTableView runat="server" DataKeyNames="ID" HierarchyLoadMode="Client" HierarchyDefaultExpanded="false" AllowPaging="false" AdditionalDataFieldNames="ParentAssetID,ID"
HorizontalAlign="Right" Width="100%">
<SortExpressions>
<telerik:GridSortExpression FieldName="AssetName" SortOrder="Ascending"/>
</SortExpressions>
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="ParentAssetID" MasterKeyField="ID" />
</ParentTableRelation>
</telerik:GridTableView>
