Hi
all,
I have a problem exporting PDFs... Basically when my grid contains content
in Arabic it exports as ###.
another question, can i add header and footer template to my exported file
"logo, address ..."
Attached screen for the exported pdf view
Thanks for any help,
kholoud
We have been using the Telerik.Web.UI and Telerik.Web.UI.Skins dlls for years. We just upgraded to 2016 Q1. The upgrade added references to a BUNCH of additional dlls - Telerik.Web.Spreadsheet, Telerik.Windows.Documents.Core, Telerik.Windows.Documents.Flow, Telerik.Windows.Documents.Spreadsheet, Telerik.Windows.Zip. None of which we use. Do we now have to ship those dlls? Or is there a way to remove those references and ship a lighter package?
In our grid (EditMode="Batch", InsertItemDisplay="Bottom", EditType="Cell", OpenEditingEvent="Click") we want to add a new row to the grid if the user clicks on any cell in the last row.
I made a function to call for OnBatchEditOpened. If it finds you are in the bottom row, it creates a new row below it by running batchManager.addNewRecord(masterTable)
That works, which triggers my OnRowCreated function, which I want. In there, it runs batchManager.changeCellValue for multiple columns in the new row to initialize their values.
However, each of those initializing statements (done via changeCellValue) triggers my original function for OnBatchEditOpened, creating a loop. I try to avoid it by creating temp variables outside the functions that skip that function if OnRowCreated is running. It kind of works. But even so, afterwards, the original cell is no longer in edit mode, which we want.
So now in the original call to OnBatchEditOpened, I'm storing a temp variable of the original cell, which I then try to re-open via batchManager.openCellForEdit(cellTemp), but it doesn't always work. And even when it does, the function now calls itself because a cell is being opened!
Ugh!
All that said, I must be going about this the wrong way. So back to the original issue...
Without going through dodgy javascript acrobatics, how can I click on a cell to edit it, but if it's in the bottom row, create a new row below it, yet keep (or resume?) the original cell in edit mode. There must be an easier way than what I'm doing to avoid loops, temp vars, and with robust code, but I've no clue what it is. Please help.

I have a RadPivotGrid that works perfectly in IE and Firefox but on Chrome and Safari it puts a large white column instead of the vertical scroll bar, if the number of lines does not require vertical displacement( verticalScrollBar should be set to no display).
The attached images show the difference. I've tried using a page lenght that requires vertical scroll but the last page allways has the same problem.
I'm using Telerik version 2015.2.826.40.
I've tried modify the CSS with no result.
Am i the only one with this problema? Any ideas?
Thanks for any help.
The definition of the RadPivotGrid:
<telerik:RadPivotGrid ID="Gconsulta" runat="server" AllowPaging="True" Width="100%" AllowFiltering="true" enableConfigurationPanel="true"<br> OnCellDataBound="Gconsulta_CellDataBound" AllowSorting="True" Skin="Default" ShowFilterHeaderZone="false" ShowColumnHeaderZone="true"<br> OnPivotGridCellExporting="Gconsulta_PivotGridCellExporting" ShowRowHeaderZone="false" ShowDataHeaderZone="false"<br> OnPivotGridBiffExporting="Gconsulta_PivotGridBiffExporting"<br> OnNeedDataSource="Gconsulta_NeedDataSource" PageSize="20"><br> <TotalsSettings GrandTotalsVisibility="RowsOnly" /><br> <PagerStyle Mode="NumericPages" Font-Size="Small" Font-Italic="true"<br> AlwaysVisible="true" Height="30px" BackColor="Transparent" /><br> <Fields><br> <telerik:PivotGridRowField DataField="TipoCli" Caption="TipoCliente" ZoneIndex="0" meta:resourcekey="TipoCli"><br> <CellStyle Width="9%" ForeColor="Red" Font-Size="X-Small" Font-Bold="true"></CellStyle><br> </telerik:PivotGridRowField><br> <telerik:PivotGridRowField DataField="Cliente" Caption="Cliente" ZoneIndex="1"<br> meta:resourcekey="Cliente"><br> <CellStyle Width="16%" ForeColor="Blue" Font-Size="X-Small"></CellStyle><br> </telerik:PivotGridRowField><br> <telerik:PivotGridColumnField DataField="Ano" SortOrder="Descending" meta:resourcekey="Ano"><br> </telerik:PivotGridColumnField><br> <telerik:PivotGridColumnField DataField="NomeMes" Caption="Mes" meta:resourcekey="Mes"><br> </telerik:PivotGridColumnField><br> <telerik:PivotGridAggregateField DataField="Vendas" Caption="Vendas" Aggregate="Sum"<br> DataFormatString="{0:# ##0.00 €}" GrandTotalAggregateFormatString="{0:# ##0.00 €}"<br> TotalFormatString="{0:# ##0.00 €}" meta:resourcekey="Vendas"><br> <CellStyle Width="100px" /><br> </telerik:PivotGridAggregateField><br> <telerik:PivotGridAggregateField DataField="Quantidade" Aggregate="Sum" GrandTotalAggregateFormatString="{0:N0}"<br> TotalFormatString="{0:N0}" meta:resourcekey="Quantidade" Caption="Quantidade"><br> <CellStyle Width="80px" /><br> </telerik:PivotGridAggregateField><br> <telerik:PivotGridAggregateField DataField="Bonus" Aggregate="Sum" GrandTotalAggregateFormatString="{0:N0}"<br> TotalFormatString="{0:N0}" meta:resourcekey="Bonus" Caption="Bonus"><br> <CellStyle Width="70px" /><br> </telerik:PivotGridAggregateField><br> </Fields><br> <ClientSettings EnableFieldsDragDrop="true"><br> <Resizing AllowColumnResize="true" EnableRealTimeResize="true" /><br> <Scrolling AllowVerticalScroll="true" SaveScrollPosition="true" ScrollHeight="535px" /><br> </ClientSettings><br> </telerik:RadPivotGrid>Hello, I am very new to working with Telerik stuff.
I have a ComboBox that is a dropdown that gets populated from a WebServiceSettings-Method call (it querys our database and returns a RadComboBoxData object). I need to highlight some items in the dropdown with a color based on a flag in our database. I was wondering how to do this.
Is there a way to make the RadComboBox more sunken in a 3D look?
If so then please explain how to do it in detail.
Thanks!
Sincerely,
Keith Jackson
I have a column in my grid that is defined as DateTime. In the grid, it displays correctly as "01 APR 2016 14:25". When I export to Excel I get "01 APR 2016 00:00" I've tried a number of things listed, but no luck I'm using an ExportSettings-Excel-Format = "Xlsx". In my current iteration, I have no code that would modify the column just the HTML below. Based on what I've seen in the Doc, this should work, but it's not.
Thanks for any help
<telerik:GridDateTimeColumn HeaderText="Date/Time" UniqueName="APPOINTMENTDATETIME" DataField="APPOINTMENTDATETIME" ShowFilterIcon="false" DataType="System.DateTime" SortExpression="AppointmentDateTime" CurrentFilterFunction="GreaterThanOrEqualTo" AutoPostBackOnFilter="true" HeaderStyle-Width="125px" DataFormatString="{0:dd MMM yyyy hh:mm }" />I am updating Telerik ASP.NET controls Dlls in my Website from 2015.1.401.45 to 2016.1.201.25 but recevied following exception. Below error appreas for all versions after 2015.1.401.45.
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Web.UI.RadToolBarButton.CreateRenderer()
at Telerik.Web.UI.RadToolBarItem.get_ItemRenderer()
at Telerik.Web.UI.RadToolBarItem.AddAttributesToRender(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)