telerik-grid

Kendo Grid - Filter Row as kendoDropDown

喜欢而已 提交于 2019-12-11 04:14:59
问题 After posting question as answer here, I correct this by creating new question. I'm trying to create row filter in kendo grid to appear as DropDown of possible values in that column. So far, closest I got is Pluc's example in linked question. Still it doesn't work as intended. In columns of kendoGrid I defined a field like this: { field: "Herkunft", title: "Herkunft", width: "120px", type: "string", filterable: { cell: { showOperators: false, template: herkunftDropDownEditor } } } This is

How to properly configure delete functionality with radajaxmanager with confirmation box?

落爺英雄遲暮 提交于 2019-12-11 01:44:17
问题 I am using Telerik Grid control in which i am displaying list of records along with Update and Delete functionality. Now i want to show confirmation box when deleting records so that user doesnt accidentally delete the record. So here is my approach: 1)I have one master page i.e is MyMaster.Master which contains one common client side events for confirmation box which i would be using sweetalert for that: function DeleteData(Id) { var ajaxManager = null; var action = 'Remove'; ajaxManager =

Is it possible that __doPostBack() would ever send a GET request?

孤者浪人 提交于 2019-12-11 01:35:36
问题 I'm having a problem with telerik RadGrid, I want to enable multiple row selection. I also want to go to the server whenever a row is selected or deselected. I created a javascript function to handle the Grid's client side events (OnRowSelected, and OnRowDeSelected). The functions look like this: function onOperationRowSelected(sender, eventArgs) { __doPostBack("<%=myControl.ClientID %>", "rowSelected:" + eventArgs.get_itemIndexHierarchical()); } The other function is very similar, the only

e.slice is not a function error in ASP.NET MVC with Kendo UI

淺唱寂寞╮ 提交于 2019-12-10 23:59:20
问题 I am working on asp.net MVC with Kendo UI grid. I am getting the information from a method and give it to the grid. and I have in toolbar a datepicker so when I pick a new date the code will go to the method refilter the LINQ then I received a new list. I wrote this code: public ActionResult Grid_ReadLogAdminList([DataSourceRequest] DataSourceRequest request,[Bind(Prefix = "id")] string date) { //both the date and result is correct always var jsonResult = Json(result, JsonRequestBehavior

How to set multiline column in kendo ui grid

一曲冷凌霜 提交于 2019-12-10 17:54:53
问题 I need to set a column of a kendo ui grid to multiline. Right now the specific column has to much data in it, so its shortened by ... Is there a possibility to make that column multiline? 回答1: You can set multi-line column in kendo ui grid by using following code snippet. <style> .breakWord20 { word-break: break-all !important; word-wrap: break-word !important; vertical-align: top; } .k-grid-header .k-header { overflow: visible !important; white-space: normal !important; } </style> ...... ...

Telerik MVC Grid Ajax with manually binding

给你一囗甜甜゛ 提交于 2019-12-10 16:27:15
问题 I have a Telerik MVC Grid using ajax to get data and I want to control when it will be loaded. Here is the code in my view: @(Html.Telerik().Grid<ViewModels.Reports.UserActionLoggingDetailViewModel>() .Name("UserActionLoggingFollowedGrid") .DataBinding(dataBinding => dataBinding.Ajax().Select("SelectUserActionLogging", "Report", new { userTeamId = Model.UserTeamId, startDate = Model.StartDate, endDate = Model.EndDate }).OperationMode(GridOperationMode.Client)) .Columns(columns => { columns

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">

Setting Telerik MVC grid column properties during an Edit

旧城冷巷雨未停 提交于 2019-12-08 10:20:00
问题 I have an MVC 3 Razor Telerik grid. I have an Edit comand on the row. When a user clicks on Edit (this places the grid in Edit mode with an Update and Cancel button), I want to set a property for two of the columns to readonly . When the user clicks on Cancel or Update, I want to set the columns back to full permission. I know there must be some properties in the controller I should be able to set when the Edit button is pressed for this, but have not seen any docs on how to accomplish this.

The Kendo UI directives require jQuery to be available before AngularJS. Please include jquery before angular in the document

牧云@^-^@ 提交于 2019-12-07 08:23:49
问题 I have a Mvc with angular application. There are two layout files : Loginlayout: - Default layout MasterLayout: When click the Movie button , call the Movie Controller and Movie action. public ActionResult Movie() { return View(); } Its using mainlayout file: In Mainlayout file i have mentioned <script src=" https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script> @Scripts.Render("~/bundles/bootstrap") <script src="https://code.angularjs.org/1.3.8/angular.js"></script> <script

Telerik gridview : How to refresh grid view after Database change

不羁的心 提交于 2019-12-07 07:58:32
问题 I'm using radgridview in C# winform application to show data from database. I'm also altering database through ADO.Net. The problem is after I change the database, for example by deleting a row or adding a new row, changes do not appear in gridview. I also want to mention that I have bound database to gridview through smart tags and when I tried to create a new dataset and assign it to radgridview1.datasource I got tons of errors. Any suggestion on how can force radgridview to reload it's