Hi, it could be simple, but i am unable to do that,
I have 2 dropdownlist control in a form.
When i will click on dropdownlist1, - data will show in Dropdown2.
After running the programm, when i first click on Dropdown1 , - related record is showing in Dropdown2 ( which is fine)
now problem is : if i click AGain on Dropdown1 -- > Data will repeat at dropdown2 ( it will show the First click record + SEcond click record), 2nd dropdown is not clearning the first records it got from First click (dropdown1)
i want to clear the dropdown 2 when user will click again at dropdown 1.
Exampl : when i first click on dropdownlist 1 -- in dropdownlist 2 it will show 1. printer , 2. Paper
Again - when i will click on dropdownlist1 -- in dropdownlist2, it should show - 1. Pen 2. Book
but instead of showing , pen and book, it will show , 1.printer 2.paper 3.pen 4.book
how shall i clear previous data in dropdownlist ?