Started a new question as the problem has moved. You can read how we came to this in this post. stackoverflow.com/questions/60379943  I now have working code but for some reason the script formatting is interfering with the population of the drop-dow...
I'm unable to get sidebar links to navigate to bootstrap 4 tabs on the center page using this technique. Here is the javascript in my _SidebarLayout.cshtml:   <script>     function selectTabNamedInUrlHash() {         let selectedTab = windo...
I am building an ASP.NET Core web application and would like to style certain text in my result table a different color than the rest of the table. For example:    I am trying to do this in JavaScript but seem to be running into issues because the da...
Is there any to pass some data from HTML property on changed event data to asp.net core razor pages?  I want to get an ID from dropdown list from HTML using JS and pass it to Razor Pages (asp.net core 2) and get the result from the custom method ? Co...
I am using JS in a razor page to grab a dynamic ID from a col in a foreach.   In the past, I have used this and it worked fine. However, it seems that it is currently only grabbing the ID from the first col no matter which one I click.   Can someone...
I am currently getting some data from my controllers which I am using in my cshtml file. Technically this data needs to be used only by javascript. So I am doing this      $(document).ready(function () {      var responses = [];      @foreach (var lo...
so this is a hard one for me to try and explain. I have a razor page that when a button is clicked it calls a javascript function which makes an ajax call to a handler in the back end. The handler does some stuff and gets a id that I want to pass to...
I have following model binding in reazor view .cshtml  @Html.TextBoxFor(m => m.cDate,     new{         @id = "textd",         @type = "text"     } )   I want to call a javascript function before binding like below  @Html.TextBoxFor...
I'm iterating a list in my Razor view and I have a date attribute to show in a specific format.   I have used model.MyDatetimeAttr.toString("dd MMM yyy") which is working fine. However it has considerable performance impact (taking too mu...
How To Get Multi Inputs Value And Save To Db? this is my Input Generator:   <div class="form-group input-group">                                 <input type="text" class="form-control">...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.