Results 1 to 2 of 2

Thread: Javascript:Populate .net dropdown

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Javascript:Populate .net dropdown

    I have a .net radiobutton list with 2 options.

    If the user clicks on rad1 then bindcombo1() method is called else bindmethod2() is called. This all works fine but the client has now asked that the process avoids the round trip meaning that I will have to perform this operation in javascript.

    Javscript and .net I struggle with and was wondering if you could give me a hand.

    Is it possible to populate a .net sropdown with javascript and if so how ?

    Thanks in Advance

    Parksie

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    On the JavaScript side, the .Net dropdown is just a set of HTML tags. It's certainly possible to populate it, but the exact manner depends on how the .Net dropdown is converted to HTML.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width