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

radTree bug in edit grid

5 Answers 27 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
farsica
Top achievements
Rank 1
farsica asked on 03 May 2008, 06:56 AM
Hi dear Telerik support
I have some problems with RadTree.
I have a grid that on edit it used usercontrol mode, in my usercontrol I have a tree.I want all node of tree be expanded when it showed, but tree just show parent nodes and when I duble click on each node It show child nodes, is it posible to make this?
I found that this problem is only in rtl mode. if grid mode is Rtl , then in usercontrol page tree dosn't work cuurectlly.even we set direction of tree to ltr it dosn't work yet.I think problem is in script that tree generat

5 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 05 May 2008, 10:33 AM
Hi qaz wsx,

What about setting the Expanded properties of all TreeNodes to true? Thus, the nodes should be expanded when the tree is rendered.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
farsica
Top achievements
Rank 1
answered on 05 May 2008, 12:33 PM
Hi Nick.
I found that if I set Expanded  or Checked on prerender of page it work. problem is when I fill tree programatically on page load.in this mode I must set properties on page_prerender.
0
Nikolay
Telerik team
answered on 05 May 2008, 01:22 PM
Hi qaz wsx,

This is indeed weird. Is it acceptable for you to use the PreRender event of the page?

Kind regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
farsica
Top achievements
Rank 1
answered on 06 May 2008, 05:51 AM
I dosn't like to do that on Prerender but in this case I must do it, do you have another better idea?
0
Nikolay
Telerik team
answered on 06 May 2008, 07:15 AM
Hello qaz wsx,

Since the PreRender event works for you, I believe you should proceed this way. I don't have a better idea as I have not seen your code files. However, performing your logic in the PreRender should not cause any problems. If, however, some problems appear, please feel free to write to us.

Sincerely yours,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
farsica
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
farsica
Top achievements
Rank 1
Share this question
or