How to refresh/repopulate the Dropdown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hamayun Khan
    New Member
    • Aug 2007
    • 106

    How to refresh/repopulate the Dropdown

    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
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by Hamayun Khan
    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 CascadingDropDo wnListExtender.
    Build web apps and services that run on Windows, Linux, and macOS using C#, HTML, CSS, and JavaScript. Get started for free on Windows, Linux, or macOS.


    Nathan

    Comment

    • Hamayun Khan
      New Member
      • Aug 2007
      • 106

      #3
      Thanks for ur Help.
      Hamayun.

      Comment

      • Hamayun Khan
        New Member
        • Aug 2007
        • 106

        #4
        Hi

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

        thanks

        Comment

        • nateraaaa
          Recognized Expert Contributor
          • May 2007
          • 664

          #5
          Originally posted by Hamayun Khan
          Hi

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

          thanks
          Build web apps and services that run on Windows, Linux, and macOS using C#, HTML, CSS, and JavaScript. Get started for free on Windows, Linux, or macOS.

          Comment

          • Hamayun Khan
            New Member
            • Aug 2007
            • 106

            #6
            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 'ajaxcontroltoo lkit path/templatevsi.csp roj' is not installed.
            When i open the Ajaxcontroltool kit.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.microso ft.com/developer/msbuild/2003' has invalid child element 'SccProjectName ' in namespace 'http://schemas.microso ft.com/developer/msbuild/2003'. List of possible elements expected: 'Property' in namespace 'http://schemas.microso ft.com/developer/msbuild/2003'. C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\Ajax Control Kit\AjaxControl Toolkit\AjaxCon trolToolkit.csp roj 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

            Comment

            Working...