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

on-demand loaded non-Checkable nodes

3 Answers 74 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 07 Nov 2008, 03:27 PM
Hello

I load nodes on-demand using a webservice into a radtreeview where some nodes should not be checkable. The RadTreeNodeData class does not have a Checkable property but I am using my own specilaized class where I have a "Checkable" member:

[Serializable]
  public class TreeNodeData
  {
    public string Text;
    public string Value;
    public int ExpandMode; //Telerik.Web.UI.TreeNodeExpandMode
    public bool Checkable;
  }

This does not work, all nodes are always checkable. Is there a way to on-demand load nodes that are not checkable?

regards

Tomas Särnhammar

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 10 Nov 2008, 10:51 AM
Hi Tomas,

I tried to reproduce the issue as you described it but to no success - Nodes received their Checkable property properly from the Web Service. I also used Telerik.Web.UI version 2008.3.1105.

Could you check whether your version is the latest?

Thank you in advance for your co-operation.

Sincerely yours,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Meaning Of Lights
Top achievements
Rank 2
answered on 11 Nov 2008, 05:19 AM
ok this fix works for the Checked property as well.
0
Tomas
Top achievements
Rank 1
answered on 11 Nov 2008, 03:51 PM
We used the 2008.2 release, and now after a trickier-than-it-should-be update to 2008.3 the Checkable property does indeed work.

You have added a dependency on a custom JQuery. I do not approve of that :-). I am doing some trickery to be able to create RadTreeViews client-side, so including all scripts in the right order became non-trivial i this case.

thanks

Tomas Särnhammar
Tags
TreeView
Asked by
Tomas
Top achievements
Rank 1
Answers by
Simon
Telerik team
Meaning Of Lights
Top achievements
Rank 2
Tomas
Top achievements
Rank 1
Share this question
or