This is a migrated thread and some comments may be shown as answers.

Dynamic NavigateUrl

1 Answer 15 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 23 Jun 2016, 11:03 PM

Is there some way to add a QueryString to the NavigateUrl parameter of a NavigationNode like ?ClientID=123

each node in my navigation needs to have the QS appended when the web form based on a master page that contains the <RadNavigation/> loads for a new client

I was thinking the codebehind of the .master could modify the NavigateUrl of each node?

1 Answer, 1 is accepted

Sort by
0
david
Top achievements
Rank 1
answered on 23 Jun 2016, 11:51 PM

duh

 

string QS = "?ClientID=" + Request.QueryString["ClientID"];
        NavigationNode node = new NavigationNode("Info", "page.aspx" + QS);
        RadNavigation1.Nodes.Add(node);

Tags
Navigation
Asked by
david
Top achievements
Rank 1
Answers by
david
Top achievements
Rank 1
Share this question
or