Hi,
I have 4 webtextedit buttons. in the server i am putting the value from the server to the webtext on page load.. please see the follwing code.
this.txtEmail.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["EmailID"]).Trim();this.txtCompany.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["Company"]).Trim();
this.txtAddress.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["address"]).Trim();this.txtPhone.Text = Convert.ToString(ds_UserDetails.Tables[0].Rows[0]["phone"]).Trim();
when binding i am getting an error "Unterminated String Constant". when using normal asp:testbox i am not getting this error. i want to use webtextedit button only. Can someone please help me out on solving this issue?
What are the values being assigned to the .Text values?
The values that are passed to the text is of string type.. for ex
email = "test@test.com"
Company = "ABC Corp"
Address = "1234, P.Street"
Phone = "123-345-4567"
these are the values that are passed from database.
Thanks
Jollyguy
I tried out the strings provided and I didn't get any exceptions.
If you could determine which string causes the error, you should report it to Developer Support.