telerik

Telerik RadGrid - How do I default to edit mode?

别等时光非礼了梦想. 提交于 2019-12-04 04:59:14
I want to make the items of my RadGrid be editable on page load. I've tried both methods here http://www.telerik.com/help/aspnet/grid/grddefaulteditmodeforgriditemsoninitialload.html but neither have any effect. The 2nd method for example, shown below where the Edit property is set on the ItemCreated event, causes the Edit mode to be set true (verified by debugger) but it has no effect on the results when the page is displayed. Anyone have any ideas what I'm doing wrong? protected void RadGrid1_ItemCreated(object sender, Telerik.WebControls.GridItemEventArgs e) { if (!Page.IsPostBack && e.Item

Can't Enable button in JavaScript

折月煮酒 提交于 2019-12-04 04:58:08
问题 <script type="text/javascript"> function Enable_Butt() { document.getElementById("<%=RadButton1.ClientID%>").disabled = false; // Doesn't Work } </script> i also tried this and still not work //$find("<%=RadButton1.ClientID %>").set_enabled(true); <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <telerik:RadButton ID="RadButton1" runat="server" SingleClick="true" SingleClickText="Processing..." AutoPostBack="true" OnClick="Create_Order_Click" Text="Create Order" Font-Bold=

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

孤街醉人 提交于 2019-12-03 23:28:41
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").refresh(); //NOT Working }); Abhishek 1- Try adding cache: false to disable the cache in Kendo

Telerik MVC: Loading Grid with ajax request don't work

↘锁芯ラ 提交于 2019-12-03 21:50:29
I have a Telerik MVC Tabstrip. I have used: .LoadContentFrom("Grid", "Orders"); "Grid" Action just returns view without model. Then the Ajax request should have been fired to get the data. It is loading the grid normally but it is not calling the Ajax request to fill the data. If I am calling the same action normally i.e. without ajax it displays grid and fires Ajax request to load the data. Perhaps you've missed to register the required JavaScript files for the Grid. You can check the following help topics: Loading components in tab content Required JavaScript files Check the sample available

Kendo UI Grid: Select single cell, get back DataItem, and prevent specific cells from being selected?

a 夏天 提交于 2019-12-03 16:16:11
I've got a Kendo UI Grid displaying a set of data and I need to be able to select specific cells (cells in specific columns), and when selected, return the DataItem for the row the selected cell is in, and the property of that DataItem that was clicked on. I don't know if this is possible, but I've been working on it all day and have concluded that I need some help. Here's my grid and dataBound function, which currently gets me the DataItem, but that's it: var hhGrid = hhDiv.kendoGrid({ dataSource: housing, scrollable: false, sortable: true, selectable: 'cell', columns: [ { field: "Start",

Could not find UpdatePanel with ID 'xxx'. If it is being updated dynamically then it must be inside another UpdatePanel

百般思念 提交于 2019-12-03 16:10:58
问题 I have a page with Ajax Tab controls, within one of the tabs is a webcontrol that as a Telerik RadGrid, with Edit forms pointing to another web control. That edit form also contains Ajax Tabs and on one of those tabs, there is an Ajax modal popup of yet another webcontrol. The initial webcontrol works fine when used on its own page, but the edit form fails to appear when the control is used within the Ajax Tabs as desired. The script manager is throwing the following error: Microsoft JScript

Is Telerik openaccess ORM worth learning?

拜拜、爱过 提交于 2019-12-03 16:01:00
问题 I have just won 1 Telerik Premium Collection for .NET Developer with subscription (lucky me!) and was wondering whether the OpenAccess ORM is worth learning? Has anyone thrown away their open source variant and are now using the Telerik ORM tools instead? Are there any benefits from using the Telerik ORM tools instead of an open source variant? Any thought suggestions? BTW I can't wait to start using their RadControls for ASP.NET AJAX!! 回答1: I'm a happy telerik customer for more than 5 years.

Telerik and jquery

对着背影说爱祢 提交于 2019-12-03 15:43:25
问题 I'm working on an application I received from a client and they've used some telerik web controls. Telerik apparently includes its own version of jquery 1.3.2, while I'm using 1.4.1. I'm experiencing some weird javascript issues and I'd like to rule out the older jquery as a source of the problem. Is there a way to tell the Telerik controls not to automatically include the 1.3.2 version of jquery if I've already got jquery on the page elsewhere? 回答1: Try jQuery.noConflict(). Using jQuery with

How do I set Telerik RadGrid to Edit mode by default? (ASP.NET)

两盒软妹~` 提交于 2019-12-03 15:05:07
I have a checkbox column in a RadGrid that I want the user to be able to check/uncheck it and set the attached property. When the grid renders however, the checkboxes are disabled, because the grid is not in "edit mode". All the examples I'm finding want me to go through a lengthy process of selecting the record, putting it into edit mode, changing the value, saving the value.... yada yada yada... I just want the whole grid to be in edit mode (or the column, or whatever works) from the get-go, so the end user can make a one-click change to the data value. I know there must be a way to do this,

Kendo Grid: Canceling edit deletes new row

本秂侑毒 提交于 2019-12-03 14:20:21
Here is a demo to for the behavior I am experiencing. If you edit the existing row with id 1, change the text to something else and then press the cancel button, the row is reverted correctly to its previous state. In order to reproduce my problem you need to: Add a new row Press the update button to save it. Select the row again and press the update button. Press the cancel button The row disappears! Even though there are similar questions on this problem, I have yet to find a satisfactory answer. Some people say that I need to define an id. As you can see from my demo, this does not make any