Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views

Hi,
     I have upgraded Telerik from Q2.2010 to Q2.2016 Recently. After upgrade the background color of the Disabled combo box is changed. 
Previously, the BG Color was White and now the Color is Transparent.

How will I change the BG Color of the Disabled Combo Box.

 

Regards,

Nisanth

Peter Milchev
Telerik team
 answered on 27 Jul 2016
4 answers
522 views
Hello,

Is there any way to convert the <span> tag's that the Editor uses when you apply a style from the Apply CSS dropdown into <div> tags? My styles all work quite well as div's but span's seem to break them all. I'd like it if the Editor could just apply the style as a DIV instead of a SPAN. Is this possible? I looked at content filters but that seems to require the user to go back and forth between views in order to take effect.

Thank you in advance!
Stepahnie
Top achievements
Rank 1
 answered on 27 Jul 2016
3 answers
90 views

I have updated the dll and I want to know if I need to replace each control on the page.  We have upgraded .Net version 3.5 to 4.6 and the Telerik controls will not work with the successful update of the dll's.

 

So do I need to replace each control with new controls?

 

 

 

Rick
Top achievements
Rank 1
 answered on 27 Jul 2016
1 answer
106 views

Hi,

Export to excel feature from Grid was working with Excel 2010 but lately it is not working. I am getting blank excel with no data. It works just fine with Excel 2013,2016.  Please advise ASAP as it is production issue.

 

Many Thanks.

Viktor Tachev
Telerik team
 answered on 27 Jul 2016
1 answer
127 views

Hello,

I need to be able to copy one row and paste as a new row.

When I copy one row content of a table and want to paste only text of selected row to the other row, it copied text with table row.

So it copied as :

<td>

<table><tr><td> Text  </td></tr></table>

</td>

I want to paste only contents instead of entire table row.

 

Regards,

Nandita

Niko
Telerik team
 answered on 27 Jul 2016
1 answer
126 views
Hi, I would please like to find out if the RadPivot has any functionality to manipulate the data and to save it back to a SQL database? 
Viktor Tachev
Telerik team
 answered on 27 Jul 2016
4 answers
109 views

Hi 

I want to get the aggregate values in header 

ABHILASH
Top achievements
Rank 1
 answered on 27 Jul 2016
4 answers
226 views
I've got a RadGrid with about 300 items but the pager is not displaying the correct number of items. It's saying (0 items in 1 pages). I don't have custom logic for the pager. PagerStyle is set to always visible. Paging is enabled. The only time I disable paging is when I click one specific button but it should not affect the grid on initial page load. Ideas?
Konstantin Dikov
Telerik team
 answered on 27 Jul 2016
4 answers
173 views
I permit to contact you because I’ve a problem with a telerik:RadGrid component and the Export Fonction

In fact, we have the PageSize of 20 but we want to export all data without filter.

I developed the code like this:

       <telerik:RadGrid  ID="xxxxxxx" runat="server" DataSourceID="xxxxx"  OnItemCommand="ApplicationDependency_ItemCommand" OnItemDataBound="ApplicationDependency_ItemDataBound" OnItemCreated="ApplicationDependency_ItemCreated" AutoGenerateColumns="False" AllowPaging="True" AllowFilteringByColumn="True"  PageSize="20"  AllowCustomPaging="True" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" ClientSettings-AllowColumnsReorder="false" AllowSorting="True" CellSpacing="0" GridLines="None" Height="800px" ShowGroupPanel="True">
              <ExportSettings
                FileName="ApplicationDependency"
                ExportOnlyData="true"
                IgnorePaging="true"
                UseItemStyles="true"
                ></ExportSettings>

It works fine on my local Pc and on the Acceptance Server. But in Production it doesn’t work and the export give me just the 20 firsts lines. For me, the only difference is IIS 7.5on the production and IIS 8 for Acceptence.
Kostadin
Telerik team
 answered on 27 Jul 2016
3 answers
104 views

Hi. i am required to export the data from RadGrid into excel on Sharepoint 2013 custom webpart. i have the following issue

  1. the export file is empty. i.e the file does not have any workbook/worksheet being created
  2. i have a external xml with the excel setting and styling from ASP global resource. how can i add this in during export?

ascx markup

