Hi Telerik team,
I'm working on RadTreeView structure.
In my Project i'm adding the treeview structure dynamically.Here for each radnode adding the imageurl ,font size ,Navigateurl and text property.My tree view is displayed with tree node which has the Image and text and for each node click i want to navigate to some other page with encrypted 'QueryString' value.Later in that page i can use the values available in 'Request.QueryString["--"]'.
Now my issue is ,when i'm clicking on image the functionality is working fine and the Querystring value is not null.But when i'm clicking on the text ,the query string is null and throwing an exception.
Please find the code below :
This is the declaration,
when node is clicked redirecting the page like below statement:
I'm working on RadTreeView structure.
In my Project i'm adding the treeview structure dynamically.Here for each radnode adding the imageurl ,font size ,Navigateurl and text property.My tree view is displayed with tree node which has the Image and text and for each node click i want to navigate to some other page with encrypted 'QueryString' value.Later in that page i can use the values available in 'Request.QueryString["--"]'.
Now my issue is ,when i'm clicking on image the functionality is working fine and the Querystring value is not null.But when i'm clicking on the text ,the query string is null and throwing an exception.
Please find the code below :
RadTreeNode node = new RadTreeNode("Mainnodename");
RadTreeNode
subnode = new RadTreeNode(sec.SectionName, sec.SectionId.ToString());
node.Nodes.Add(subnode);
subnode.Text = sec.SectionName.ToString();
subnode.ToolTip = sec.SectionName.ToString();
subnode.ImageUrl = sec.ImagePath;
subnode.NavigateUrl = sec.pagePath;This is the declaration,
when node is clicked redirecting the page like below statement:
Response.Redirect(e.Node.NavigateUrl.ToString() +
"?" + encryptedString, false);
Here encrypted string is the 'QueryString' value.
Please reply ASAP...
Thank you..