Can someone format the code below so that I can set srcript variables with c# code using razor?  The below does not work, i've got it that way to make is easy for someone to help.  @{int proID = 123; int nonProID = 456;}  <script type="t...
I am trying to understand the difference between regular expressions that are used in JavaScript and .NET. I have read couple of articles on it,  Differences between C# and JavaScript Regular Expressions? https://www.codeproject.com/Questions/626385/...
Have this problem, that I can't get my head around. I have absolutely no idea where to start with this.  I have these two simplified tables (MSSQL):  Table 1 -------  ID    |    LetterCode --------------------- 1     |    ABC 2     |    DEF 3...
i have a problem in passing model objects to a javascript function in .cshtml(asp.net Core project). I have done a lot of search,but can't find a solution to solve this problem. I build a web application use ChartJs line sample.  web app js files...
I am creating custom attribut for validation to override RegularExpressionAttribute in .Net Core, and Implemented IClientModelValidator for client side validation. validation is apply on field but didn't display Error message for it. ModelState.I...
When disabling server-side rendering using the Angular 2 Webpack starter (using the Visual Studio Asp.Net Core Template Pack - https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ASPNETCoreTemplatePack) I get a blank page with the erro...
Following the guide I arrived at the point where I need to create an instance of Vue (which seems to work). However, I also need to provide an instance of Vuew Router into the constructor of Vue, as shown below.  const router = new VueRouter({ routes...
I have a Web application in .net Core 2.1 using signalR. I need to pass HubUrl into  custom javascript file. Is that possible in .net Core?  Sample of js code:  const connection = new signalR.HubConnectionBuilder() .withUrl('http://localhost:5000...
I added some js files which were exported from Adobe Muse to my wwwroot/js folder. However, when I check the console, it doesn't look like these folders can be found.   I am calling the scripts using:      <script src="~/js/require.js?crc=...
I am using Dotnet Core 2.2 to generate report with JSReport (https://jsreport.net/) I use local JsReport so I sent my template and data to the local server and get back the pdf. Now I need to format date in javascript, so I require to include moment....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.