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

Problem in using Radgrid after updating to .net 4.5.1

3 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 24 Oct 2014, 01:04 AM
Hi,
I am using Radgrid in my project. 
I used .net framework 3.5 and VS 2010 before. The Radgrid is displayed correctly in my project by that time.
Lately, I upgrade the project to .net framework 4.5.1 and I am using VS 2013 now. I found that the radgrid occasionally (not always) run into problem and the grid collapses.
Due to protection of my company, sorry that I can't print screen here. But I can tell from what I see from the HTML code generated before and after.

Before the change, it is normal like:
<div id="ctl00_ContentPlaceHolder1_radGridSample" class="RadGrid RadGrid_WebBlue">
    <table cellspacing="0" class="rgMasterTable" border="0" id="ctl00_ContentPlaceHolder1_radGridSample_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">
        <colgroup>
            [content for colgroup]
        </colgroup>
        <thead>
            [content for thead]
        </thead>
        <tfoot>
            <tr class="rgPager">
                [content for pager]
            </tr>
        </tfoot>
        <tbody>
            <tr class="rgRow" id="ctl00_ContentPlaceHolder1_radGridSample_ctl00__0">
                <td>
                    [content for a row]
                </td>
            </tr>
                [repeat]
        </tbody>
    </table>
</div>

After, it becomes:
<div id="ctl00_ContentPlaceHolder1_radGridSample" class="RadGrid RadGrid_WebBlue">
            [content for thead]
        </thead>
        <tfoot>
            <tr class="rgPager">
                [content for pager]
            </tr>
        </tfoot>
        <tbody>
            <tr class="rgRow" id="ctl00_ContentPlaceHolder1_radGridSample_ctl00__0">
                <td>
                    [content for a row]
                </td>
            </tr>
                [repeat]
        </tbody>
    </table>
</div>

As you can see a large portion of html code at the top is missing. You can imagine that the table couldn't be formed. All the data in the table concatenates into 1 line.
The css, javascript file referenced by Radgrid does exist.
The telerik I am using is 2014 version. 

Could anyone advise me on how to solve this problem?

Regards,
Xavier

3 Answers, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 28 Oct 2014, 02:35 PM
Hello Xavier,

We have several reports for similar issue related to the VS2013 Browser Link feature and most of those issue were fixed in previous version of the control therefore they should not appear with the latest Q3 2014 release.
In order to isolate the root cause of the problem, could you please disable the Browser Link feature and verify if this makes any difference?

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Xavier
Top achievements
Rank 1
answered on 28 Oct 2014, 11:43 PM
Yes, I tried that and solved the probelm
0
Waqas
Top achievements
Rank 2
answered on 01 Dec 2014, 01:45 PM
This worked for Me too. Thanks!
Tags
Grid
Asked by
Xavier
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Xavier
Top achievements
Rank 1
Waqas
Top achievements
Rank 2
Share this question
or