Query String. How to create it?
-
Hello, I have a control where MyControl.NavigateUrl = "~/RSS.ashx?Channel=News&Culture=pt-PT". When I preview the web page the hyperlink becomes: "...RSS.ashx" The Channel and Culture just disappeared. I tried many combinations and I allways get a truncate Query String somewhere in it. Could somebody tell me what is going on here and how to solve this? Should I change something in my Web.Config? Thanks, Miguel
-
Hello, I have a control where MyControl.NavigateUrl = "~/RSS.ashx?Channel=News&Culture=pt-PT". When I preview the web page the hyperlink becomes: "...RSS.ashx" The Channel and Culture just disappeared. I tried many combinations and I allways get a truncate Query String somewhere in it. Could somebody tell me what is going on here and how to solve this? Should I change something in my Web.Config? Thanks, Miguel
Try giving path name like this "../RSS.ashx?Channel=News&Culture=pt-PT". or "//RSS.ashx?Channel=News&Culture=pt-PT". or if possible give the full path.Don't use this symbol "~"