When I add an editor to a form either directly or through the new wizard, it does not unmask the field. Please let me know what am I doing wrong.
...
item.Add()
.Field(field => field.Zip)
.Label(label => label.Text(
"Zip"
))
.Editor(editor => editor.MaskedTextBox().Mask(
"00000-9999"
).UnmaskOnPost());
...
I am trying to use either the new Form or Wizard widget as a popup editor, but it does not bind the data item to the widget.
Is this supported? Is there a way I can archive this?
Thanks
Didn't see this anywhere in the documentation. How exactly would I set up the toolbar with an Excel export options. I know with HtmlHelpers I would do
.ToolBar(tools => tools.Excel())
But i'm not seeing any way to do that with the TagHelpers <excel /> and <toolbar></toolbar>.
Thanks in advance.
Do you have any plans to port the Web Mail sample application from ASP.NET MVC to ASP.NET Core?
It's one of the more real world samples and it would be beneficial to see an implementation using the latest features such as Razor Pages.
Hi,
When i show week view with events take allday i get this style not good like my attachment, their is no space between events in week view with allday events
Hi,
I have this config below for a treelist. You can see that I have enabled drag and drop by setting move to true.
I would expect, when I drag and drop an item from one parent to another, that the "update" action defined in my controller is hit with the model containing the parentId of the new parent, but the "update" action on the controller is not being hit !
What am I missing ?
@(Html.Kendo().TreeList<AccountGroupModel>()
.Name(
"tlAccountGroup"
)
.Toolbar(toolbar =>
{
toolbar.Create();
})
.Columns(columns =>
{
columns.Add().Field(f => f.Name);
columns.Add().Command(c =>
{
c.Edit();
});
})
.Editable(editable => editable.Move(
true
))
.DataSource(datasource =>
datasource
.Model(model =>
{
model.Id(m => m.Id);
model.ParentId(m => m.ParentId);
model.Field(m => m.Name);
})
.Read(read => read.Action(
"AccountGroups_Read"
,
"AccountGrouping"
))
.Create(create => create.Action(
"AccountGroups_Create"
,
"AccountGrouping"
))
.Update(update => update.Action(
"AccountGroups_Update"
,
"AccountGrouping"
))
))
My controller actions look like this:
public
async Task<JsonResult> AccountGroups_Read([DataSourceRequest] DataSourceRequest request)
{
var models = await accountGroupingService.GetAccountGroupsAsync();
return
Json(models.ToTreeDataSourceResult(request, e => e.Id, e => e.ParentId, e => e));
}
public
async Task<JsonResult> AccountGroups_Create([DataSourceRequest] DataSourceRequest request, AccountGroupModel model)
{
if
(model !=
null
&& ModelState.IsValid)
{
model = await accountGroupingService.SaveAccountGroupAsync(model);
}
return
Json(
new
[] {model}.ToTreeDataSourceResult(request, ModelState));
}
public
async Task<JsonResult> AccountGroups_Update([DataSourceRequest] DataSourceRequest request, AccountGroupModel model)
{
if
(model !=
null
&& ModelState.IsValid)
{
model = await accountGroupingService.SaveAccountGroupAsync(model);
}
return
Json(
new
[] { model }.ToTreeDataSourceResult(request, ModelState));
}
We have a situation when a user is using a filterable DropDownList they input part of the "contains" filter in the search bar "Hamilton," After 3 chars the filter starts to call the method to filter the results. While the user keeps entering data "Hamilton, Tim" the initial return values for the 1st 3 chars returns and they select a value from that list. Then the remaining value(s) return from the "Hamilton, Tim" query and clears out the selected value.
Is there a way to disable this from happening when they select a value and in effect disregard any additional filtering based on the fact that they selected a value