Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
86 views
Hi ,

I have a webpart in my sharepoint site which uses Telerik RadPanelBar Control .

It has a expanding panel bar which can expand and stuff .

What i encounter is everytime i click on the expand it aways jump to the top of the RadPanelBar control

This behaviour only appear in IE but not in google chrome and firefox .

I suspect it some browser settings or stuff

AnyOne encounter this issue ?

Kindly advise . Thanks
Noob2008 Noob2008
Top achievements
Rank 1
 asked on 16 Jul 2009
1 answer
130 views
I have a web site that uses several RadControls that have suddenly and mysteriously stopped working.  They worked fine on Thursday, I was out of town Friday through Monday and now today they do not work.  I have scoured the forums and the internet looking for answers and the closest I've found is for websites using RadStyleSheetManager - which I'm not.  I've attached a screenshot, but here's what happens in a nutshell:

When the main page, which contains a RadMenu and two RadCharts, loads, the menu no longer has any style or formatting to it.  If I go to a page with a RadGrid and RadComboBoxes, the grid has no style and the combo boxes don't drop down and they have the text "Select" next to them.

I've checked that the DLL exists in the Bin folder and that it is the correct version, I've deleted the entire website and rebuilt and republished it.  I've even republished the website with "All project files," all to no avail.  This site has been working fine for the past four months and is scheduled to go live at the end of the week.  What else can I check and what am I missing?

Thanks for any and all help!

Marc
Marc Lee
Top achievements
Rank 2
 answered on 16 Jul 2009
1 answer
113 views
I have the 2009 Q1 release and there is no ListBox control. Where do I get it???
Erik Hinds
Top achievements
Rank 1
 answered on 15 Jul 2009
6 answers
151 views
Is there a way to call the Pop Up Edit From from a button click?
Sean
Top achievements
Rank 1
 answered on 15 Jul 2009
1 answer
105 views
is it possible to turn off Multi-row editing?  Basically, if another row is clicked to edit, or the Insert command is fired, I want all previous rows to Cancel so the only editing row is the current one.
Daniel Caves
Top achievements
Rank 1
 answered on 15 Jul 2009
1 answer
133 views
Hi,

     I want to export to pdf in TelerikGrid.I am using follwing code

<

 

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

But i am not getting the result of template columns in PDF..

Is Telerik Grid Support this????????????????Please Clarify this ASAP..ASAP

Thanks in Advance
SANNIDHI

Daniel
Telerik team
 answered on 15 Jul 2009
3 answers
113 views
Hello,

I am having a problem with the Web20 skin: In the dropdown buttons of a RadToolbarDropDown the images appear too far to the right, so that they are only partly visible. Please see my HTML below:

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

With the Office skin everything is perfectly right...
Atanas Korchev
Telerik team
 answered on 15 Jul 2009
3 answers
266 views
Hi All!

I have a grid without AllowSorting

<telerik:RadGrid ID='RgP66'  CssClass='grid' GridLines='none' runat='server' Skin='Hay'
           AllowSorting   Width='100%' AllowPaging='True' PageSize='10' AutoGenerateColumns='False' >
   <PagerStyle AlwaysVisible='true' Mode='NextPrevAndNumeric'/>
   <ClientSettings>
       <Selecting AllowRowSelect='True' ></Selecting>
       <ClientEvents OnCommand='RgP66_Command'  OnRowSelected='RgP66RowSelected'  OnRowDataBound='RgP66_RowDataBound'/>
   </ClientSettings>
   <MasterTableView  Width='100%' TableLayout='Fixed'  CommandItemDisplay='None' HorizontalAlign='NotSet'>
        <Columns>
        <telerik:GridTemplateColumn UniqueName='delP66' HeaderText='Xóa' HeaderStyle-Width='30px'  >
            <ItemStyle HorizontalAlign='Center' />
            <ItemTemplate >
              <input type='button' id='bDelP66' runat='server'  class='gcBtnDel'  onclick='DelP66(this.title);' />
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='Id' HeaderText='Id' Visible='false'
                     DataFormatString='{0:n0}' UniqueName='Id' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='PhieuChiTienMatId_Ten1' HeaderText='Phiếu chi tiền mặt ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='PhieuChiTienMatId_Ten1' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='SoLuong' HeaderText='Số lượng ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='SoLuong' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='DonViTinh' HeaderText='ĐVT ' Visible='true'
                      UniqueName='DonViTinh' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='DonGia' HeaderText='Đơn giá ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='DonGia' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='ThanhTien' HeaderText='Thành tiền ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='ThanhTien' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='BoPhanId_Name6' HeaderText='Bộ phận ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='BoPhanId_Name6' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='DichvuId_Name7' HeaderText='Dich vụ ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='DichvuId_Name7' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='NhanvienId_HoTen8' HeaderText='Nhân viên ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='NhanvienId_HoTen8' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='DoiTuongId_Name9' HeaderText='Đối tượng ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='DoiTuongId_Name9' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='VAT' HeaderText='Thuế VAT ' Visible='true'
                     DataFormatString='{0:n0}' UniqueName='VAT' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridBoundColumn  DataField='DienGiai' HeaderText='Diễn giải ' Visible='true'
                      UniqueName='DienGiai' >
        </telerik:GridBoundColumn>
        <%-- -------------------------------------------------------------------------------------- --%>
        <telerik:GridTemplateColumn UniqueName='printP66' HeaderText='In' HeaderStyle-Width='30px'  >
            <ItemStyle HorizontalAlign='Center' />
            <ItemTemplate >
              <input type='button' id='bPrintP66' runat='server' value='' class='gcBtnPrint'  onclick='PrintP66(this.title);' />
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        </Columns>
     </MasterTableView>
</telerik:RadGrid>


When i view source page, the code generate here:
<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>&nbsp;<a onclick="if(!$find('P189U_RgP189_ctl00').page('1')) return false;" href="javascript:__doPostBack('P189U$RgP189$ctl00$ctl03$ctl01$ctl03','')">1</a>&nbsp;<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">
                 &nbsp;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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</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>

In this example i don't want sort header in grid, but the </thead> generate more code.
How to declare radgrid that generate compact code?

I want here generate code:
<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>



Tung
Top achievements
Rank 1
 answered on 15 Jul 2009
2 answers
181 views

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> 
 
 After running Default.aspx whenever I click on combo box i got  Javascript Error "Invalid argument". Running iFramePage directly everything works fine.
Syed
Top achievements
Rank 1
 answered on 15 Jul 2009
3 answers
251 views

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?

Jonathan Stein
Top achievements
Rank 1
 answered on 15 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?