Hi,
I am bind the kendo grid @ Client side. Any idea of how to show the destroy delete command based on other column status? Appreciate your help on this.
Thanks,
Edwin
Hello,
I am having three tree views named role, responsibility, function . I can able to drag and drop a function to responsibility and responsibility to role.
Step 1: I have dragged a responsibility over the role node and the dropped responsibility has been added in the role
Step 2: I dragged a function and dropped over the responsibility.
Step 3: After the dropped function on responsibility, the role also refreshing with the function which we don't want. How to restrict
this functionality.
Thanks and Regards,
Dharma
i have a module with additional "dynamic" propertys, stored in a dictionary (loaded from DB, style of Entity-Attribute-Value.
the module like this:
public class Contact { public int ContactID { get; set; } public string FullName { get; set; } //...more fixed properties #region "handel dynamic property" public Dictionary<int, string> ValuesForDynamicProps = PropsNameToSpcailParameter.Values.ToDictionary(x => x.IdParameter, x => ""); private void intDicFromContact(DAL.Contact contact) { foreach (var item in contact.ContactsParameters) { ValuesForDynamicProps[item.Parameter] = item.GetString; } } static StudentVM() { PropsNameToSpcailParameter = DAL.Contact.SpecialParamertersTypes().ToDictionary(x => x.ID, x => new ModelSpecialParameter(x)); } public static Dictionary<int, ModelSpecialParameter> PropsNameToSpcailParameter; #endregion}the View:
@(Html.Kendo().Grid(Contact) .Name("grid") .Columns(columns => { columns.Bound(e => e.FullName).Width(120).Title("Name"); //...more foreach (var item in ShutafimOrganizationsWebApp.UI.Models.StudentVM.PropsNameToSpcailParameter) { columns.Bound(e => e.ValuesForDynamicProps[item.Key]).Title(item.Value.DisplayName); }I receive an exeption ""Bound columns require a field or property access expression."
MY QUESTION: i serarch an elegant and easy way to show in grid an model with posibilty to add and remove "virtual" propertys.
Ps: i asked in stackoverflow: http://stackoverflow.com/questions/30650326.
Hi all:
We have a functional requirement to be able to edit the data in a column inside a kendo grid, by selecting a different header.
For example, let's say we have a kendo grid that has six columns.
Name City Class etc
We need the ability for a user (with the given permission) to select a different option for each header column.
Let's say they decide that they don't want "Class" as the third header/column. We'd like the user to be able to click into the header, a dropdown appear and then the user can select a different data source. Once selected the grid would update with the new data in the third column.
Anyone able to point me in the right direction? We also need to be able to reorder the kendo columns but I see that already with the Grid/Column reordering drag drop feature which is perfect.
Thanks!
Hi
How can I hide the Excel Export button in runtime? Depending on the logged in user I have to hide and show the Export Excel button.
Would you have some sample code?
In one of our projects, we are using Kendo UI Q2 and we cannot upgrade because of IE8 support and we need Export to Excel & Export to PDF features. So we decided to take these features to server side.
By googling, I found following sample projects from github:
https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/excel-export-server-side
https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/pdf-export-server-side
These seem to be helping but in the PDF part I see that iTextSharp is used and it's commercial license is NOT FREE. What I want to confirm is that by having a valid license of Telerik DevCraft, can we use iTextSharp commercially or do we need separate license for it?
Any other help or solution will be highly appreciated.
@(Html.Kendo().ComboBox() .Name("fabric") .Filter("contains") .Placeholder("Select fabric...") .DataTextField("Text") .DataValueField("Value") .DataSource(source => source.Read(read => { read.Url("http://localhost:59590/api/Search/LoadonDemand"); }).ServerFiltering(true)) .HighlightFirst(true) .IgnoreCase(true)