asp:Textbox Initialization problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

I have a asp:TextBox ID="txtMemo"....... I need to initialize this as
this.txtMemo.Text = string.Empty. This initialization should not effect the
new value that I am assigning to this TextBox when a memo value is not found
in the database. What's happening is that if I write this initialization
routine, it clears the new memo value that I just added when a memo was not
found.

Any ideas would is greatly appreciated..
 
Hi SDRoy,

In which event are you running the piece of code that sets the text to
String.Empty?

a.
 
Back
Top