markgrizzle
Programmer
Hi,
My page_1 allows you to look up data with listbox_1. I needed to pass listbox_1.SelectedValue to page_2 so I added an id variable to the page_2 url like page_2.aspx?id = 123.Page_2 loads, sees the variable, sets listbox_2.SelectedValue to the right value, and refreshes the textbox.
But when I try to edit record data on page_2, the update procedure doesn't see the new value I entered in the textbox, and I can't click another row in listbox_2 either. It defaults back to the selected value I passed from page_1.
I think it's related to the variable in the url, since everything worked before I made the change. Can anyone point me in the right direction? I understand I can probably use session variables and/or master pages, but I'm new to this, and would ideally like a simple solution to finish this project.
Thanks in advance,
Mark
My page_1 allows you to look up data with listbox_1. I needed to pass listbox_1.SelectedValue to page_2 so I added an id variable to the page_2 url like page_2.aspx?id = 123.Page_2 loads, sees the variable, sets listbox_2.SelectedValue to the right value, and refreshes the textbox.
But when I try to edit record data on page_2, the update procedure doesn't see the new value I entered in the textbox, and I can't click another row in listbox_2 either. It defaults back to the selected value I passed from page_1.
I think it's related to the variable in the url, since everything worked before I made the change. Can anyone point me in the right direction? I understand I can probably use session variables and/or master pages, but I'm new to this, and would ideally like a simple solution to finish this project.
Thanks in advance,
Mark