Hi,
I have a page where users enter requests. There is a dropdownlist box,
a text box and a submit button.
What I want to do is have a list of the requests made appear beneath
this form. I want the list to load on the page_load event and be
refreshed on the button onClick event.
Right now I have the list load on the page load event, but the only way
I can get it to refresh is to put in a response redirect to the same
page on the button click event to refresh the page load. Originally I
tried loading the confirm list on the button click event only, but the
list would only show the last request entered after two request entries
(i.e., there is a lag - for example: submit request 1, list doesn't
change; submit request 2, list updates to show request 1 submitted but
not request 2).
I don't know what to do, but I don't want to reload the page every time
to update the list. Should I load the list in both the page_load event
and onClick event and bind to the same DataList? Any suggestions/advice
would be much appreciated.
Thanks,
John