<
telerik:GridBoundColumn DataField="Partner Name" UniqueName="PartnerName" HeaderText="PartnerName"
HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="left">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Rank" UniqueName="Rank" HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Right" HeaderText="Rank">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Rank1" UniqueName="Rank1" HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Right" HeaderText="Rank1">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="Column1" InitializeTemplatesFirst="true">
<HeaderTemplate>
<table id="Tabfy08" cellspacing="0" style="width: 100%;">
<tr>
<td colspan="2" align="center">
<b>COULMNSHEADER</b>
</td>
</tr>
<tr>
<td style="width: 50%; border-style: none;" align="center">
<asp:Label ID="lblfy08" Text="Rank" runat="server" />
</td>
<td style="width: 50%; border-style: none;" align="center">
<asp:Label ID="lblesa08" Text="Rank1" runat="server" />
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table cellspacing="0" width="100%" class="myTable">
<tr>
<td style="width: 50%">
<%
# Eval("Rank")%>
</td>
<td style="width: 50%">
<%
# Eval(" Rank1")%>
</td>
</tr>
</table>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</telerik:GridTemplateColumn>
I want to export to pdf which has template columns.
For that i am using following code
MYGRID.ExportSettings.ExportOnlyData =
true;
MYGRID.ExportSettings.IgnorePaging =
true;
MYGRID.ExportSettings.OpenInNewWindow =
true;
MYGRID.MasterTableView.HierarchyDefaultExpanded =
true;
MYGRID.ExportSettings.ExportOnlyData =
true;
MYGRID.MasterTableView.ExportToPdf();
In Button Click Event...............| <telerik:RadToolBarDropDown Text="XXX"> | |
| <Buttons> | |
| <telerik:RadToolBarButton Enabled="false" Value="Verification" ImageUrl="../Styles/Images/spo.gif" | |
| Text="<%$Resources:TextResources, ID_1%>"> | |
| </telerik:RadToolBarButton> | |
| <telerik:RadToolBarButton Value="Accounted" ImageUrl="../Styles/Images/spo.gif" | |
| Text="<%$Resources:TextResources, ID_2%>"> | |
| </telerik:RadToolBarButton> | |
| <telerik:RadToolBarButton Value="PaymentReleased" ImageUrl="../Styles/Images/spo.gif" | |
| Text="<%$Resources:TextResources, ID_3%>"> | |
| </telerik:RadToolBarButton> | |
| </Buttons> | |
| </telerik:RadToolBarDropDown> | |
| <div id="P189U_RgP189" class="RadGrid RadGrid_Hay grid" style="width:100%;"> <table class="MasterTable_Hay" cellspacing="0" border="0" id="P189U_RgP189_ctl00" style="width:100%;border-collapse:collapse;table-layout:fixed;empty-cells:show;"> <colgroup> <col width="30px" /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col /> <col width="30px" /> </colgroup> <thead> <tr> <th scope="col" class="GridHeader_Hay">Xóa<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl04" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00____SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl05" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00____SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Phiếu thu <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl08" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__PhieuThuTienMatId_Ten1__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl09" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__PhieuThuTienMatId_Ten1__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Thẻ khách hàng <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl10" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__TheKHId_Ten2__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl11" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__TheKHId_Ten2__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Ngày gạch <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl12" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__NgayGachPhieu__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl13" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__NgayGachPhieu__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Dịch Vụ <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl14" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__DichVuId_Name4__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl15" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__DichVuId_Name4__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">BoPhanId<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl16" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__BoPhanId__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl17" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__BoPhanId__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Nhân Viên Làm<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl18" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__NhanVienId_HoTen6__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl19" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__NhanVienId_HoTen6__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Chiết Khấu<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl20" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__CKNhanVien__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl21" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__CKNhanVien__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Tiền Dịch vụ<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl22" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__TienDV__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl23" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__TienDV__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Số lần gạch <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl24" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__SoLanGach__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl25" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__SoLanGach__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Thành Tiền <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl26" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__ThanhTien__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl27" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__ThanhTien__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Phụ thu <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl28" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__PhuThu__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl29" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__PhuThu__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">Quên thẻ <input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl30" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__KHQuenThe__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl31" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__KHQuenThe__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">NvLam2<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl32" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__NvLam2_HoTen13__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl33" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__NvLam2_HoTen13__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">NvLam3<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl34" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__NvLam3_HoTen14__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl35" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__NvLam3_HoTen14__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">NvLam4<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl36" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00__NvLam4_HoTen15__SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl37" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00__NvLam4_HoTen15__SortDesc" style="display:none;" /></th><th scope="col" class="GridHeader_Hay">In<input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl38" value=" " onclick="return false;" title="Sorted asc" class="rgSortAsc" id="P189U_RgP189_ctl00____SortAsc" style="display:none;" /><input type="submit" name="P189U$RgP189$ctl00$ctl02$ctl01$ctl39" value=" " onclick="return false;" title="Sorted desc" class="rgSortDesc" id="P189U_RgP189_ctl00____SortDesc" style="display:none;" /></th> </tr> </thead><tfoot> <tr class="GridPager_Hay"> <td colspan="17"><div class="PagerLeft_Hay"> Chuyển trang: <span><input type="submit" name="P189U$RgP189$ctl00$ctl03$ctl01$ctl02" value=" " onclick="$find('P189U_RgP189_ctl00').page('Prev'); return false;" title="Previous Page" class="rgPagePrev" /></span> <a onclick="if(!$find('P189U_RgP189_ctl00').page('1')) return false;" href="javascript:__doPostBack('P189U$RgP189$ctl00$ctl03$ctl01$ctl03','')">1</a> <input type="submit" name="P189U$RgP189$ctl00$ctl03$ctl01$ctl04" value=" " onclick="if(!$find('P189U_RgP189_ctl00').page('Next')) return false;" title="Next Page" class="rgPageNext" /> </div><div class="PagerRight_Hay"> Trang đang hiển thị <span id='P189U_RgP189_ctl00CPI'>1</span> trên <span id='P189U_RgP189_ctl00PCN'>1</span> trang, hàng từ <span id='P189U_RgP189_ctl00FIP'>1</span> đến <span id='P189U_RgP189_ctl00LIP'>10</span> trên <span id='P189U_RgP189_ctl00DSC'>10</span> hàng. </div></td> </tr> </tfoot><tbody> <tr class="GridRow_Hay" id="P189U_RgP189_ctl00__0"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl04$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl04_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl04$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl04_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridAltRow_Hay" id="P189U_RgP189_ctl00__1"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl06$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl06_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl06$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl06_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridRow_Hay" id="P189U_RgP189_ctl00__2"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl08$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl08_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl08$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl08_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridAltRow_Hay" id="P189U_RgP189_ctl00__3"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl10$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl10_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl10$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl10_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridRow_Hay" id="P189U_RgP189_ctl00__4"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl12$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl12_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl12$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl12_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridAltRow_Hay" id="P189U_RgP189_ctl00__5"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl14$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl14_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl14$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl14_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridRow_Hay" id="P189U_RgP189_ctl00__6"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl16$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl16_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl16$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl16_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridAltRow_Hay" id="P189U_RgP189_ctl00__7"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl18$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl18_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl18$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl18_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridRow_Hay" id="P189U_RgP189_ctl00__8"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl20$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl20_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl20$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl20_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr><tr class="GridAltRow_Hay" id="P189U_RgP189_ctl00__9"> <td align="center"> <input name="P189U$RgP189$ctl00$ctl22$bDelP189" type="button" id="P189U_RgP189_ctl00_ctl22_bDelP189" class="gcBtnDel" onclick="DelP189(this.title);" /> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td align="center"> <input name="P189U$RgP189$ctl00$ctl22$bPrintP189" type="button" id="P189U_RgP189_ctl00_ctl22_bPrintP189" class="gcBtnPrint" onclick="PrintP189(this.title);" /> </td> </tr> </tbody> </table><input id="P189U_RgP189_ClientState" name="P189U_RgP189_ClientState" type="hidden" /> </div> |
| <thead> <tr> <th scope="col" class="GridHeader_Hay">Xóa</th> <th scope="col" class="GridHeader_Hay">Phiếu thu </th> <th scope="col" class="GridHeader_Hay">Thẻ khách hàng </th> <th scope="col" class="GridHeader_Hay">Ngày gạch </th> <th scope="col" class="GridHeader_Hay">Dịch Vụ </th> <th scope="col" class="GridHeader_Hay">BoPhanId</th> <th scope="col" class="GridHeader_Hay">Nhân Viên Làm</th> <th scope="col" class="GridHeader_Hay">Chiết Khấu</th> <th scope="col" class="GridHeader_Hay">Tiền Dịch vụ</th> <th scope="col" class="GridHeader_Hay">Số lần gạch </th> <th scope="col" class="GridHeader_Hay">Thành Tiền </th> <th scope="col" class="GridHeader_Hay">Phụ thu </th> <th scope="col" class="GridHeader_Hay">Quên thẻ </th> <th scope="col" class="GridHeader_Hay">NvLam2</th>< th scope="col" class="GridHeader_Hay">NvLam3</th> <th scope="col" class="GridHeader_Hay">NvLam4</th> <th scope="col" class="GridHeader_Hay">In</th> </tr> </thead> |
I just installed the Q2 2009 and getting error on every control in iFrame. I created a new project from scratch and found same problem. Here are my two pages.
| %@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApplicationTest._Default1" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <IFRAME id="ReportFrame" name="ReportFrame" runat="server" frameBorder="no" width="100%" scrolling= "auto" height="90%" src="iFramePage.aspx" > |
| </IFRAME> |
| </div> |
| </form> |
| </body> |
| </html> |
| <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="iFramePage.aspx.vb" Inherits="RadControlsWebApplicationTest.iFramePage" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <div> |
| <telerik:RadComboBox ID="RadComboBox1" Runat="server"> |
| <Items> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" |
| Value="RadComboBoxItem1" /> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" |
| Value="RadComboBoxItem2" /> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" |
| Value="RadComboBoxItem3" /> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem4" |
| Value="RadComboBoxItem4" /> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem5" |
| Value="RadComboBoxItem5" /> |
| <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem6" |
| Value="RadComboBoxItem6" /> |
| </Items> |
| </telerik:RadComboBox> |
| </div> |
| </form> |
| </body> |
| </html> |
Hello All,
I have a rad grid that contains the GridTemplateColumn and a check box. I basicaly copied the demo code from the Grid / Server-side Row Selection. The only changes i made are to the data source. However, when the page postbacks, the check boxes do not remian checked. Is there something more that I need to add to the demo code?
<telerik
:RadTreeView ID="rtvConflicts" runat="server"">
<DataBindings>
<telerik:RadTreeNodeBinding DataMember="nodeName" TextField="FirstName" Checkable="false" />
<telerik:RadTreeNodeBinding DataMember="parentNodeName" TextField="ID" Depth="0" Checkable="true" />
</DataBindings>
My problem is that I would like to bind multiple XML attributes to a single node. I have searched and seen some similar examples with different types datasources - but nothing for XML. I was hoping there was an easy solution. You will see above that my top level node (depth=0) shows just the ID. The rest of the nodes show the first name. I would like the rest of the nodes to show first AND last name....both which are attributes of the nodeName element in the XML datasource.
Can anyone guide me in the right direction?
I have already done something similar using NodeTemplate in conjuntion with <%# XPath("")%> on another page, but the problem is that the template does not seem to allow the top level nodes to be different than the next level down. I may have missed something obvious, but my workaround on that page is very messy and I needed to include an attribute in the XML specifying what level the node was. I hope there is an easier way to do this.
Thanks,
Rob


| <telerik:RadPageView runat="server" ID="viewManualEntry"> | |
| <asp:Table ID="tblManualEntryReturnFields" runat="server" BorderWidth="0px" Width="100%"> | |
| </asp:Table> | |
| </telerik:RadPageView> |
