TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Jquery using Cascading Dropdownlist Sample with database using ASP.NET
Dhaval Patel
Nov 19, 2012
15.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Here I will explain how to use Jquery cascading dropdownlist with database using ASP.NET.
CascadingDDL.zip
Introduction
Description :
I already explained how to populate dropdown based on another dropdown but now why I am explaining about this using Jquery for fetch data from webservice.
Here I will explain with two dropdowns State dropdown, City dropdown.and data will be manually fetch webservice using generic.How to Jquery work in this application see details.
Jquery Script
Design Page
After that design your aspx page like this
Web.config
Add webservice in web.config file in appsettings.
Webservice Namespace
After that add one new webservice page to your application and following namcespaces in your webservice code behind page
Web services :
After completion of writing namespaces and write the following code in webservice page
Demo
And last this application ‘s output is looks like this
Jquery using Cascading Dropdownlist Sample with database using ASP.NET
Next Recommended Reading
MultiSelect DropDownList With CheckBoxes In ASP.Net With C# And VB.NET Using jQuery Plugin