Latest posts on "asp.net MVC"

[Solved] CS1003: Syntax error, '>' expected

21 May 2016

When I run the application I got error “CS1003: Syntax error, '>' expected”. After that I realized the mistake because of semicolon (;) I put after the model class in the Index.cshtml view “@model MVC_tutorials.Models.Document;”

How to create word document file using asp.net MVC?

21 May 2016

In this step-by-step article descrbes how to create a MS word document file using asp.net. The sample code in this article demonstrates how to insert paragraphs with text programmatically.

How to create multiple fileUpload using asp.net MVC 4?

20 May 2016

In this article we will learn how to upload in asp.net MVC 4 application.To begin create an asp.net mvc project called mvc-tutorials and also create a class and name it as picture with a single propery name files with datatype

How to create single fileUpload using asp.net MVC 4?

20 May 2016

To begin create an asp.net mvc project called mvc-tutorials and also create a class and name it as picture with a single propery file with datatype HttpPostedFileBase.

[Solved]Complilation error: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

13 May 2016

It was happen when I was assigned value to a variable var desc = @Model.ShortDescription; so that it was happened afterwards I find out solution. I have assigned like this var desc = @Model.ShortDescription; then works fine. We do not need to use @ symbol.

How to make optional parameter in partial view using asp.net MVC?

8 May 2016

In this article we will discuss How to make optional parameter in partial view using asp.net MVC. We are using using partial view at many places with model. If some place no need of model that time we need to pass null.

How to export jQuery datatables to pdf in asp.net MVC?

7 May 2016

In this article we will discuss How to export jQuery datatables to pdf in asp.net MVC. The following example describes about datatables and exporting features. We can get the Tabletools flash swf file through cdn provides the ability to save pdf files. We will be using Population table.