Submit erases textbox content....

  • Thread starter Thread starter george d lake
  • Start date Start date
G

george d lake

Hi,
I have a textbox and a listbox in a User Control
When I click on a line in the listbox I populate the text box. This
works perfect.
No, on the page that has the UC in it, I also have a submit button. When
I press submit, the textbox gets cleared, but if I enter something again and
re submit I does not erase it.

Any ideas?
 
Make sure that you are allowing viewstate for the user
control and the page. Also, check your html of the page
that contains the user control. Make sure it is inside of
the <form></form> tags. These are just wild guesses.

HTH
 
Back
Top