I'm having a problem doing this (as in no code errors but still get postbacks).
I populate a RadTreeView programatically and when a node is clicked I want Ajax to kick in and change the ContentURL of a RadPane.
Can anyone see what I might be doing wrong in the code below (in green),
| protected void PopulateNavSites(RadTreeNode LASitesNode) |
| { |
| LASitesNode.Nodes.Clear(); |
| DataSet dsSites = Master.Services.Site.getAllSitesByLaName(Master.User.Username, LASitesNode.Value); |
| if (dsSites.Tables[0] != null) |
| { |
| foreach (DataRow Row in dsSites.Tables[0].Rows) |
| { |
| RadTreeNode Node = new RadTreeNode(); |
| Node.Text = Row["siteName"].ToString(); |
| Node.Value = Row["siteID"].ToString(); |
| Node.Attributes.Add("nodeType", "Site"); |
| PopulateNavSiteTools(Node); |
| LASitesNode.Nodes.Add(Node); |
| radAjaxManagerProxy.AjaxSettings.AddAjaxSetting(Node, radPaneContent, Master.radLoadingPanel); |
| } |
| } |
| } |