telerik

Radgrid unable to download file using linkbutton in NestedViewtemplate

孤者浪人 提交于 2019-12-10 11:45:52
问题 I'm using radgrid nestedviewttemplate to show the details of a product on row expand.I also have a linkbutton in my nestedview template which when clicked downloads the file.My code that i use for download works outside radgrid but when included in Nestedviewtemplate it fails to download.here's my code. <telerik:RadGrid ID="loggedInUserOwnResourcesRadGrid" AutoGenerateColumns="false"> <MasterTableView AutoGenerateColumns="false"> <Columns> <telerik:GridTemplateColumn DataField=" Name">

MVC kendo window - Get Data from javascript function

天大地大妈咪最大 提交于 2019-12-10 11:07:29
问题 I have this kendo window in my app Html.Kendo().Window() .Name("copyStructure") .Title("Copy Structure") .Content("Loading...") .LoadContentFrom("CopyStructure", "NewXmlLayout") // <-- here* .Draggable(false) .Visible(false) .Modal(true) .Actions(s => s.Custom("")) .Events(e => e.Open("openWindow").Close("closeWindow")) And I am trying to pass data to the acrion in the LoadContentFrom() wich is returned by a javascript function, but I don't know how to do it. I can pass data like this:

Asp.Net CPU issue working with Kendo UI treeview after Visual Studio 2013 Update 2

限于喜欢 提交于 2019-12-10 10:55:28
问题 I'm developing Asp.Net MVC website using Kendo UI. Installed Visual Studio 2013 Update 2 RTM and got CPU issue on IIS (CPU >= 30%). http://c2n.me/i7juKB.png After an hour of searching issue, found that the problem is in Kendo UI Treeview with hierarchical data. Kendo Treeview Asp.Net MVC wrapper code: @(Html.Kendo().TreeView().HtmlAttributes(new { style = "height:150px;" }) .Name("treeview-library-country") .Events(events => events.Select("common.onTreeViewSelect").Collapse("common

RadComboBox selected value is empty

拜拜、爱过 提交于 2019-12-10 10:48:17
问题 I get the SelectedValue = "" when i click on My button . My aspx : <telerik:RadComboBox ID="ddl_contactList" runat="server" AutoPostBack="True" CausesValidation="False" CollapseDelay="0" Culture="ar-EG" ExpandDelay="0" Filter="StartsWith" ItemsPerRequest="10" MarkFirstMatch="true" Skin="Outlook" EnableAutomaticLoadOnDemand="True" EmptyMessage="-New Menu-" ShowMoreResultsBox="True" OnSelectedIndexChanged="ddl_contactList_SelectedIndexChanged" EnableItemCaching="false" EnableLoadOnDemand="True"

Kendo Grid - Customize Filter Row

穿精又带淫゛_ 提交于 2019-12-10 10:34:53
问题 there is a feature called "Filter Row" in Kendo Grid http://demos.telerik.com/kendo-ui/grid/filter-row I want to add a drop-down list instead of a text box or a number box, to the filter box. It's for filtering a column that has countries. So I want list of countries in a drop-down list. How can I do this? 回答1: It's very similar to the custom Filter Menu (http://demos.telerik.com/kendo-ui/grid/filter-menu-customization). I made the mistake of no using valuePrimitive: true . You might not want

Knockout-Kendo dropdownlist Ajax observableArray get selected item name

北慕城南 提交于 2019-12-10 10:26:57
问题 My application is MVC 5, I use the following Knockout-kendo dropdown list: <input data-bind="kendoDropDownList: { dataTextField: 'name', dataValueField: 'id', data: foodgroups, value: foodgroup }" /> var ViewModel = function () { var self = this; this.foodgroups = ko.observableArray([ { id: "1", name: "apple" }, { id: "2", name: "orange" }, { id: "3", name: "banana" } ]); var foodgroup = { name: self.name, id: self.id }; this.foodgroup = ko.observable(); ko.bindingHandlers.kendoDropDownList

HTTP Handler cannot find axd file in nested web application folder: Telerik RadScriptManager cannot find WebResource.axd in ~/admin/ folder

老子叫甜甜 提交于 2019-12-10 10:15:37
问题 We have a web application with 2 web.config files. I'm using the telerik:RadScriptManager control within an ASP.NET page. There is web resource file (WebResource.axd) that this control needs access to for it's ScriptReferences. I think this .axd file contains the JavaScript files for Telerik's controls. All of our Rad Controls are implemented in a separate web application (.csproj) project called "admin". The root web application project (.csproj) has a folder called "admin" where all of the

Is it possible to override javascript in an iFrame from the parent? If so how?

穿精又带淫゛_ 提交于 2019-12-10 10:10:39
问题 I'm using the Telerik RadSpell control in one of our touchscreen applications. I've managed to style it just right however the darn thing uses window.alert and window.confirm for prompting the user if they want to keep changes etc. I want to disable these alerts without having to pull apart and modify the telerik controls. The issue is that the spellcheck dialog uses an iframe and I can't seem to override the window.confirm function inside the iframe. Sample Code to test overriding confirm. <

How can I validate text as being valid HTML?

老子叫甜甜 提交于 2019-12-09 19:12:15
问题 I'm using an older version of Telerik's Editor control, and storing the text that's input in a SQL database, then displaying the HTML later. Is there any way in ASP.NET (2.0) to validate a string as being valid HTML before saving to my database? Thanks! 回答1: You could start here: C# XHTML Validator Or here (regexes): Regular Expressions Library - entries tagged with "HTML" Or here ;) Google 回答2: regexes can be slow and cpu intensive, W3C has an open source tool that you could use http://www

Kendo Refresh (DropDownList.refresh()) not working ERROR Not define

牧云@^-^@ 提交于 2019-12-09 14:23:29
问题 Im trying to refresh the Drop Down List after another DropDownList is Change But the Refresh() method is Undefined Error Is Promoting.There For I Tried the Read the DataSource again and it shows it loading but the data is still the same.Help to Solve this Issue please. Code: $("#DropDownList1").change(function () { custCode = $("#DropDownList1").val(); $("#titles").data("kendoDropDownList").dataSource.read(); //shows list Loading But Same Data Is present . $("#titles").data("kendoDropDownList