2275 1
Error - The ObjectContext instance has been disposed and can no longer be used for operations that require a connection

I am using this code in my asp.net MVC boilerplate application

...
Type
Question
asp.net C# System.ObjectDisposedException Entity-framework
2272 2
how to generate dynamic url using .NET MVC

I am creating new .NET MVC web apllication and to make it's url seo friendly i would like to create dynamic url's based on post title etc.
how can i do it in .NET MVC

Also i believe, i would have to change routing also using RouteConfig.cs 

Any help would be appreciated, thanks

...
Type
Question
.net MVC C# Seo
2112 2
Create dynamic month/year calendar attendance sheet in .NET MVC

Suppose I have a database table of 5 employees. I also have the attendance of those employees(Present and Absent data). I know how to use the fullcalendar.js. But what I want is, I want a fullcalendar esce monthly attendace sheet like below one with changable month and year. Is it possible?

...

Type
Question
asp.net mvc
2109 2
how to manage shopping cart sessions without login

In MVC - In E commerce - how to add products in add to cart without Login and managed this session after Login and also show those products which are added before Login Like Flipkart and Amazon.

its very urgent for me because my site is delay for this.

 

Regard's

Hemant Modi 

...
Type
Question
asp.net mvc sql javascript json
2069 2
Check if list contains a value using lambda and EF in MVC

I have an array of string values, now what I need is to filter the list of data based on matching each element of array with list, means need to select those list items which has typeId == SomeValueInTypeArray

Something like this

...
Type
Question
C# lambda lambda expression contains list how to use select in lambda expression linq

2067 0
Bind Data to Gridview using jQuery Ajax & WebMethod in ASP.NET
In this article, I have explained how to bind data to grid view using jQuery Ajax & web-method in asp.net step by step (no postback required)
Type
Article
ASP.NET GridView jquery ajax gridview example
2067 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
asp.net-mvc jQuery
2050 2
how to convert byte array into image?

How can I convert byte array into image using asp.net C#? I need to convert model into image for rendering it on MVC view


Thank you

...
Type
Question
asp.net C# byte-array image
2028 0
How to enable caching in IIS
Explains how to enable caching in IIS so that performance of website is improved by not requesting same content again
Type
Article
IIS Caching .NET
2022 0
Create Excel file using C# without using Office or Interop
In this article, I am going to explain you the procedure of generating excel (.xlsx) file using C# and EPPlus in ASP.NET MVC without using Microsoft office or Interop
Type
Article
MVC ASP.NET Create Excel using C#

Page 6 of 24