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

[Solved] Tab strip with grid crashing IE6

1 Answer 61 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jmo
Top achievements
Rank 1
jmo asked on 05 Oct 2010, 10:13 AM
Ok, so I have a tabstrip

on tab 1 I have some content

on tab 2 I have a partial view with some content that contains a Telerik MVC Grid.

The grid binds correctly using ajax, I can insert, edit, delete using ajax binding.

Here is the weird part:

If the data for the grid is null (ie. nothing in the datasource to bind to, which results to a null list), the FIRST time I navigate to the tab, the tab displays correctly, and the grid shows as being empty. I then click on a different tab, then click back on tab 2, and IE6 crashes completely.

If the grid has data hopping between tabs is fine.

It all runs fine in Firefox.

Any ideas??

1 Answer, 1 is accepted

Sort by
0
jmo
Top achievements
Rank 1
answered on 05 Oct 2010, 11:27 AM
ok, so in trying to put together a small MVC site as an example to send to telerick, I have narrowed the issue down to this code on my grid.

.Scrollable(scrolling => scrolling.Height(120))

In fact, any Scrollable causes it ( eg. .Scrollable() )

Attaching a sample project that demonstrates this issue. (NOTE: having issues uploading from current location, will upload from home tonight).

Index page has 2 link
- link to example with no data
- link to example with data

To reproduce:
1 - Click "Link with no data" hyperlink - you'll see the TabContainer page displayed with "Tab 1" selected.
2 - Click "Tab 2" - "Tab 2" page will display with an empty grid
3 - Now Click "Tab 1"
4 - Now Click "Tab 2" again - IE6 will crash
5 - In the file Tab2.ascx, comment out the .Scrollable line to see the issue
6 - Go back to step 1 again and repeat - the crash will NOT happen
Tags
TabStrip
Asked by
jmo
Top achievements
Rank 1
Answers by
jmo
Top achievements
Rank 1
Share this question
or