Latest posts on tagged on "MVC"

What is TempData and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is TempData and how to use TempData in asp.net mvc. TempData is helpful to access or pass a data from one controller to another or one action to another. Here I demonstrate how to pass a value from one action to another.

What is ViewBag and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is ViewBag and how to use ViewBag in asp.net mvc. ViewBag is nothing but Collection of ViewData. It simplifies the syntax of ViewData. ViewBag use dynamic keyword of asp.net.

What is ViewData and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is ViewData and how to use ViewData in asp.net mvc. ViewData is nothing but transfer(to pass or access) a data from Controller to View. In asp.net we use ViewState for access a value anywhere in same web form. Here I am using ViewData like viewstate in asp.net.

[Solved] The network path was not found in asp.net MVC?

1 April 2016

In this Article, I have Describe how to resolve network path not found in asp.net mvc. Already I solved this kind of problem when I go through the project I have faced like this. This was solved by changing connection string in web.config file.

How to use RedirectToAction in asp.net MVC?

29 March 2016

In this Article, I explain how to use RedirectToAction in asp.net mvc. Why we use RedirectToAction?. For using RedirectToAction function we have to redirect your controller from one to another with different type of views.

What is Routing in asp.net mvc?

29 March 2016

Routing is nothing but simply your mvc url. What mean is that simply your url. for example some developers using some kinds of prefix name cls with class name and also given method name as their own idea.

How to open and close a popup in asp.net mvc using Jquery?

22 March 2016

In this article, I describe how to open popup in mvc using jquery. Here I am using jquery-ui.js and jquery-ui.css. Here I demonstrate with adding sales items. please refer these below link to add js and css file .

How to upload a file in asp.net mvc?

22 March 2016

In this article, I describe how to upload a file in mvc. Here I am using normal html input statement to upload a file, in this input control use type as file and use form post method in html beginform.

How to find T4 Template file path in Asp.net MVC?

17 March 2016

In this articles describes how to find t4 template file path in Asp.net MVC. Here I found some solution to find the location of t4 template(in build views). In my system I have used visual studio 2012, this location depends upon the visual studio versions