I get this URL "R+C%20Seetransport%20Hamburg" passing the query string using Javascript , but i need to get the URL in this format "R%2bC+Seetransport+Hamburg" using C#
Code Used:
var listname = $(this).text();
var listname1 = listname.trim();
// var senderElement = e.target;
var afullUrl = '<%=SPContext.Current.Web.Url%>';
var aurl = afullUrl + "/_Layouts/15/RUM/View_Details.aspx?List_Name="+listname1;
window.location = aurl;