Skip to main content

Questions tagged [asp.net-mvc-4]

ASP.NET MVC 4 is the fourth major version of the ASP.NET Model-View-Controller platform for web applications.

asp.net-mvc-4
0 votes
1 answer
25 views

Uncaught ReferenceError: javascriptFunction is not defined at HTMLAnchorElement.onclick exception

I try to implement a simple calendar in ASP.NET MVC 4. Its aim is to view a day and schedule meetings among different units of an organization. I am getting "Uncaught ReferenceError: GetDayViewJS ...
tahasozgen's user avatar
0 votes
1 answer
30 views

Implementing Background thread for a long running task

How can I manage two tasks that each take more than two hours to execute in .net MVC? I've been fetching a huge amount of data from a third-party website, and although I've tried using async/await, ...
ajay grandhi's user avatar
0 votes
0 answers
16 views

ExcelWriter throws TypeInitializationException when trying to run the AutoFitWidth function

SoftArtisans.OfficeWriter.ExcelWriter has the capability to create a worksheet area based on a number of columns. This works, however, when I try to AutoFitWidth() of the Area I receive this error: ...
Christian Hansen's user avatar
0 votes
1 answer
21 views

Data Attribute has double quote

I am using ASP.NET MVC and in my class I have member whose description has double quotes in it like below: [Display(Name = "Biological "Parent"?")] public bool? IsParent { get; set;...
Jay's user avatar
  • 1,039
0 votes
0 answers
39 views

Session Timeout Issue with MVC Application Behind F5 Load Balancer Need Advice on Settings for Session Persistence

I have two servers running the same MVC web application behind an F5 load balancer. Despite correctly configuring session timeouts in IIS, sessions are expiring after only a few minutes of user ...
chandru arya's user avatar
0 votes
0 answers
17 views

TinyMCE initialization error: The chosen schema: "cyclic" did not exist in branches: {}

I am supporting an ASP.Net MVC 4 application. It makes use of TinyMCE (v6.4.1) rich text editor in a number of views. There is one view in which the component fails to initialize, with the following ...
Shawn de Wet's user avatar
  • 5,856
0 votes
1 answer
34 views

How can I download multiple pdf file from javascript to c# aspnet

I can generate and download a PDF file successfully if there's only one. However, when I attempt to generate and download multiple PDFs, I encounter an issue. I'm using the same code that works for ...
Jen143's user avatar
  • 821
0 votes
0 answers
24 views

Calling a View from another folder - ASP.NET MVC 5

This .cshtml page display the main menu: MyMVCProject\Location\Subjects\Views\@_MyMainMenu.cshtml And, this .cshtml displays all classrooms data: MyMVCProject\Views\Classrooms\@_Index.cshtml I have ...
khurj's user avatar
  • 17
0 votes
0 answers
44 views

When I host my site on my PC In IIS server the email send correctly when i host on my Production server the email does not send

I'm experiencing an issue with sending emails using System.Net.Mail.SmtpClient in an ASP.NET Web API project. The emails are supposed to be sent automatically using Hangfire, but I'm encountering an ...
Daniel Zain's user avatar
2 votes
0 answers
56 views

Two-way data binding issue in Blazor: Checkbox not updating bound property

I am a beginner in Blazor Im not getting any error and why two way data binding not working, I'm experiencing a two-way data binding issue in my Blazor WebAssembly app. I have a checkbox bound to a ...
Faizan Khatri's user avatar
-1 votes
1 answer
31 views

Azure style notification panel in ASP.Net

Using ASP.NET, is there anyway to design a notification panel similar to the Azure notifications, that pops up on the right side of the browser window on click? Please see the attached screenshot. I ...
Steve Ed's user avatar
  • 525
0 votes
0 answers
14 views

Visual Studio 2022 Folder Publish Doesn't Copy Unchanged Files

I have an ASP.NET MVC 4 project that I recently branched to work on major performance updates. I published breaking changes to my dev environment while testing various changes. Once I was done testing,...
Ray Phillips's user avatar
0 votes
0 answers
34 views

How to download a Resume Template with Data and Design in ASP .NET MVC

I'm fetching my all data from controller's Action Method(GetSelectedTemplate) to the view(GetSelectedTemplate.cshtml). and try to download the Resume Template when click on the Resume Button. 2.In my ...
Shubham Sawant's user avatar
-1 votes
2 answers
86 views

convert HTML5 input type date format to like this "01-Jan-2024"?

I am trying to format my HTML5 input date type date format to "01-Jan-2024". I have tried placeholder="dd-mm-yyyy" value="" and required pattern="[0-9]{2}-[0-9]{3}-[...
James123's user avatar
  • 11.5k
0 votes
0 answers
23 views

How can I make a controller insert the data provided in a form?

Hello community I have a question regarding how to make the form push to the database and insert the data provided in the table what happens is that according to me I already have the correct insert ...
jared alcala's user avatar

15 30 50 per page
1
2 3 4 5
2825