This is a migrated thread and some comments may be shown as answers.
Rows turn invisible intermittently
2 Answers 10 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 23 Nov 2011, 01:14 AM
Every now and again one of my grids will simply “loose” all of its rows.  The grid is on a tab and so if I select another tab and then return to the tab with the grid the UI will display the rows again.  Any idea as to what is going on here?
Environment
IE version 8.0.7601.17514
MVC 3
Telerik Extensions for ASP.NET MVC Q2 2011

<div id="user_collection_to_add_from">
    <h3>Add Temporary User</h3>
  
    @(Html.Telerik().Grid<GCSAdminPoco.UserInfo>()
        .Name("UsersToAddToWorkgroupGrid")
        //.Editable(editing => editing.Mode(GridEditMode.PopUp))
        .DataKeys(dataKeys =>
        {
            dataKeys.Add(k => k.ID);
        })
        .DataBinding(dataBinding => dataBinding
            .Ajax()
                .Select("SelectAllUsers", "User")
            )
        .Columns(columns =>
        {
            columns.Bound(c => c.ID).Hidden(true);
            columns.Bound(c => c.DisplayName).Title("User");
              
        })
        .ClientEvents(events => events.OnRowSelect("onRowSelectedForUser"))
        //.ClientEvents(events => events.OnDelete("onDeleteForAttributeCollection")) 
        //.ClientEvents(events => events.OnDataBound("onDataBoundForAttributeRefresh"))
        .Selectable()
        .Scrollable(scrolling => scrolling.Height("155px"))
        .Filterable(filtering => filtering.Enabled(true))
        .Sortable()
        //.Pageable(pager => pager.PageSize(10))
    )
</div>

See attached screen shots.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Nov 2011, 10:27 AM
Hi David,

Is the problem exhibited only in IE? Are the missing rows in the DOM or not (can you see them in the web development toolbar) ?

This looks like a IE rendering bug to me, which might be resolved by triggering hasLayout to a suitable HTML element(s) on the page.

http://www.satzansatz.de/cssd/onhavinglayout.html

All the best,
Dimo
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
David
Top achievements
Rank 1
answered on 29 Nov 2011, 08:06 PM
This has been a real tricky issue to consistently recreate.  I’ve added a width to the grid column in hopes that the problem will be resolved as described in the article you referenced.  Thanks.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Dimo
Telerik team
David
Top achievements
Rank 1
Share this question
or