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

Keep DropdownTree Open Always

2 Answers 35 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
derek
Top achievements
Rank 2
derek asked on 20 Aug 2015, 04:13 PM

Is there a way to keep the DropdownTree open at all times - i dont not want to have it close when i click somewhere else on the page.  I have it open on load now.

I'm trying to have a user click on the node and have that node text populate in a textbox where the user can update the text.  Everytime i click on the textbox the tree closes.  Thanks :)

   <telerik:RadDropDowntree ID="RadDropDownTest"      TextMode="FullPath" ExpandNodeOnSingleClick="true"
                        OnClientEntryAdding="OnClientEntryAdding" OnClientEntryAdded="OnClientEntryAdded" OnClientEntryRemoved="OnClientEntryRemoved"  Skin="Office2007" runat="server" Width="450px"  DropDownSettings-Height="200px" DefaultMessage="Select Rubric Description"
                                >
                            <DropDownSettings Width="450px" OpenDropDownOnLoad="true"   CloseDropDownOnSelection="false" />
                            <ButtonSettings ShowCheckAll="false" ShowClear="true" />
                                <Localization Clear="Clear All" />
                                               
                        </telerik:RadDropDowntree>‚Äč

2 Answers, 1 is accepted

Sort by
0
Aneliya Petkova
Telerik team
answered on 21 Aug 2015, 01:21 PM
Hi derek,

I would suggest you to cancel the OnClientDropDownClosing event:
function OnClientDropDownClosing(sender, eventArgs) {
    eventArgs.set_cancel(true);
}

Regards,
Aneliya Petkova
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
derek
Top achievements
Rank 2
answered on 21 Aug 2015, 01:42 PM
Perfect thanks.
Tags
DropDownTree
Asked by
derek
Top achievements
Rank 2
Answers by
Aneliya Petkova
Telerik team
derek
Top achievements
Rank 2
Share this question
or