telerik

ASP.default_aspx' does not contain a definition for 'IssuesGrid_OnItemUpdated' and no extension method 'IssuesGrid_OnItemUpdated'

扶醉桌前 提交于 2019-11-29 18:05:42
I created a gridview using Telerik asp.net/ajax controls and when I run the app locally the grid works fine but when pushed to my server I get the same error for all of my methods: ASP.default_aspx' does not contain a definition for 'IssuesGrid_OnItemUpdated' and no extension method 'IssuesGrid_OnItemUpdated' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or an assembly reference?) I have tried deleting the reference in the grid and creating it again and letting VS create the method and then it'll work until I do that for all of the

find a control in current page

こ雲淡風輕ζ 提交于 2019-11-29 16:17:24
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" CssClass="RadListBox" ID="listbox_action_member" Width="125" Height="200px" Skin="Telerik"

Kendo Grid Foreign key column bind dynamically

ⅰ亾dé卋堺 提交于 2019-11-29 15:23:20
问题 @(Html.Kendo().Grid((IEnumerable<Doc.Web.Models.Common.ContactModel>)Model.contact_lst) .Name("grid") .Columns(columns => { columns.Bound(o => o.ContactID).Visible(false); columns.Bound(o => o.ContactName).Title("Contact Name"); columns.ForeignKey(p => p.CPOID, (System.Collections.IEnumerable)ViewData["CPOs"], "cpo_id", "contract_po") .Title("Company - Contact/Purchase Order"); columns.Command(command => { command.Edit(); command.Destroy(); }).Width(182); }) .ToolBar(toolbar => toolbar.Create

How to insert drop down list box in a Telerik grid

别等时光非礼了梦想. 提交于 2019-11-29 08:53:48
I have a Telerik Grid, with two columns I need to keep second column as drop-down list box with in the grid, I am using ASP.NET MVC control Can any body tell me how to do this? Atanas Korchev You can set the template of the column to embed arbitrary HTML. If using Ajax binding - try the client template. The following online examples will be helpful: Server templates Client templates Kohen Holms I need to do that for my project. Here is how I did it: columns.Bound(o => o.Role).ClientTemplate( Html.Telerik().DropDownList() .Name("RoleList<#= UserID #>") .BindTo(new SelectList(UserController

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

我只是一个虾纸丫 提交于 2019-11-29 07:50:57
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? My suggestion is creating an editor function that validates the condition. This of course has the

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

折月煮酒 提交于 2019-11-29 05:40:12
This question already has an answer here: 'Operation is not valid due to the current state of the object' error during postback 4 answers 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 the error and where it originated in the code. Exception Details: System.InvalidOperationException: Operation is not valid due

How to concatenate the id of the HTML element using Razor ASp.NET MVC

◇◆丶佛笑我妖孽 提交于 2019-11-29 05:28:04
问题 I have a grid column with checkboxes and I want to give them a different id. Id is based on the CustomerId in the Model. What syntax should I use to concatenate the chk_@item.CustomerId. // using the telerik grid id="chk_@item.OrderNumber" // does not work // this will put the value of @item.Customernumber as the checkbox id columns.Template(@<text><input type='checkbox' id="@item.Customernumber" name="@item.CustomerNumber" value="@item.OrderNumber" /></text>).Width(50) second option: columns

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

青春壹個敷衍的年華 提交于 2019-11-29 03:13:27
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 RadGridView Dave Tillman This answer describes the same situation as yours. (It references this answer on a

Devexpress or Telerik Controls comparison [closed]

独自空忆成欢 提交于 2019-11-28 20:53:32
问题 I am looking into purchasing either dev express or telerik to aid in the development of our applications. We are mainly an asp.net outfit but we are starting to make more and more use of silverlight and mvc. I would like to know what people have thought about: Feature set Ease of use Documentation Pricing and Licensing 回答1: First the disclaimer - I work for DevExpress. And I'll try to give you my fair answer because the choice and decision is up to you. Generally, both Suites will seem

How to open window in the same View in MVC 4?

試著忘記壹切 提交于 2019-11-28 14:35:57
I have a Telerik MVC grid in my view with a "Download" custom button. This button redirects to my Download action and this download action redirects me to the download view which shows me some images in window mode. I would like to open this window with the grid 'under' it, in the same page. My code: c.Bound(column => column.IsStock); c.Bound(column => column.Version); c.Command(cmd => cmd.Custom("Download") .Text("Download") .DataRouteValues(d => { d.Add(k => k.IDDocument); d.Add(k => k.ReceivedDate); }) .SendDataKeys(true) .Action("Download", "Administrative")); Action: [Authorize(Roles =