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

Nested RadGrid issue

2 Answers 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mansi
Top achievements
Rank 1
Mansi asked on 14 Sep 2011, 07:44 AM
Hi,

I am having one issue with radGrid. I have nested radgrids and while exporting them to word, I get one extra inputbox in document, which is not visible in grid while pressing the export button.

Please check the attached images.

Here is the aspx page code for inner grid:
<telerik:RadGrid ID="radComments" AllowPaging="True" runat="server" PageSize="15" Skin="" GridLines="None" BorderStyle="None" BorderColor="Transparent" ShowHeader="false"                                                      OnItemCommand="radComments_ItemCommand" OnItemDataBound="radComments_ItemDataBound"                                          OnItemCreated="radComments_ItemCreated" Width="100%" EnableTheming="false" Style="padding-left: 16px;"               OnPageIndexChanged="radComments_PageIndexChanged">                                                                             <PagerStyle Mode="NumericPages" />                                                                                              <ExportSettings ExportOnlyData="true">                                                                                  </ExportSettings>
<MasterTableView TableLayout="Fixed" Width="100%" Height="100%" BorderStyle="None"                                          DataKeyNames="BookID,commentid,CommentAttachment,userid,Commenttype">                                                    <ItemTemplate>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td valign="top" align="left" style="text-align: center; width: 5%; border: 1px;border-style: solid; padding-bottom: 5px;" class="box-border">                                                                                                                            <asp:Image ImageAlign="AbsMiddle" ID="imgWriterImage" runat="server" />
</td>
<td width="20%" align="left">
<strong><%# Eval("UserName") + ":" %></strong>
</td>
<td class="altbg" width="45%" align="left"><%# Eval("Commenttext") %></td>
<td width="20%" align="left">
<asp:Label ID="lblType" runat="server" Text='<%# Eval("Commenttype") %>'></asp:Label>
</td>
<td id="tdEditDelete" runat="server" align="center" width="20%">
<asp:HiddenField ID="hdnCommentID" runat="server" Value='<%# Eval("commentid") %>' />
<asp:HiddenField ID="hdnBookID" runat="server" Value='<%# Eval("bookid") %>' />
<asp:ImageButton ID="btnImgEdit" runat="server" ImageUrl="~/Forum/ForumImages2/edit.gif" OnClientClick="Edit(this);return false;" ToolTip="Edit" />
<asp:ImageButton ID="btnImgDelete" runat="server" ImageUrl="~/Forum/ForumImages2/delete.gif"class="DelComment" ToolTip="Delete" /></td></tr></table>
</ItemTemplate>
</MasterTableView>
</telerik:RadGrid>

Why I am getting extra inputbox in word after export?

2 Answers, 1 is accepted

Sort by
0
Mansi
Top achievements
Rank 1
answered on 14 Sep 2011, 12:59 PM
Any hints??
0
Daniel
Telerik team
answered on 17 Sep 2011, 11:35 AM
Hello Mansi,

This could be a bug in our HTML export. Could you please open a regular support ticket and attach a simple demo showing this problem?

Thanks in advance,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Mansi
Top achievements
Rank 1
Answers by
Mansi
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or