Hello,
I am trying to generate a solution for processing Word .DOCX documents, adding some headers and footer and then saving them as a PDF. My original code used Aspose libraries to accomplish this. Our current version is many years old and outside the update path, their recent releases seem to handle this, so I know Telerik handles some of the same functionality and was considering standardizing on Telerik and re-writing the code.
I created a real simple example as a test to just read in the .docx as a stream and then export as a PDF. The PDF seems to be corrupted or fails with Cambodian, and if I load just a standard English, Spanish or similar document (without doing the header work, etc) it seems to save the PDF fine.
I did not know if there was additional statements I needed to get this to convert/save as a pdf because of the font family. Thanks
Telerik.Windows.Documents.Flow.Model.RadFlowDocument doc;
var docxPRovider = new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();
var pdfProvider = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();
TimeSpan timeoutInterval = TimeSpan.FromSeconds(180);
using (FileStream stream = File.Open(@"C:\Telerik\15-190.docx", FileMode.Open))
{
doc = docxPRovider.Import(stream, timeoutInterval);
}
using (Stream output = File.Open(@"C:\Telerik\Out\15-190.pdf", FileMode.Create))
{
pdfProvider.Export(doc, output, timeoutInterval);
}
For RTL languages, the "Back" and "Next" buttons on the Image Manager screen appear inverted.
How should I fix it? I also checked here, also the direction of the arrows is wrong for RTL languages.
Please help us fix this issue.
Hi,
I'm using RadFileExplorer in a project that includes file version control. Occasionally, when attempting to save a new version of a file, I receive the alert:
"A file with a name same as the target already exists!"
This issue seems inconsistent — it doesn't appear limited to a specific file type, but I've noticed it more frequently with image files or files that have numbers in their names.
I came across a possible solution in this File Explorer as a Version Control issues. in UI for ASP.NET AJAX | Telerik Forums, where it was suggested to modify the GetFIle method to always return null. Here's the method :
Good afternoon,
I'm currently running Telerik UI for ASP.NET AJAX R3 2023. I am using the RadAsyncUpload with a AsyncHandler.ashx to copy the file to a RadUploadTemp on a file share.
This has been working perfectly for ages but recently large file updates have been failing e.g. a 2.1 GB file failing at 61%. I'm being told this is due to a TCP Zero Window issue.
I assumed the chunked upload mechanism mitigates the issues caused by TCP window size restrictions, which can cause slowdowns or failures when uploading very large files in a single request. I am setting the upload ChunkSize value to 4194304.
I have the following settings in web.config:
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="18000"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295"/>
</requestFiltering>
</security>
</system.webServer>
Have you got any ideas as to why it might be failing for larger files, or what I can do to the configuration to prevent the TCP Zero Window error by pausing data transmission until the receiver is ready to accept more data?
Kind regards,
Richard
Hello,
I have a RadGrid embedded in a RadTabStrip. This is defined in a UserControl with a RadAjaxManagerProxy. It displays content from a DB server. I have a GridButtonColumn that is defined below. Everything works fine except that when I try to delete a row by clicking on the icon it won't work initially. A second click results in a callback to the server's RgAttachments_ItemCommand appropriately. This behaviour happens consistently. I took a look at the generated code and noticed a difference in the button's clientside onclick handler
This following generated javascript works
if(!$find('ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision').confirm('Are you sure you wish to delete this file attachment?', event, 'ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision', 'Delete'))return false;__doPostBack('ctl00$MainContent$ctlRqstAttachments$RgAttachmentRevision$ctl00$ctl14$ctl00','')
This generated code doesn't
if(!$find('ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision').confirm('Are you sure you wish to delete this file attachment?', event, 'ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision', 'Delete'))return false;__doPostBack('ctl00$MainContent$ctlRqstAttachments$RgAttachmentRevision$ctl00$ctl12$ctl01','')
The column in question
<telerik:GridButtonColumn HeaderText="Delete" ConfirmText="Are you sure you wish to delete this file attachment?" ConfirmDialogType="RadWindow" ButtonCssClass="btn btn-outline-danger btn-sm rounded" ConfirmTitle="Delete" ButtonType="FontIconButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" ItemStyle-ForeColor="Red">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</telerik:GridButtonColumn>
Any help to resolve this is greatly appreciated
I'm experiencing an issue with custom button icons not displaying in the RadEditor ribbon bar. I've added a custom button that functions correctly, but the icon specified in the ImageUrl property does not appear on the UI.
Issue Details:
I've added the following custom tool to the RadEditor toolbar:
xml<tool name="File" size="large" text="File Add" ImageUrl="~/Assets/images/add.png"/>
The button appears in the ribbon bar and the functionality works as expected, but the icon is not visible.
Troubleshooting Steps Already Taken:
Questions:
Add marker clustering support to the (kendo) Map control as seen in https://developers.google.com/maps/documentation/javascript/marker-clustering
This functionality already exists in the Telerik Silverlight Map control and it would be great to see similar functionality here.
Here's an example of what I want: http://demos.telerik.com/silverlight/#Map/Cluster
What I am looking for is the same sort of 'pretty' cluster behaviour as when you zoom out of some pins you just see a number of how many pins are below this.
In the example I am trying to replicate is that if a pin in that cluster is red (RAG status) then the top layer symbol should also be red. If this was not a network monitoring system you would ideally see a sea of green markers, if one node/pin went down/red, they the top most image should be red to draw your attention to it and then zoom in.
How can that be done in (KendoUI) Mapping?
I have a RadAutoCOmpleteBox that is bound by a Web Service but I have client filtering set to true.
Is it possible to rebind the web service client side? I only wish to do this so I can reset the where clause on the select statement based on a client selection in another field but I only want this to happen client side and not server side.
Is there a way to fetch the web service again?
I've set
<telerik:GridTemplateColumn ... ShowFilterIcon="True">
but no icon appears when I apply a filter. Conversely, a sort icon does appear when I apply a sort.
Sorting is achieved by clicking on the column header, but for filtering, I am using a header context menu. Is that the source of the problem?
I have created an application within Visual Studio 2019 and using c#.
The project has a page which uses a telerik RadGrid. It is populated on page load and I have filtering enabled on 3 of the columns. I have set the aspx for the columns to have AutoPostBackOnFilter="true" AllowFiltering="true" ShowFilterIcon="true"
The runs perfectly when ran in development environment but when I publish my application to the web server the filter does not work at all. Nothing happens if I tab out of the filter text box or if I select anything from the filter icon.
Can anyone advise what the issue could be please? I am using Telerik.web.ui version 2024.1.131.45
Thanks
RR