Yearly Archives: 2011

How to do ASP.NET MVC Pagination in 30 minutes?

I needed web content pagination in my ASP.NET MVC 3 project. I found few solutions on the web, but end up accessing the first two below. Telerik Telerik has ASP.NET MVC extensions which I think is free and cool. To

Tagged with: , ,
Posted in MVC

Keep you MVC Razor view DRY!

Always keep your view DRY (do not repeat). Suppose your website has any of the following, Top menu Left menu Right menu Or you have some HTML which is repeated in different view, then you could use the following, @Html.Partial(“ViewFile”)

Tagged with:
Posted in MVC