I
have been asked this question many times that ‘how to populate/activate selected
value/item (which I selected while inserting/adding new record) in Edit/Update
mode’. I’m going to address few possible approaches here.
Friday, 10 May 2013
Three ways to populate selected value in DropDownList on Edit or Update views - MVC
Monday, 22 April 2013
Book Review: Visual Studio 2012 and .NET 4.5 Expert Development Cookbook
In
this post you will find my review notes and links to purchase this book. I am
feeling very proud to be the reviewer of this book and will recommend everyone
to purchase it.
Sunday, 21 April 2013
Populate Selected Item in DropDownList in Edit Mode MVC
Within
last few days I received many questions on this title, so I decided to address
this by a new blog entry. I am going to show you the best possible way to
achieve this using Code First approach. Here is what we are going to achieve.
Thursday, 18 April 2013
Nested Collection Models in MVC to Add Multiple Phone Numbers - Part 3
This
is Part 3 of the article series. Actually, in
this article series we were developing an MVC application that will allow
adding multiple phone numbers using Nested Model concept. User will be able to
add or remove (zero or more phone numbers, I need minimum two phone numbers for
each employee) phone numbers for any single employee.
Tuesday, 16 April 2013
Using Microsoft SQL Server Management Studio to connect SQL Azure databases
In
this article you will learn how to connect SQL Azure database from SQL Server
Management Studio.
Friday, 12 April 2013
Nested Collection Models in MVC to Add Multiple Phone Numbers - Part 2
This
is Part 2 of the article series. Actually, in this article series we were developing an MVC application that will allow adding multiple phone numbers using Nested Model Concept. User will be able to add or remove (zero or more phone numbers, I need minimum two phone numbers for each employee) phone numbers for any single employee.
Wednesday, 10 April 2013
Nested Collection Models in MVC to Add Multiple Phone Numbers - Part 1
In
this article series, you will learn how to create MVC application
that will allow adding multiple phone numbers using Nested Model Concept. User
will be able to add or remove (zero or more phone numbers, I need minimum two phone numbers for each employee) phone numbers for any single
employee. Also in later posts, I will show you how to List, Edit, Delete record(s) in such nested (relational) models concept. Here is the first look of the concept.
Tuesday, 12 March 2013
Area in MVC - giving a nice physical structure & dealing with template bug
In
my last blog post I talked about ‘retrieving views from different folders in MVC’
and it works cool when we want view pages always inside Views folder (which is
on the project root) but our requirement not ends here.
Retrieve Views from Different Folders in MVC
In this post
you will learn how to retrieve the views which is inside another folder. For
example a view which is inside folder Views|Application|General|Index.cshtml. How
will you map it or use it from controller? Is this possible?
Subscribe to:
Posts (Atom)