Quantcast
Channel: amitpatelit » MVC
Browsing latest articles
Browse All 11 View Live

Image may be NSFW.
Clik here to view.

Custom validation in MVC application

In MVC for adding a validation there is need to set attributes and there are few inbuilt validation attributes related classes are available and based on that we can set validation. But in practical...

View Article


Image may be NSFW.
Clik here to view.

Add Service layer in MVC

Create Service Layer from MVC In MVC + Entity framework has certain change is that how can we introduce service layer or any code level business layer which responsible to data management with executes...

View Article


Image may be NSFW.
Clik here to view.

Execute Store procedure in Entity framework

In MVC application generally we are using entity frame work (dbcontext) to manage and retrieve database related operation, but in some case suppose we have few complex logic for that need to write...

View Article

Image may be NSFW.
Clik here to view.

Crystal Reports in MVC

Below are the code for implement crystal reports in MVC with support of export to PDF and Excel format. MVC rajor/aspx pages is not supporting report viewer so that is not possible to place report...

View Article

Image may be NSFW.
Clik here to view.

URL Encryption in MVC Application

In any web application there are always security related problem occurs when user change something in URL’s value. Like in URL sending passing any id in navigation from one page to other page to...

View Article


Image may be NSFW.
Clik here to view.

Add any customize text in crystal reports by .net code

In my requirement I have to show few search parameter in crystal reports which is passed from aspx page. And that is not hard coded fixed because I have 10-15 parameters and I want to place it...

View Article

Image may be NSFW.
Clik here to view.

Redirection by AJAX request in MVC application.

This article is basically for MVC developer whom is using AJAX in their application. Problem: In my application I have created common login control (partial view) that I have used in various places but...

View Article

Image may be NSFW.
Clik here to view.

In MVC controller returns rendered html

In MVC development sometime developers need to get rendered html code from controller’s action method. In my one of the requirement I am updating page’s specific portion by java script by json method,...

View Article


Image may be NSFW.
Clik here to view.

Bind cascading dropdown by ajax/json in MVC application

An Asp.net MVC developer can use this code to bind cascading drop down by ajax/json . Let’s say we have country drop down. When user selects country, states of selected country will be filled by json....

View Article


Image may be NSFW.
Clik here to view.

Export to Excel in asp.net MVC

In a scenario comes on asp.net MVC application comes where user need to export in excel , csv, xml file by asp.net MVC application as tabular data. So on export button form will be submitted and...

View Article
Browsing latest articles
Browse All 11 View Live