473,395 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to refresh/repopulate the Dropdown

106 100+
Hi

Basically I m PHP developer but Now i have project in asp.net 2005. I m new to ASP.NET 2005. Even I have no experience of the earlier versions of asp.net.
At this point I need some help for my registration page.

In my registration page I have a dropdown populated from database. there is another dropdown populated from database based on the selected value from the first one. The first time when page is loaded both the dropdowns are populated successfully. Now what i want is that when I select next value from the first dropdown then the second one must repopulate based on selected value. I don't want to post back the page but only want to refresh the specific area.

looking forward for help.
Thanks
Mar 7 '08 #1
5 2118
nateraaaa
663 Expert 512MB
Hi

Basically I m PHP developer but Now i have project in asp.net 2005. I m new to ASP.NET 2005. Even I have no experience of the earlier versions of asp.net.
At this point I need some help for my registration page.

In my registration page I have a dropdown populated from database. there is another dropdown populated from database based on the selected value from the first one. The first time when page is loaded both the dropdowns are populated successfully. Now what i want is that when I select next value from the first dropdown then the second one must repopulate based on selected value. I don't want to post back the page but only want to refresh the specific area.

looking forward for help.
Thanks
If you are wanting a partial page update then AJAX or Javascript are the ways to achieve that. I would lean toward using AJAX because of the readily available controls in the AJAX control toolkit.

See the following video tutorial on how to use the AJAX CascadingDropDownListExtender.
http://www.asp.net/learn/ajax-videos/video-77.aspx

Nathan
Mar 7 '08 #2
Hamayun Khan
106 100+
Thanks for ur Help.
Hamayun.
Mar 10 '08 #3
Hamayun Khan
106 100+
Hi

I download the video. But now how i can install ajax control tool kit for asp.net 2.0 (2005)

thanks
Mar 13 '08 #4
nateraaaa
663 Expert 512MB
Hi

I download the video. But now how i can install ajax control tool kit for asp.net 2.0 (2005)

thanks
http://www.asp.net/learn/ajax-videos/
Mar 13 '08 #5
Hamayun Khan
106 100+
I m using Visual Web Developer 2005
when I try to run the ajax control tool kit solution. I get the following error

the application for the project 'ajaxcontroltoolkit path/templatevsi.csproj' is not installed.
When i open the Ajaxcontroltoolkit.csproj in text mode the following line

<SccProjectName></SccProjectName>

show SccProjectName underline in blue _ _ _ _ _ _ _ _ _

and show the following error

Warning 1 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'SccProjectName' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\Ajax Control Kit\AjaxControlToolkit\AjaxControlToolkit.csproj 13 6 Miscellaneous Files

what is the problem I don't understand. I have no experience of ASP.NET. I have started ASP.NET just month before


Thanks for help
Mar 14 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Christer Alkerud | last post by:
Hi I hope anyone can give me a hint how to continue I have an ASP page containing 3 list boxes. When the page is opened the list boxes are populated with some default values from a...
2
by: Patrick | last post by:
Hello, I have a drop down list that when a value is selected the page refreshes itself but the selected value changes back to the default value. I would like to keep the selected value after the...
3
by: Brian Basquille | last post by:
Hey there all, Fairly easy question for a C# expert, i assume! Am still working on my Photo Album. On frmBrowsePhotos, i have a listBox (photosList) containing photoID's from a table in an...
4
by: TaeHo Yoo | last post by:
I have two dropdown list(ie State and Region) that are populated with data from database. I want to repopulate the second dropdown list(Region) according to what state user has selected without...
3
by: Matt | last post by:
Is there a way to execute server code without doing a complete page refresh in .Net? I have an ASP page to convert that uses XMLHTTP and I'm wondering if I should continue to use it in ASPX or do...
0
by: theintrepidfox | last post by:
Dear Group I really need your help on this issue. I've a datagrid which source is a dataview based on a dataset. The columns of the grid are datagridtextbox columns created like the following...
0
by: cindy | last post by:
I have a dynamic datagrid. I have custom classes for the controls public class CreateEditItemTemplateDDL : ITemplate { DataTable dtBind; string strddlName; string strSelectedID; string...
9
by: preetksaini | last post by:
hi i am having a page in which i have 3 dropdowns,values of 2nd dropdown comes based on 1st and values of 3rd dropdown come based on 2nd.using AJAX+PHP to load dropdowns. but whenever i refresh...
1
by: rashijain | last post by:
hi m new in working wid .NET(C#), In my page I have a dropdown populated from database. there is another dropdown populated from database based on the selected value from the first one. The first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.