8634 0
OutputCache in ASP.NET MVC ( Caching in MVC)
This article will help you in understanding the usage of OutputCache with its filter parameters and how to improve the performance of your web application using OutputCache with an example.
Type
Article
8349 2
Ajax.Beginform is posting form values twice in MVC?

I am using Ajax.BeginForm in Modal pop-up, but when submitting form values, it is calling controller twice and hence saving the same form details twice in the database, what can be the cause of it, i am not able to find any good solution on internet, I am using PartialView in ActionMethod to return Ajax.Beginform view

Here is the PartialView code

...
Type
Question
8257 0
Enabling CORS in IIS (Various possible methods)
In this article, I have provided various possible methods to enable CORS using IIS server configuration, using C# or Web.Config or using IIS manager.
Type
Article
8245 1
Create Captcha in asp.net with refresh button (Code with example)
In this Article, I will Explain how to add and validate Captcha Image in Asp.Net Application using Mscaptcha dll Example with refresh button
Type
Article
8154 1
ASP.NET MVC tutorial part-2 connecting to database (reading and saving data)
This article describes basic of MVC C#, connecting the ASP.NET MVC web application to database using ADO.NET Entity Framework, reading and inserting data to database.
Type
Article

8132 2
How to clean and build solution in visual studio code (.net core2)

Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.

How can I do the same thing in visual studio code. Thanks.

...
Type
Question
8105 2
how to get MVC model list in javascript and pass it to controller?

How to fetch model values (IList<Model>) in the script and pass the data to the controller?

I want to pass the data like : 

array 0 : id : 1,id:2

array1 : id : 3,id:4

...
Type
Question
8048 7
How to create monthly attendance sheet with MVC?

I want to display a monthly attendance sheet using the below SQL tables:

 Screenshot_1-min.png

this is the attendance table.

img2

this is the employee table.

Here is the image of the output, which I need in the view

img4

And here is the current C# Code for the action is:

...
Type
Question
8021 1
Download multiple files as ZIP archive in ASP.NET MVC (DotNetZip example)
In this article, I have explained how you can download files as ZIP easily using DotNetZip library in ASP.NET MVC C#.
Type
Article
7974 2
how to reload partial view in pop-up modal when opening it?

Hi, I wanted to clear the validation errors if I clicked the Create Button.

Because if I click the Close Button or The Black Shadow(Accidentally close the modal) behinds the Modal within the state of "Errors" in validation, if I click the create button again, the errors will still show, which should be removed as I am clicking back "Create" button.

Please check this link below as reference, the only thing I wanted to do is everytime i click Create Button, the partial view must clear all errors even it was from the previous transaction because sometimes I accidentally drop the modal. Thanks in Advance.

https://qawithexperts.com/article/asp.net/validate-pop-up-modal-using-ajaxbeginform-in-c-mvc/52  ...(Make this as reference)

...
Type
Question

Page 7 of 30