1333 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
1293 0
Paging in Bootstrap pop-up Modal in ASP.NET MVC
In this article, I am going to provide you step by step procedure to implement paging in bootstrap pop-up modal in ASP.NET MVC
Type
Article
ASP.NET MVC paging in bootstrap pop-up modal
1267 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
1266 1
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
asp.net-mvc jquery
1238 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

1233 1
No parameterless constructor defined for this object.

Hi, i am getting this issue while running a page in MVC, it was working fine previously, but i now i am getting the error as below

...
Type
Question
C# asp-net No parameterless constructor
1233 1
How to Leverage browser caching for my CSS and js files.

How to Leverage browser caching for my CSS and js files?

...
Type
Question
asp.net IIS javascript CSS
1228 0
How to Populate (Bind) Dropdown list using jQuery AJAX in ASP.NET
In this article, I am going to provide you an example of how to populate or Bind dropdown list using jQuery AJAX & JSON in ASP.NET web-forms and database.
Type
Article
ASP.NET Populate (Bind) ASP.Net DropDownList using jQuery AJAX
1227 2
This request has been blocked because sensitive information could be disclosed...ASP.NET JSON Return error?

Hi, I am trying to load data in Asp.NET MVC using JsonResult as return type to load rows in jQuery datatable server-side processing, but I am getting this error

This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.]

So why I am getting this issue and how can I resolve it?

Here is my partial C# code

...
Type
Question
asp.net-mvc JSON JsonResult http-get
1202 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 22