Even it works with blog post as well...
Thats it upon rendering the submitted text, the page renderes the complete html (text) in reverse order from right to left including scroll bars.
To avoid this behaviour the entered text should be encoded while submitting and should not be decoded while rendering (if decoded the page again renders the style tag instead text.
To encode the entered text use the below code statement in the business-logic.
using System.Web; HttpContext.Current.Server.HtmlEncode(tbExtension.Text.Trim());
No comments:
Post a Comment