D
djc
1) I just recently used my own function which simply replaces cariage return
/ line feed characters with <br> tags for a large detail field before
showing it via an asp.net page to preserve line breaks for web display.
I have since come accross this URLEncode method. Is this something that I
should have used for this instead?
2) currently if you were to enter html tags into an input field on my
asp.net web page the app will crash... I know this is by design for security
reasons and if I don't require html tags being input I should just trap this
error and handle it.
What if I wanted to allow the html tags to be input? (URLEncode?).
any info would be appreciated. Thanks.
/ line feed characters with <br> tags for a large detail field before
showing it via an asp.net page to preserve line breaks for web display.
I have since come accross this URLEncode method. Is this something that I
should have used for this instead?
2) currently if you were to enter html tags into an input field on my
asp.net web page the app will crash... I know this is by design for security
reasons and if I don't require html tags being input I should just trap this
error and handle it.
What if I wanted to allow the html tags to be input? (URLEncode?).
any info would be appreciated. Thanks.