01.<telerik:RadGrid RenderMode="Lightweight" runat="server" ID="gridCourse" AllowPaging="True" AutoGenerateColumns="False" AllowSorting="true" PageSize="14"
02.        OnSortCommand="gridCourse_SortCommand" OnPageIndexChanged="gridCourse_PageIndexChanged" OnExcelMLExportRowCreated="gridCourse_ExcelMLExportRowCreated"
03.        OnPageSizeChanged="gridCourse_PageSizeChanged" AllowMultiRowSelection="true">
04.      <MasterTableView PagerStyle-Mode="NumericPages" PagerStyle-Position="TopAndBottom" PagerStyle-HorizontalAlign="Right" UseAllDataFields="true">
05.          <Columns>
06.                <telerik:GridTemplateColumn HeaderStyle-Font-Bold="true" SortExpression="id" UniqueName="id" HeaderText="Course ID" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle">
07.                    <ItemTemplate>
08.                   <asp:HyperLink ID="lnkId" runat="server" NavigateUrl='<%# string.Format(manageCourseURL, HttpUtility.UrlEncode(Eval("id").ToString())) %>' Text='<%# Eval("id") %>'></asp:HyperLink>
09.                <asp:Label runat="server" ID="lblCourseId" Visible="false" Text='<%# Eval("id") %>'></asp:Label>
10.               </ItemTemplate>
11.                </telerik:GridTemplateColumn>
12.                <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="courseCode" ItemStyle-Width="150" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
13.                    SortExpression="courseCode" HeaderText="Course Code" DataField="courseCode">
14.                </telerik:GridBoundColumn>
15.              <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="courseTitle" ItemStyle-Width = "250" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
16.                    SortExpression="courseTitle" HeaderText="Course Title" DataField="courseTitle">
17.                </telerik:GridBoundColumn>
18.              <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="courseType" ItemStyle-Width = "150" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
19.                    SortExpression="courseType" HeaderText="Course Type" DataField="courseType">
20.                </telerik:GridBoundColumn>
21.              <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="courseTemplate" ItemStyle-Width = "150" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
22.                    SortExpression="courseTemplate" HeaderText="Course Template" DataField="courseTemplate">
23.                </telerik:GridBoundColumn>
24.              <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="duration" ItemStyle-Width = "80" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
25.                    SortExpression="duration" HeaderText="Duration" DataField="duration">
26.                </telerik:GridBoundColumn>
27.              <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="status" ItemStyle-Width = "60" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
28.                    SortExpression="status" HeaderText="Status" DataField="status">
29.                </telerik:GridBoundColumn>
30.               <telerik:GridBoundColumn HeaderStyle-Font-Bold="true" UniqueName="modifiedDate" ItemStyle-Width = "200" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"
31.                    SortExpression="modifiedDate" HeaderText="Last Modified Date" DataField="modifiedDate" DataFormatString="{0:d MMMM yyyy hh:mm tt}" htmlencode="false">
32.                </telerik:GridBoundColumn>
33.              <telerik:GridClientSelectColumn UniqueName="chkCell" ItemStyle-Width="10">
34.                </telerik:GridClientSelectColumn>
35.          </Columns>
36.      </MasterTableView>
37.        <ClientSettings>
38.            <Selecting AllowRowSelect="true"></Selecting>
39.        </ClientSettings>
40.        </telerik:RadGrid>

 

code behind

01.protected void btnExport_Click(object sender, EventArgs e)
02.{
03.    gridCourse.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML;
04.    gridCourse.ExportSettings.ExportOnlyData = true;
05.    gridCourse.ExportSettings.IgnorePaging = true;
06.    gridCourse.ExportSettings.OpenInNewWindow = true;
07.    gridCourse.ExportSettings.FileName = export.getResourceString("litExportFilename");
08.    gridCourse.ExportToExcel();
09.}
10. 
11.protected void gridCourse_ExcelMLExportRowCreated(object sender, Telerik.Web.UI.GridExcelBuilder.GridExportExcelMLRowCreatedArgs e)
12.{
13.   e.Worksheet.Name = export.getResourceString("litExcelDefaultWorksheetName");
14.}

Benjamin
Top achievements
Rank 1
 answered on 27 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?