refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalini166
    New Member
    • Apr 2008
    • 70

    refresh

    I have one dropdownlist1 which contain (India,Australi a,Pakistan)

    I have another dropdownlist2

    selectedIndexch angeevent

    I write the code in selectedindexch anged event

    when i choose india from dropdownlist1 then

    dropdownlist2 will display tamilnadu,karna taka,kerala.... ......

    when i choose Pakistan from dropdownlist1 then

    dropdownlist2 will display rawalpindi,laho re,.....

    but my dropdownlist2 display tamilnadu,karna taka,keral,rawa lpindi,lahore


    it append with last add item of dropdownlist2


    pls help me today itself if anyone know
  • kunal pawar
    Contributor
    • Oct 2007
    • 297

    #2
    in selectedIndexch angeevent before fill items in second drop down clear item list
    using
    drodown2.Items. clear()

    Comment

    • malav123
      New Member
      • Feb 2008
      • 217

      #3
      Hi,
      Also use the condition of page postback....

      Comment

      • shalini166
        New Member
        • Apr 2008
        • 70

        #4
        Originally posted by malav123
        Hi,
        Also use the condition of page postback....
        thank u for ur valuable answer.hope it will help for me.

        Comment

        • malav123
          New Member
          • Feb 2008
          • 217

          #5
          Originally posted by shalini166
          thank u for ur valuable answer.hope it will help for me.
          It's glad if your problem be solved....

          Comment

          • malav123
            New Member
            • Feb 2008
            • 217

            #6
            Hi,
            So have your problem solved or not ???

            Comment

            Working...