Buy Questpond's video subscriptions on
huge discount
.
Online: 3926
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
How to work with cascading dropdown list using Linq to sql in MVC3
Posted by
Sampath1750
under
ASP.NET
on 2/29/2012 |
Points: 10
| Views : 6186 | Status :
[Member]
| Replies : 3
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi all,
Can anybody tell me How to work with cascading dropdown list using Linq to sql in MVC3.(if possible give me code) or
How to change 2nd ddl values After selecting first dropdownlist
Thanks,
Sampath bejugama
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Vuyiswamb
on: 3/1/2012
[Member]
[MVP]
[Administrator]
NotApplicable
|
Points: 25
0
The idea is Simple
e.g Dropdown 1 must retrieve the "Employee"
The Query must bring all the Users and bind to the First Dropdown and on SelectedindexChanged Event you must get the selected ID of the User and Return e.g users Department
e.g Dropdown2 must return a Department that the Employee belongs to
Same as above , get a Department based on the EmployeeID
and so on...
Thank you for posting at Dotnetfunda
[Administrator]
Sampath1750
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Sampath1750
on: 3/1/2012
[Member]
Starter
|
Points: 25
0
Hi Vuyiswamb,
In MVC3 selected Index changed is not available
Sampath1750
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Vuyiswamb
on: 3/1/2012
[Member]
[MVP]
[Administrator]
NotApplicable
|
Points: 25
0
try this
http://weblogs.asp.net/raduenuca/archive/2011/03/06/asp-net-mvc-cascading-dropdown-lists-tutorial-part-1-defining-the-problem-and-the-context.aspx
http://weblogs.asp.net/rajbk/archive/2010/05/20/cascadingdropdown-jquery-plugin-for-asp-net-mvc.aspx
Thank you for posting at Dotnetfunda
[Administrator]
Sampath1750
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...