hi,I am having a problem of redirecting when the user presses the Enter key as one of the things in the remarks textbox. When the user hits enter key I want to just ignore and submit whatever is keyed in. How do I do that?
Dim query As String = Request.Url.Query.Substring(0, Request.Url.Query.LastIndexOf("&"))
query += "&remarks=" & Trim(remarksTxt.Text)
query = "monthLyreport.aspx" & query
somebody recommended this b4 redirecting.....
query = HttpUtility.UrlEncode(query)
but this results in my URL being
? is replaced by %3f
& is replaced by %26
= is replaced by %3d
Thanks in advance