12919 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
12894 2
How can I add new SelectListItem at first position of a List in C# MVC?

I have already created a List in my ASP.NET MVC Controller, now I would like to add new Element at first position of the sorted list, how can I add it using ASP.NET MVC C#?

Here is the current C# code.

...
Type
Question
12740 2
disable browser back-forward button after logout in MVC

how can I disable browser back-forward button after logging out from asp.net MVC C# web application, I have tried this javascript code

...
Type
Question
12720 1
Pass checkbox values to Controller and show confirmation before deleting data in MVC C#

Hi, I want to pass multiple checkbox values for deleting data like

checkbox1: a,b,c,d  checkbox2: e,f,g,h

and pass it to the controller and want to show modal popup before sending Data to the controller:

Are you sure, you are going to delete 2 items? (Delete/No)

the modal pop-up will contain the only count of selected data and delete button for confirmation?

Delete button will delete all selected data

should I pass the data in JSON format or in the string?

Right now, I am passing the data like : var a = {values = CommaSeperatedValues}
In the controller Method passing argument as List<string> values and fetched values but I am getting an error like unexpected char at JSON

...
Type
Question

12706 2
Compressing (reducing size) of PNG image using C# in .NET MVC
This article will help you reduce size or compress png file size using C# and nQuant in asp.net MVC, it converts 32 bit PNGs to high quality 8 bit PNGs
Type
Article
12590 0
Convert ASPX page to PDF in ASP.NET using iTextSharp
In this article, I have explained and showed a demo of how you can convert ASPX page into PDF using iTextSharp in your asp.net web-application.
Type
Article
12480 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
12450 3
Best extension to convert C# Class to Typescript Interface Class

Hi, i just wanted to seek advice what is the best extension to reuse and convert my C# Class to Typescript Interface Class without coding it again. 

I've seen many extesions out there. Just copy and paste and it will produce typescript class, but I don't know what is the best of them. I also want a converter that convert accurately. Thanks, Happy Coding! :)

...
Type
Question
12379 0
How to get month name from month number in C#?
In this short article, I have explained how you can get month name in C# easily in any format, using Datetime.
Type
Article

Page 8 of 31