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
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