Hi everyone,
I'm aware of there is WordProcessing component for processing documents.
I've also notice that in grid demo there are functions for exporting Excel and PDF.
Is there a solution for exporting Microsoft .docx documentation?
there is a form.Added element DropDownTree. When you click on the confirmation, you need to get the value in the controller Category. Preferably in the format string []. Tell me how you can get values, even in a different format.Thank you.
<form asp-action="CreateService" asp-controller="ServiceSubmit" asp-antiforgery="true" data-ajax="true" data-ajax-method="post" data-ajax-update="#result_login_register" >
<input name="IsValid" type="hidden" value="@ViewData.ModelState.IsValid.ToString()" />
<div class="form-group">
<label asp-for="Name">Краткое название</label>
<input asp-for="Name" class="form-control" />
<span asp-validation-for="Name" class="text-danger"></span>
</div>
<div class="form-group">
<label>Категория</label>
@(Html.Kendo().DropDownTree()
.Name("Category")
.DataTextField("Category")
.HtmlAttributes(new { style = "width: 100%" })
.AutoClose(false)
.Checkboxes(checkboxes => checkboxes
.Name("checkedFiles")
.CheckChildren(true)
)
.DataSource(dataSource => dataSource
.Model(model => model
.Id("IdCategory")
.HasChildren("HasChildren")
)
.Read(read => read
.Action("CategoryPodServic_Read", "ServiceSubmit")
).ServerFiltering(false)
)
)
@*<span asp-validation-for="Category.CategoryPod" class="text-danger"></span>*@
</div>
<div class="form-group">
<input asp-for="Raion" class="form-check-input" type="checkbox" value="" id="Raion">
<label class="form-check-label" for="Raion">
Выезд на район
</label>
</div>
<div class="form-group">
<label asp-for="Description">Описание</label>
@(Html.Kendo().Editor()
.Name("Description")
.HtmlAttributes(new { style = "width: 100%; height:400px" })
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline()
.JustifyLeft().JustifyCenter().JustifyRight()
.InsertUnorderedList().InsertOrderedList()
)
)
<span asp-validation-for="Description" class="text-danger"></span>
</div>
<button class="btn btn-success" type="submit" >Сохранить</button>
</form>
I have a timepicker defined as follows
@(Html.Kendo().TimePickerFor(model => model.VitalsTime1) .Interval(5) .Format("HH:mm") .Min(DateTime.Now.AddMinutes(-15)) .Max(DateTime.Now.AddMinutes(15)) .Events(e => { e.Open("vitals1Open"); )
function vitals1Open(e) {
var vm = window.viewModel;
var currentDate = new Date();
var currentTime = currentDate.getHours() + ":" + currentDate.getMinutes() + ":" + currentDate.getSeconds();
vm.set('vitalsTime1', currentTime);
}
The ViewModel is public DateTime? VitalsTime1 { get; set; } while the table definition is Time(7).
I have a button that is supposed to clear a number of fields including the time. The button click function in part is
function clearVitals1(e) { var vm = window.viewModel; vm.set('vitalsTime1', null);
All of the other fields are cleared but the TimePicker continues to display the time that was previously there.
I tried a couple of things to change the TimePicker but keeping getting the error You cannot override component name when bound to a model expression.
How do I get the TimePicker to clear the value?
I found this: https://www.telerik.com/forums/how-to-change-button-label-text-for-tag-helper
Is there an HTML helper equivalent? I'm trying to avoid tag helpers for consistency.
Hello,
Is it currently possible (even with custom cliente side code) to add a zooming feature to the OrgChart Control? Also, is printing/exporting the orgchart to pdf in the roadmap?
Thank you,
Pedro S.
Scenario
A grid showing datas, with an add new record function,
checking the data submitted from client with custom validation,
if the result isn't valid, directly return View("gridPage").
However, the grid still shows the data with the one client had just submiitted, which isn't valid.
How can I prevent from this situation?
Grid Code
<div>
@(Html.Kendo().Grid<Sinotech.AntiSeismic.Digitalization.Web.Controllers.ViewModels.AgentViewModel>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(c => c.Code).Title("經銷商代號");
columns.Bound(c => c.Name).Title("經銷商名稱");
columns.Bound(c => c.TaxIdnum).Title("統一編號");
columns.Bound(c => c.PersonInCharge).Title("負責人姓名");
columns.Bound(c => c.TelNum).Title("電話");
columns.Bound(c => c.Addr).Title("地址");
columns.Bound(c => c.MailAddr).Title("通訊地址");
columns.Bound(c => c.BankCode).Title("銀行代號");
columns.Bound(c => c.BankName).Title("銀行別");
columns.Bound(c => c.BankAccount).Title("銀行帳號");
columns.Bound(c => c.BankAccountName).Title("銀行帳號戶名");
columns.Bound(c => c.Sales).Title("業務姓名");
columns.Bound(c => c.SalesTelNum).Title("業務電話");
columns.Bound(c => c.Accountant).Title("會計姓名");
columns.Bound(c => c.AccountantTelNum).Title("會計電話");
columns.Command(c => c.Edit());
columns.Command(c => c.Destroy());
})
.Pageable()
.Scrollable()
.Sortable()
.Editable(editable => editable.Mode(GridEditMode.PopUp))
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.Create(create => create.Action("AddAgent", "Vendor"))
.Read(read => read.Action("GetAgentData", "Vendor", new { Id = Id }))
.Update(update => update.Action("UpdateAgent", "Vendor"))
.Destroy(destroy => destroy.Action("DeleteAgent", "Vendor"))
.Model(m => {
m.Id(id => id.Id);
m.Field(f => f.Id).Editable(false);
})
)
.ToolBar(tools =>
{
tools.Create();
})
)
</div>
Thought that the DataSource.Read function would refresh the data on grid,
since I've just return back to the page after validation error, and it automatically runs through the DataSource.Read.
But it's not working
So in 2019 Telerik support told me Serverless is not supported. Well it's 2021 and I can't be the only person using the Azure SignalR Service "serverless".
I know it's not officially supported by Telerik as server SignalR methods can't be invoked with Serverless but I have got changes showing in the grid from a Razor page. The issue is I can't get the grid initially populated as I just see a spinner until the first update is received from the SignalR Service.
I'm thinking of initialising the grid datasource as SignalR, then I could perform an Ajax call to get the initial data, then leave it to receive updates from that point. Anyone in the community using grids with SignalR in this way? I'd appreciate any experiences whilst Telerik play catch up.
Many thanks.
Need help with presenting, creating, editing and deleting Hierarchal data using Tree view and (0r) Tree List Telerik controls for my ASP.Net Core MVC application using remote data options.
I am using Microsoft Visual Studio Community 2019 Version 16.10.3.
Example: ASP.NET Core TreeView Component Data Binding | Telerik UI for ASP.NET Core
The data is not populating by using Tree view control by using the above method using remote data option.
The below link does not have complete information about TreeList_Read method and also data not populating for this control.
ASP.NET MVC TreeList Component Ajax Binding | Telerik UI for ASP.NET MVC
I need help here.
Hello!
Is it possible to enable Drag&Drop on a FloatingActionButton?
Thank you