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

[Solved] Grid shows unwanted data above grid

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yew
Top achievements
Rank 1
Yew asked on 22 Mar 2013, 09:19 AM
Hi,

I have integrated radgrid into my project and there is some sample date field showing above the grid.. Please refer to the screen shoot for the problem.

<div id="Content_e_GTTEVENT_grid" class="RadGrid RadGrid_Office2007" style="width:100%;" tabindex="0">
 
<!-- 2012.3.1205.35 --><fldtype>12</fldtype><tag>SAMPLE03</tag><collapsed>False</collapsed><value>17-Jul-2010</value>
CL=-1 RA=0 SH=-1 PR=0 OC=-1 BA=0 SI=0 DateEntered=18-Feb-1999 Status=0 CS=-1 FG=0 TU=0 CA=0 TR=0 RM=-1 CP=-1 KY=0 UpdateFlag=0 MfChk1=-1 MfChk2=0 MfChk3=0 MfChk4=0 MfChk5=0 MfNr=5 AlertNr=0 RelAllowed=|BR|DGT|EME|EMR|FMY|FAT|LG|MOT|SIS|SON|SPO||ACC|AGT|AUD|AUS|CON|FC|GMR|INS|IVA|LAN|LAW|LIQ|MAN|REC|SUR|TEN||SAS|DIR| DirtyRels=-1 DirtyOwner=-1 DirtyOther=-1 Confidential=0 ConfId= }<table class="rgMasterTable rgClipCells" border="0" id="Content_e_GTTEVENT_grid_ctl00" style="width:100%;table-layout:fixed;overflow:hidden;empty-cells:show;">
    <colgroup>
        <col style="width:0px;display:none;">
        <col style="width:120px">
        <col style="width:88px">
        <col style="width:96px">
        <col style="width:80px">
        <col style="width:400px">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:280px">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
    </colgroup>
