I want to add some links to Quicklaunch bar. The link needs to have query string parameters, eg.: /sites/project/default.aspx?mode=filter
string url = "/sites/project/default.aspx?mode=filter";
string title = "Filter";
SPNavigationNodeCollection quickLaunch = web.Navigation.QuickLaunch;
SPNavigationNode newnode = new SPNavigationNode(title, url, false);
web.Navigation.QuickLaunch.AddAsLast(newnode);
Unfortunatelly, this code adds quicklaunch link without the parameter, ie.: /sites/project/default.aspx
.
What is correct way to add link with params from code?