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

Internet Explorer Not Reading RepeatColumns Correctly

1 Answer 39 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 28 Dec 2011, 11:12 PM
For some reason IE is not rendering the 'RepeatColumns' Correctly.  My sitemap has 4 groups so I have the RepeatColumns set to 4 like so:
<telerik:RadSiteMap ID="RadSiteMap1" runat="server"
                    DataNavigateUrlField="Title" DataSourceID="RadSiteMapDataSource1"
                    DataTextField="Title" DataValueField="Description" Font-Names="Arial"
                    Font-Size="8pt" ShowNodeLines="True" Skin="Windows7">
                    <LevelSettings>
                        <telerik:SiteMapLevelSetting MaximumNodes="5">
                            <ListLayout AlignRows="True" RepeatColumns="4" />
                        </telerik:SiteMapLevelSetting>
                    </LevelSettings>
                </telerik:RadSiteMap>

However in IE only 3 columns show up and the 4th is on the next line.  Firefox, Chrome, and Safari all render this correctly.

If I set the columns to 5 instead of 4 it works correctly, but then the spacing is wrong because it is compensating for an additional column. 

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 30 Dec 2011, 05:36 PM
Hi Shawn,

This is a common issue when you set additional properties to the columns / items, such as border, padding etc.

For a more concrete answer, we'll need to see at least a live URL or a sample project.

Holiday greetings,
Ivan Zhekov
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
Tags
SiteMap
Asked by
Shawn
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or