Skip to main content

All Questions

Tagged with
0 votes
0 answers
27 views

How to display text input box over modal in abp framework?

I have the following code which is a modal element. The "NewButton" element is supposed to trigger a text input box in which the user writes the reason for the delete action. The Scripts ...
lilnoob's user avatar
1 vote
0 answers
38 views

Converting UTC time in model to Local time in view

I have a C# model that includes a list of items, and each item has a DateTime property containing a time that is represented as UTC. I need to render those times to the UI, which is a cshtml page, and ...
LordWilmore's user avatar
  • 2,902
0 votes
2 answers
38 views

ASP.NET MVC5: Change Upload Limit for Specific URL

I have a partial View page (ManageFile.cshtml) which is being used to upload and download files based on the current page and id. Since this View is partial, I am able to utilize it throughout my ...
Andrew C's user avatar
1 vote
1 answer
45 views

Distribute Remaining Input Percent among n-inputs in JavaScript

I am trying to make a function for the following situation: I have a number of user inputs that accept a number value from 0 to 100 If I entered 100 in input1 then input2 to input-n will not accept ...
Taher's user avatar
  • 593
1 vote
0 answers
49 views

blazor project when publish IIS,then show razor.js not found

This is the case. I use blazor ssr written in .net7.0. There is a page composed of razor and razor.js. There are no exceptions in local debugging. After publishing to IIS, it prompts that the js file ...
user24300317's user avatar
0 votes
0 answers
28 views

Use JavaScript TradingView Widget in Blazor razor page, possible?

try to use Widget as it is from Trading View in test Blazor razor page. Chart appearing, but I can't change parameters in code, since compilator does not accept anything after src attribute as on the ...
Den Tol's user avatar
0 votes
2 answers
38 views

How to keep a single backslash in JavaScript?

I'm working on a project where this string ^\S+@demo\.com$ is stored in a parameter. It's possible to retrieve it in the JS part using @Params.FiltreEmail. I can't modify the value of @Params....
JVDev's user avatar
  • 13
0 votes
1 answer
72 views

Passing parameters to anonymous javascript function in Blazor

I am building an app that requires the use of the TradingView advanced chart widget but I want to be able to pass a parameter into the options. This is what the code looks like from the website. <!-...
Snowelle's user avatar
0 votes
0 answers
27 views

ASP.Net Using Data in Array to Populate HTML Map Areas Tooltips and Data Captions Using ImageMapster

I have an HTML page which reads the data from a data array in an ASP.Net controller. The data is used to create map areas which will then show the data as a tooltip and also fill caption boxes. I ...
RJPWilliams's user avatar
0 votes
1 answer
82 views

C# Razor Page populating/processing data on click of a button

I am new to ASP.net and trying to modify a page where it shows list of data into html. Due to the fact that bindata being enormous, it takes longer to load this page. When I think of solution to this, ...
MAREY's user avatar
  • 51
0 votes
1 answer
32 views

Unable to process binding "value: function() {return myVar }"

I am using knockout.js and am trying to get a <select> tag to populate with options from on of the view model's properties. I think I did everything right but it breaks. The console error is ...
drethedevjs's user avatar
0 votes
1 answer
44 views

Using a spinner without Ajax

Well, I hope you can help me, this is giving me a lot of trouble I'm using Razor with Net 8 MVC and I want a spinner to appear in two situations: The first, before loading the page. The second is in ...
Kenzo_Gilead's user avatar
  • 2,417
0 votes
0 answers
11 views

How to pass bool flag from Razor syntax to javascript [duplicate]

I am trying to pass a variable like this: <script> var isWhiteLabel = @isWhiteLabel == True ? true : false; //renders as follows in my Sources tab: var isWhiteLabel = True == True ? true : ...
lonelydev101's user avatar
  • 1,731
0 votes
1 answer
34 views

returning a string containing href="@Url.Action in anchor tag

function iconFormatter(value, row, index) { var idNode = row.nodeId; if (row.isFile === true) { return '<img src="../Test/file.png" style="margin-left: 10px;" /&...
Akshay Meshram's user avatar
0 votes
0 answers
39 views

How to avoid scrolling to top of page when using scrollTo

I have the following code that stores the scroll position when the user leaves a page and scrolls back to that position when coming back to the page. This is in a .net razor page html file. However ...
Bigbob23's user avatar
  • 126

15 30 50 per page
1
2 3 4 5
231