How do I code this for a razor web application. How do I code the content-url paramater?
Here is an MVC example of displaying a page in a Kendo window: https://demos.telerik.com/aspnet-core/window/tag-helper
@addTagHelper *, Kendo.Mvc @{ string[] actions = new string[] { "Close" }; } <kendo-window name="window" title="Rams's Ten Principles of Good Design" draggable="true" resizable="true" width="600" on-close="onClose" content-url="@Url.Action("AjaxContent_TagHelper", "Window")" actions="actions"> <content> loading user info... </content> <popup-animation enabled="false" /> </kendo-window> <span id="undo" style="display:none" class="k-button">Click here to open the window.</span> <script> function onClose() { $("#undo").show(); } $(document).ready(function() { $("#undo").bind("click", function() { $("#window").data("kendoWindow").open(); $("#undo").hide(); }); }); </script>
Regards,
Florian.
Hello everyone.
I have a hierarchical grid, using ClientDetailTemplate, and everything works just fine, thanks to your detailed demo.
But I have a problem with filtering the whole grid (both the main grid and the tabbed grids). I have an input on main grid's toolbar through which the user can filter every column with the inserted text, but in this particular grid, it only filters the main grid and not the content of tabbed ones. I was wondering is there a way to filter the whole grid?
Request to impalement this common feature for FileManager
1) Back and Forward feature / button
2) Cut, Copy and Paste feature /Button
I have noticed in the documentation that a "mixed" sort mode is possible in the Grid found in Kendo UI for jQuery, but not in Telerik UI for ASP.NET Core (or MVC). Is this a deliberate difference in the feature sets? Is there a workaround available for applying a mixed sort in other grid types, or is this deliberately only available in jQuery?
Thanks
Hi I'm using PdfViewer on a a view and it works fine. The page contains a grid with more than one pdf file link and everithing works fine loading the viewer when grid select other lines.
I face a problem when the PDF file is occasionally corrupted, (rare case but can happen). In this case PdfViewer shows an error dialog "PDF file fails to process" and this is right. But after that error the PdfViewer object on the page become corrupted and show in console:
kendo.pdfviewer.js:1885 Uncaught TypeError: Cannot read properties of undefined (reading 'canvas') at r._calculateZoom (kendo.pdfviewer.js:1885) at r.exec (kendo.pdfviewer.js:1840) at init.execute (kendo.pdfviewer.js:2435) at init.zoom (kendo.pdfviewer.js:2425) at init.fromFile (kendo.pdfviewer.js:2502) at init.grid_row_select (VisDocForni?CodFor=000623:348) at init.trigger (kendo.all.js:164) at init.change (kendo.all.js:67990) at init.trigger (kendo.all.js:164) at init._notify (kendo.all.js:30078)
for any other valid PDF loading request, unless I refresh the page. I don't know how to reset PdfViewer in the "Error" event when it happens.
Thanks
Dome
I'm wondering if Telerik has pre-defined CSS to right align a group of kendo-textboxes in a div? I am using a slightly modified default Theme. I'd like these to line up nice and cleanly so it doesn't look jagged like this?
@{
ViewData["Title"] = "Modify Patient";
Layout = null;
}
@{
var sexesList = new List<SelectListItem>() { new SelectListItem { Text = "Male", Value = "M" }, new SelectListItem { Text = "Female", Value = "F" } };
}
<div>
<kendo-textbox name="SubjectID" placeholder="" value="" readonly="false" class="k-hidden"/>
<div>
<kendo-textbox name="FirstName" placeholder="" value="" readonly="false">
<textbox-label content="First Name" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="MiddleName" placeholder="" value="" readonly="false">
<textbox-label content="Middle Name" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="LastName" placeholder="" value="" readonly="false">
<textbox-label content="Last Name" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="MedicalRecordNumber" placeholder="" value="" readonly="false">
<textbox-label content="MRN" floating="false" />
</kendo-textbox>
</div>
<div>
<label>Date Of Birth</label>
<kendo-dateinput name="DateOfBirth" format="MMM/dd/yyyy">
</kendo-dateinput>
</div>
<div>
<label>Sex</label>
<kendo-dropdownlist name="Sexes"
datatextfield="Text"
datavaluefield="Value"
bind-to="sexesList">
</kendo-dropdownlist>
</div>
<div>
<kendo-datasource name="clinic_doctors_list" type="DataSourceTagHelperType.Ajax" server-operation="false">
<transport>
<read url="@Url.Action("List_Doctors", "Clinic")" />
</transport>
</kendo-datasource>
<span>
<label>Doctor:</label>
<kendo-dropdownlist name="Doctor" option-label="Doctor" placeholder=""
datatextfield="FullName"
datavaluefield="ClinicUserID"
datasource-id="clinic_doctors_list">
</kendo-dropdownlist>
</span>
</div>
<div>
<kendo-textbox name="AddressLine1" placeholder="address" value="" readonly="false">
<textbox-label content="Address Line 1" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="AddressLine2" placeholder="" value="" readonly="false">
<textbox-label content="Address Line 2" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="City" placeholder="" value="" readonly="false">
<textbox-label content="City" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-datasource name="usa_state_list" type="DataSourceTagHelperType.Ajax" server-operation="false">
<transport>
<read url="@Url.Action("List_USA_States", "Clinic")" />
</transport>
</kendo-datasource>
<span>
<label>State:</label>
<kendo-dropdownlist name="State" option-label="State" placeholder=""
datatextfield="StateName"
datavaluefield="StateAbbreviation"
datasource-id="usa_state_list">
</kendo-dropdownlist>
</span>
</div>
<div>
<kendo-textbox name="Country" placeholder="" value="USA" readonly="true">
<textbox-label content="Country" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="ZipCode" placeholder="" value="" readonly="false">
<textbox-label content="Zip" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="SubjectPhone" placeholder="" value="" readonly="false">
<textbox-label content=" Phone " floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="SubjectAltPhone" placeholder="" value="" readonly="false">
<textbox-label content="Alternate Phone Number" floating="false" />
</kendo-textbox>
</div>
<div>
<kendo-textbox name="SubjectEmail" placeholder="" value="" readonly="false">
<textbox-label content="Email" floating="false" />
</kendo-textbox>
</div>
</div>
Thanks,
Russ
I have a group of fields on a form. It is OK if they are all empty, but if one in the group has data, they all must have data. There are other fields with other validation rules that are not part of the group.
The fields are a combination of TimePicker, NumericTextBox, TextBox, MaskedTextBox, ComboBox and RadioButton. The fields always appear in a group so they aren't spread out all over the form.
The values need to be checked before the form is saved.
What's the best way of checking for all fields null or not null and if they are not all null or all not null then display a message. Ideally it would be nice to display which fields are missing.
I'm using the MVVM pattern
TIA
On the spreadsheet, the default decimal separator seems to be dot ".", it's possible to change decimal separator to comma ',' ?
And the same thing for thousand separator ?
Regards.
Florian.
I am most definitely NOT a UI/UX developer (I try to stick to the invisible stuff behind the scenes), but I've been tasked with developing a quick web page (ASP.NET Core 5 MVC, in case it matters) in which a user can look up the price of a product. I have a database of nearly a million products. I would like this thing to be responsive. Obviously I could simply provide a search box and do it that way, but the products are broken up into five levels of a hierarchy. It would be possible (and relatively easy) to create a page with cascading drop-downs. However I'd prefer something even more flexible, preferably combining the best of all worlds, so that if a user knows what he/she is looking for, he/she can get to it more quickly/directly. I'm thinking it might be nice to create a search that combines these various possible elements, where a user could pre-select 0-5 hierarchies and then still use a search at any point along the path. I'm struggling to come up with a good visual presentation of that, though, so any advice, especially with a working example, would be much appreciated!
Thanks in advance!