i have added export PDF code and js file but when i click on export to pdf button i have getting big column width file.
check following attached file.
please help .
Hey guys, currently I'm struggling with the PDFViewer.
First of all, I'm building a PDF dynamically in my WebApp.
RadFlowDocument document;
RadFlowDocumentEditor editor;
[...]
PdfFormatProvider providerPDF = new PdfFormatProvider();
return providerPDF.Export(document);
So I'm not saving the created PDF as a file on the filesystem. Till now I'm only able to download the created file with the action method:
public ActionResult DownloadTestDocument()
{
return File(
new Verleihinfo().Pdf, // returns the byte array -> providerPDF.Export(document)
"application/pdf",
"test.pdf");
}
Now instead of downloading the file I want to show my pdf directely in the PDFViewer on my page, so that user can see and interact with. Is it even possible (preferably in MVC)?
As far I unterstood here it's only possible to pass an existing pdf-file on the filesystem as a parameter to the PDFViewer. But not a dynamically created file..
Thank you
Daniel
We have fields of type 'string' in our application which are defined like this:
@Html.EditorFor(model => model.Field, new { htmlAttributes = new { @class = "form-control ", @readonly = "readonly" } })
When we recently switched to the Telerik EditorTemplates we realized that the htmlAttributes weren't applied anymore.
Other fields, for example of type 'integer', still work as before.
When we deleted the EditorTemplate 'String.cshtml' the htmlAttributes were applied again, so this template seems to have been used, but just ignored the htmlAttributes.
Is this behaviour expected, or do we miss anything?
I'm working on an ASP.NET MVC application which is using Kendo ui in it. We have used a Kendo UI Editor in it for rich texts. It is being used as follows:
@(Html.Kendo().Editor()
.Name("textControl-Source")
.Tools(tools => tools.Clear()
.Bold().Italic().Underline().Strikethrough()
.FontSize().FontColor().BackColor()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
.InsertUnorderedList().InsertOrderedList().Indent().Outdent()
.SubScript().SuperScript())
.HtmlAttributes(new { style = "height:240px;width:98.5%", data_mintextlength = "1" })
.Events(events => events
.Change("mediaBoardEditNS.textControlChange")
.Select("mediaBoardEditNS.textControlSelect")
)
)
There is a requirement if we can somehow customize it to show custom colors by using HEX codes like we can do in Microsoft Word font color picker.
Such feature is present in color picker as present here is custom colors: https://demos.telerik.com/aspnet-mvc/colorpicker
I have searched a lot on Telerik forum and SO as well, but couldn't find anything solid. Let me know if i'm missing something. Thanks
Hello Telerik team
For some reason,I want use raw sql get data by entity framework。
like this : IQueryable<model> data =DbContext.model.SqlQuery("select * from models").AsQueryable(); //dbcontext DbSet
binding request filters : data = data.Where(ExpressionBuilder.Expression<model>(request.Filters,false));
Can someone help me why there is no effective?
Thank you.
After seeing recent reports of security vulnerabilities in ASP.NET AJAX, wanted to confirm if there are similar known vulnerabilities in ASP.NET MVC
https://www.kroll.com/en/insights/publications/cyber/monitor/telerik-vulnerability-surge-web-compromise-cryptomining-attacks
https://nvd.nist.gov/vuln/detail/CVE-2019-18935
https://nvd.nist.gov/vuln/detail/CVE-2017-11317
Hi All,
I am using kendo grid for reporting purpose. But in my report i am using one date column for filtering purpose. My problem is when i use isequal to date filter empty grid is showing.why ?. Actually data is available in model. I attached to file. Please look into that