Hi,
I need to hide some options of the dropdownlist called repeat, when im going to create an event.
as you see in the image, i need show only never,daily, and weekly. I saw an example in angular but i cant do it in .Net Core MVC.
Thanks for help me.
Hi Team
I am getting below error this is working in asp.net but when i migrated in asp.net core i am getting error for kendoui.ttf and kendoui.woff
PFA
Hi Telerik Team,
I can't see from my mobile browser(telephone) my custom commands Attachment, Distribution, Structure. Desktop browser show everything ok.
telerik version: Telerik.UI.for.AspNet.Core 2019.2.619.
Tell me please, why custom command columns is not visible.
Code sample:
@(Html.Kendo().Grid<WorkFlow.Core.Models.Dto.DocumentTable>()
.Name("Grid")
.Columns(columns =>
{
columns.Bound(e => e.Id).Visible(false);
columns.Bound(e => e.Number).Title("Номер документа").HtmlAttributes(new { style = "text-align: center;" }).Width(120);
columns.Bound(e => e.InboxNumber).Title("Номер вх.документа").Width(120);
columns.Bound(e => e.DateReg).Format("{0: dd.MM.yyyy}").Title("Дата регистрации").Width(120);
columns.Bound(e => e.OrgName).Title("Откуда").Width(150);
columns.Bound(e => e.About).Title("Краткое содержание").Width(200);
columns.Bound(e => e.Mail).Title("Факс/Электронный адрес").Width(100);
columns.Bound(e => e.DocOwner).Title("От кого").Width(100);
columns.Bound(e => e.Address).Title("Адрес").Width(200);
columns.Bound(e => e.DepartmentName).Title("Исполнитель").Width(200);
columns.Bound(e => e.UserName).Title("ФИО(ОУЧРиДО)").Width(200);
columns.Command(command =>
{
command.Custom("Attachment").Click("openAttachment").Text(" ").IconClass("fa fa-mail-bulk");
if (User.IsInRole("Admin"))
{
command.Custom("Distribution").Click("openDialog").Text(" ").IconClass("fa fa-mail-bulk");
}
command.Custom("Structure").Click("openDialogDistribute").Text(" ").IconClass("fa fa-edit");
}
);
})
.ToolBar(toolbar =>
{
toolbar.Excel().Text("Экспорт в Excel").HtmlAttributes(new { style = "height:70px;" }).IconClass("fa fa-mail-bulk");
if (User.IsInRole("Admin"))
{
toolbar.Custom()
.HtmlAttributes(new { onclick = "onClickCreateOutbox();return false;" })
.Name("CreateOutBoxButton").Text(" Создать исходящий документ").IconClass("fa fa-mail-bulk");
toolbar.Custom()
.HtmlAttributes(new { onclick = "onClickCreateButton();return false;" })
.Name("CreateButton").Text(" Создать входящий документ").IconClass("fa fa-mail-bulk");
}
})
.Excel(excel => excel
.AllPages(true))
.Mobile()
.Sortable()
.Pageable()
.Resizable(resize => resize.Columns(true))
.Filterable()
.ColumnMenu()
.Scrollable()
.HtmlAttributes(new { style = "height:450px;" })
.DataSource(datasource => datasource
.Ajax()
.PageSize(50)
.Read(read => read.Action("GetDocuments", "Document", new { year = Model.year, typeDoc = Model.docType }))
)
.Resizable(resize => resize.Columns(true))
)
------------
<script type="text/javascript">
$(document).ready(function () {
var isMobile = Boolean(kendo.support.mobileOS);
if (isMobile) {
$("#Grid").data("kendoGrid").resize();
alert('i m here');
}
});
</script>
Hi There ...
How to use tag helper on Grid with Local datasource
@model PromiseOnline.Models.ViewModels.PerintahKerjaHarianViewModel
@using PromiseOnline.Models.ViewModels
@{
IList<
PkhLphDetailFleetViewModel
> PkhLphDetailFleet1ViewModels = Model.PkhLphDetailFleet1ViewModels;
IList<
PkhLphDetailFleetViewModel
> PkhLphDetailFleet2ViewModels = Model.PkhLphDetailFleet2ViewModels;
}
@(Html.Kendo().Grid(PkhLphDetailFleet1ViewModels)
.Name("gridPkhDetailFleet1Preview")
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
)
.
.
.
)
I have a kendo grid with Kendo context menu and it works fine when grid is placed directly on page.
When i place this Grid into a Kendo Tile layout, Context menu stops working. Any suggestions to fix this issue?
Thanks
How to stop passing parameter through query string ?
CSHTML:
@(Html.Kendo().Chart<UserWidgetFilterParameter>
.Read(read => read.Action(Model.actionMethod, Model.actionController, _recordValidationParameter).Type(HttpVerbs.Post))
Controller:
[HttpPost]
public JsonResult AccountRecordWidgetData(UserWidgetFilterParameter objwidgetParament1)
Parameters passing as below:
http://localhost:52670/Home/AccountRecordWidgetData?Jurisdiction=All&Regime=8&Filer=All&FilerGroup=All&WidgetId=1&UserWidgetID=211&F_Year=2020
I want to rotate the header text to 90 degree.
<style>
.rotate-text {
float: left;
line-height: 0.7;
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
margin: 0;
padding: 0;
}
</style>
columns.Bound(c => c.Number).ClientHeaderTemplate("<
div
class
=
''
>#=???#</
div
>");
How can i access the original header text inside of the template ?
I tried to update VS to the latest version and encountered a looping error in the Telerik Xamarin extensions.
After killing VS, I was able to update but the UI would then hang as soon as I tried to right-click on the project tree view (if I waited long enough - 45-60 seconds - it would sometimes "come back to life" but would still be unworkable).
Disabling the extensions did not fix the issue. I had to repair VS and reboot.
Hi,
I’m trying
to load the data from an external source and, depending of that data, I would
like to automatically set the right page in the Wizard.
How can I programmatically select that page?
Thank you