Hi everyone,
I am populating a dropdownlist based on the selection from another dorpdownlist. As long as there is no postback happening, I see the list getting populated correctly but after a postback, my dropdownlist is empty.
I am setting the DataValueField property of the ddl that I populate at runtime and the ViewStateMode for that ddl is set to Enabled.
Does anyone know what could be the reason?
Karineh_1
0
Newbie Poster
Recommended Answers
Jump to PostIt would help to see your code. Its challenging to guess what is happening based on a description.
after a postback, my dropdownlist is empty.
Are you doing something to clear the dropdown at page_load? If you are building the drop down at page load, you may want …
All 3 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
geniusvishal
-1
~Coder~
Karineh_1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.