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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top