diffrence between .ascx i .cs

Joined
Aug 6, 2007
Messages
1
Reaction score
0
i have problem with display text : "My street & # 4 3 ;"in my textbox control When i do that in code behind in my page (i.e in some method tbxCompanyAddress.Text = "My street & # 4 3 ;" ) i receive the same text it means :"My street & # 4 3 ;" in textbox .But if i put that text not in behindcode but only in .ascx in text box property (<asp:TextBox ID="tbxCompanyAddress" Text="My street & # 4 3 ;".../>) i receive "My street +" which is requiered!. Why codebehind dosen't work? Please help. P.s There are white spaces between -> & # 4 3 ;<- to show what html entities is input.
 
Last edited:

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top