Android Link Error Web Page Not Available Asp .net
Solution 1:
I've tried this in the Dolphin browser on Android and that link opens fine. I see a survey relating to red lights. This may therefore be an issue with the specific Android device you tested on, but I think both the cause and the fix are under your control.
Certainly one big problem here is the URL format. Your URL query string parameter xtitle is set to a string that contains % characters. The % character has a special meaning in URLs, it means the following two characters form a HEX character code. So for example if you had xtitle=cat%20and%20dog that sets the xtitle string to "cat and dog" because %20 is the hex encoding for a space character (ASCII character 20).
Your URL is invalid and does not conform the the RFC definition, so it is not reasonable to expect it to work across all browser. I am surprised it works at all in any browser as it completely is wrong - you cannot put any string into a URL parameter, it must be processed first.
You need to properly encode your query string parameters before you add them to the URL string. There is a method in ASP.NET to URL encode a string before you add it to a parameter. http://msdn.microsoft.com/en-us/library/zttxte6w.aspx
For more information about the URL standard look here: http://en.wikipedia.org/wiki/Query_string http://en.wikipedia.org/wiki/Uniform_Resource_Locator
Please rate all answers to questions you post on here, and select the answer you like best with the tick.
Post a Comment for "Android Link Error Web Page Not Available Asp .net"