J
jm
I have a dropdownlist on my form.
When I first load the page no PostBack, the ddl loads fine.
When I create a brand new order (INSERT, etc), the same ddl is
supposed to be populated with new values. And it does show on the
screen the newly populated ddl.
It LOOKS fine. I was having various problems so I looked at the view
source for the page. I found in the page that the ddl has the OLD
values from when the page was first loaded, BUT it has the NEW values
that I just loaded it with on the screen.
In other words, the HTML in the source is different from the visible
page, which makes no sense at all.
I am not refreshing ANY of the ddl when it is not postback; I only do
that on the initial visit to the page and change the ddl when a new
order id is created. It simply displays the new values on the page,
but has totally different values in the source (and the displayed
values are no where in the code).
Any ideas? Thank you.
When I first load the page no PostBack, the ddl loads fine.
When I create a brand new order (INSERT, etc), the same ddl is
supposed to be populated with new values. And it does show on the
screen the newly populated ddl.
It LOOKS fine. I was having various problems so I looked at the view
source for the page. I found in the page that the ddl has the OLD
values from when the page was first loaded, BUT it has the NEW values
that I just loaded it with on the screen.
In other words, the HTML in the source is different from the visible
page, which makes no sense at all.
I am not refreshing ANY of the ddl when it is not postback; I only do
that on the initial visit to the page and change the ddl when a new
order id is created. It simply displays the new values on the page,
but has totally different values in the source (and the displayed
values are no where in the code).
Any ideas? Thank you.