<thead>
        <tr>
            <th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl00','')">Change Number</a></th><th scope="col" class="rgHeader" style="text-align: center; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl01','')">Date Entered</a></th><th scope="col" class="rgHeader" style="text-align:center;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl02','')">Effective</a></th><th scope="col" class="rgHeader" style="text-align: right; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl03','')">Approved</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl04','')">User</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl05','')">Description</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl06','')">Show in Summary</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl07','')">Note</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl08','')">Change Code</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl09','')">Change Name</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl10','')">Requires Confirmation</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl11','')">Change Details</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl12','')">Entity</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl13','')">Entity Code</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl14','')">Active</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl15','')">Administrator Group</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl16','')">Event Class</a></th>
        </tr>
    </thead><tfoot>
        <tr class="rgPager">
            <td colspan="6"><table summary="Data pager which controls on which page is the RadGrid control." border="0" style="width:100%;border-spacing:0;">
                <caption>
                    <span style="display: none">Data pager</span>
                </caption><thead>
                    <tr>
                        <th scope="col"></th>
                    </tr>
                </thead><tbody>
                    <tr>
                        <td class="rgStatus"><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_statusPanel" style="visibility:hidden;">
                              
                        </div></td><td class="rgPagerCell NextPrevAndNumeric"><div class="rgWrap rgArrPart1">
                            <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl02" value=" " onclick="return false;" title="First Page" class="rgPageFirst"> <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl03" value=" " onclick="return false;" title="Previous Page" class="rgPagePrev">
                        </div><div class="rgWrap rgNumPart">
                            <a onclick="return false;" class="rgCurrentPage" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl05','')"><span>1</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl07','')"><span>2</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl09','')"><span>3</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl11','')"><span>4</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl13','')"><span>5</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl15','')"><span>6</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl17','')"><span>7</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl19','')"><span>8</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl21','')"><span>9</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl23','')"><span>10</span></a><a title="Next Pages" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl25','')"><span>...</span></a>
                        </div><div class="rgWrap rgArrPart2">
                            <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl28" value=" " title="Next Page" class="rgPageNext"> <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl29" value=" " title="Last Page" class="rgPageLast">
                        </div><div class="rgWrap rgAdvPart">
                            <span id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_ChangePageSizeLabel" class="rgPagerLabel">Page size:</span><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox" class="RadComboBox RadComboBox_Office2007" style="width:46px;white-space:normal;">
                                <table summary="combobox" style="border-width: 0px; border-collapse: collapse;">
                                    <tbody><tr class="rcbReadOnly">
                                        <td style="width:100%;" class="rcbInputCell rcbInputCellLeft"><input name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$PageSizeComboBox" type="text" class="rcbInput radPreventDecorate" id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_Input" value="20" readonly="readonly" autocomplete="off"></td>
                                        <td class="rcbArrowCell rcbArrowCellRight"><a id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
                                    </tr>
                                </tbody></table>
                                <div class="rcbSlide" style="z-index:6000;"><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_DropDown" class="RadComboBoxDropDown RadComboBoxDropDown_Office2007 " style="display:none;"><div class="rcbScroll rcbWidth" style="width:100%;"><ul class="rcbList" style="list-style:none;margin:0;padding:0;zoom:1;"><li class="rcbItem ">10</li><li class="rcbItem ">20</li><li class="rcbItem ">50</li></ul></div></div></div><input id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_ClientState" name="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_ClientState" type="hidden" autocomplete="off">
                            </div>
                        </div><div class="rgWrap rgInfoPart">
                              <strong>2714</strong> items in <strong>136</strong> pages
                        </div></td>
                    </tr>
                </tbody>
            </table></td>
        </tr>
    </tfoot><tbody>
    <tr class="rgRow rgSelectedRow" id="Content_e_GTTEVENT_grid_ctl00__0">
        <td align="left" style="display:none;">5544</td><td align="center">22-Mar-2013 3.56 PM</td><td align="center">22-Mar-2013</td><td align="right">Yes</td><td align="left">SM</td><td align="left">Bank Account #2222222222 Deleted</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;"> </td><td align="left" style="display:none;">BAD</td><td align="left" style="display:none;">Delete Bank Account</td><td align="right" style="display:none;">No</td><td align="left" style="display:none;">{BAD EntCode=CASEYL SeqNr=1 BAnumber=2222222222 BAtype=CA IBANcode= BankAddrCode=NEWEUR BranchAddrCode= SortCode= CurCode=USD AccountName= SigningArrang= BNote= DateResolution= DateClosed= Status=0 Value= DateValue= Exchange= Quantity= Bank=New Europe Bank ValueBC= }</td><td align="left">Casey Limited Corporation ??</td><td align="left" style="display:none;">CASEYL</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;">GROUP1</td><td align="left" style="display:none;"> </td>
    </tr><tr class="rgAltRow" id="Content_e_GTTEVENT_grid_ctl00__19" style="background-color:White;">
        <td align="left" style="display:none;">5525</td><td align="center">22-Mar-2013 11.32 AM</td><td align="center">22-Mar-2013</td><td align="right">Yes</td><td align="left">SM</td><td align="left">Master File Details of Casey Limited Corporation Changed</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;"> </td><td align="left" style="display:none;">ADC</td><td align="left" style="display:none;">Change Master File Details</td><td align="right" style="display:none;">No</td><td align="left" style="display:none;">{ADC EntCode=CASEYL RefCode=CASEYL RefType=C AdminGroup=GROUP1 Name=Casey Limited Corporation ChnsName=?? CompName=Toby Long SearchName=Casey Limited Corporation ?? NameFormat=0 AltName= GreetingList=0 MailList=-1 UserComboMR=NA LangCode=ENG UFieldFormat=<!--?xml version='1.0' ?-->
<checklist>
<clline><level>0</level></clline></checklist></td></tr></tbody><caption>Sample date field</caption>
<tbody><tr><td align="left">Casey Limited Corporation ??</td><td align="left" style="display:none;">CASEYL</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;">GROUP1</td><td align="left" style="display:none;"> </td>
    </tr>
    </tbody>
 
</table><input id="Content_e_GTTEVENT_grid_ClientState" name="Content_e_GTTEVENT_grid_ClientState" type="hidden" autocomplete="off">
    </div>

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 27 Mar 2013, 09:28 AM
Hi Yew,

Could you please elaborate a little bit more on your requirement? Sending us your code declaration and the related code behind will help us to pinpoint the reason for that behavior.

Regards,
Kostadin
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
Grid
Asked by
Yew
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or