JQuery validate dynamically added input fields against other dynamically added input fields

I have multiple pairs of input fields for start and end dates: @foreach (var exam in exams){ <input type="date" data-val="true" required id="StartDate" value=&…

Javascript or Jquery validation on textChanged

I need to do the validation for the P.O box on text changed event. If the user types P.O Box in the address text box and also request for expedite shipping by checking a chec box then I need to show …

How can I set Date in second TextBox to first TextBox’s day + 1

I have two TextBox in a page. When user pick a date from first TextBox, second TextBox has to be first TextBox’s day +1(previus dates has to be disable). For exemple: User pick 2020-12-29, second …

How can load file to Kendo PDF Viewer?

I have the following PDF Viewer in my view, How can I update pdf.File(Url.Content(“~/pdf/test.pdf”) based on the selected project.

Multiline textbox value split using javascript in Asp.Net C#

Asp.Net C# Multiline textbox(textbox1) value split after 35 charaters of address & add to textbox(textbox2 – Singleline) again split next 35 charaters & add to textbox(textbox3 – Singleline) …

Access Messages from Message Center

Hi I’m try to display the top 5 messages from the message center on the homepage. But I’m not sure what I’m doing wrong. I try to get the messages from the message view model here is my code. View …

FileUpload: Get filenames with JS not working

I want to get filenames and put it in label lbName but this code is not working. I used asp:FileUpload. This is my code:

How upload image in CKEditor 5 With asp.net core razor Pages

ClassicEditor.create(document.querySelector(‘#News_Body’), { language: ‘fa’, ckfinder: { uploadUrl: ‘URL’ } }) .catch(error => { console.error(error); }); I Have A Razor Page Ineed this Page UPload …

jQuery File Tree always uses root folder as selected folder

I am having trouble displaying data using jQuery File Tree plugin. No matter what I use for ‘root’, it always uses ” and displays content of C drive! I am using aspx (with code behind that I am not …

Can’t update iframe’s src in the viewer in ASP.NET

In shared folder of ASP.NET C#, I create a .cshtml which defines a button that can GET data from an API. I would like to generate an url and use it to update an iframe of a viewer. function …