telerik

Uncaught TypeError : cannot read property 'replace' of undefined In Grid

女生的网名这么多〃 提交于 2019-11-28 10:57:14
I'm new in using Kendo Grid and Kendo UI . My question is how can i resolve this Error Uncaught TypeError: Cannot read property 'replace' of undefined This is my Code on my KendoGrid $("#Grid").kendoGrid({ scrollable: false, sortable: true, pageable: { refresh: true, pageSizes: true }, dataSource: { transport: { read: { url: '/Info/InfoList?search=' + search, dataType: "json", type: "POST" } }, pageSize: 10 }, rowTemplate: kendo.template($("#rowTemplate").html().replace('k-alt', '')), altRowTemplate: kendo.template($("#rowTemplate").html()) }); Line that Causes the Error rowTemplate: kendo

find a control in current page

孤街浪徒 提交于 2019-11-28 09:41:06
问题 Hello, my problem is that I can't seem to find the control from current page. My page class has the following code: <div class="meeting_body_actions"> <efv:ViewMeetingActions ID="ViewMeetingActions" runat="server" /> </div> My control has: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewMeetingActions.ascx.cs" Inherits="EFV.Controls.ViewMeetingActions" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> Telerik:RadListBox runat="server"

Telerik GridView ----Pdf

ぃ、小莉子 提交于 2019-11-28 06:38:38
ExportToPDF exporter = new ExportToPDF(this.radGridView1); exporter.FileExtension = "pdf"; exporter.ExportVisualSettings = true; exporter.PageTitle = "title"; exporter.SummariesExportOption = SummariesOption.ExportAll; exporter.FitToPageWidth = true; exporter.Scale = 1.2f; exporter.TableBorderThickness = 1; exporter.RunExportCall("F:\\test.pdf"); 来源: https://www.cnblogs.com/zutian/p/11397611.html

When editing a grid, how do I disable specific fields by row?

青春壹個敷衍的年華 提交于 2019-11-28 01:37:34
问题 I have a kendo grid with data in it and multiple columns (say col 1, 2, and 3). Columns 1, 2, 3 need to be able to be edited (or preventing editing) based off the values of each other. This is row specific. For instance, if column 1 (date) is < column 2 (date) then column 3 is not allowed to be edited. I know it's simple enough to disable or enable an entire column but my requirements are row specific. So row 1 could have column 3 enabled and row 2 could have column 3 disabled. Any thoughts?

Operation is not valid due to the current state of the object. when i select dropdown list [duplicate]

隐身守侯 提交于 2019-11-27 23:14:39
问题 This question already has answers here : 'Operation is not valid due to the current state of the object' error during postback (4 answers) Closed 4 years ago . i have radcombo boxes on aspx page and when i select any option from then it gives error`Server Error in '/' Application. Operation is not valid due to the current state of the object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about

WPF : Dispatcher processing has been suspended, but messages are still being processed

爷,独闯天下 提交于 2019-11-27 17:22:46
问题 I Have a WPF Project, When i try to Run This Code On RowLoad Event I got below Error : private void ParentGridView_OnRowLoaded(object sender, EventArgs e) { try { if(((RadGridView)sender).Columns != null) { MessageBox.Show(((RadGridView)sender).Columns.Count.ToString(CultureInfo.InvariantCulture)); } } catch (Exception ex) { MessageBox.Show(ex.Message); } } Error : Dispatcher processing has been suspended, but messages are still being processed. Note That the GridView Control is Telerik

Detecting Memory Leaks in ASP.NET [closed]

我只是一个虾纸丫 提交于 2019-11-27 17:15:38
My development team is using ASP.NET 3.5 / 4.0 right now, and our sites are running on IIS 7.5. Recently, we've been having problems (about once a week) that are causing Out of Memory exceptions to be thrown in our ASP.NET applications. The "Solution" is to restart the application pool on our website. I say "Solution" because it's hardly a solution; it's more of a bandage that's just keeping our application pool running at a reasonable state. It seems to me that some application or many applications are leaking memory, which is building up over time and causing the out of memory exception.

Returning iTextSharp PDF as memorystream causes StreamNotSupported

匆匆过客 提交于 2019-11-27 16:20:57
I'm creating a PDF file using the PdfStamper in iTextSharp and return the PDF as a memorystream object to the calling function, that is then used to display the PDF in Teleriks PDF Viewer Component for WinForms. That's the objective. Right now, creating the PDF works as it should, and it returns the data to the Calling function, and in the Calling function, should I write the memorystream contents to a file stream and then open it in Adobe Reader Everything looks just fine. However, if I choose to display the PDF in the PDF Viewer Control I just get an "Unsupported Stream type" error. Now, I

Kendo UI常用示例汇总(十)

故事扮演 提交于 2019-11-27 15:24:44
Kendo UI Professional 提供开源和商业两个版本。开源版 Kendo UI Core ,有40+个框架和组件;商业版整合了之前的 Kendo UI Web 、 Kendo UI Mobile 和 Kendo UI DataViz ,一共有70+个框架和组件。作为Kendo UI的升级版,Kendo UI Professional既可以开发网页版应用程序,也可以开发移动版应用程序,并且在性能上也有显著的优化和提升。 Kendo UI Professional试用版下载猛戳 >> Kendo UI Professional Scheduler示例五:导出为PDF格式 如今PDF是非常普遍并广泛使用的格式,本示例演示如何将Telerik Kendo UI Scheduler的内容导出为PDF格式。另附源代码供大家参考! Kendo UI Professional Scheduler示例六:资源 Telerik Kendo UI Scheduler允许您分配scheduler事件到一组预定义资源中。另附源代码供大家参考! Kendo UI Professional Scheduler示例七:水平分组 本示例演示了在Kendo UI Scheduler中如何将资源进行水平分组。另附源代码供大家参考! Kendo UI Professional Scheduler示例八

How can I convert a string length to a pixel unit?

我的梦境 提交于 2019-11-27 12:05:38
I have a string like this: string s = "This is my string"; I am creating a Telerik report and I need to define a textbox that is the width of my string. However the size property needs to be set to a Unit (Pixel, Point, Inch, etc). How can I convert my string length into, say a Pixel so I can set the width? EDIT: I have tried getting a reference to the graphics object, but this is done in a class that inherits from Telerik.Reporting.Report . Tom Anderson Without using of a control or form: using (System.Drawing.Graphics graphics = System.Drawing.Graphics.FromImage(new Bitmap(1, 1))) { SizeF