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

Issue regarding raddropdowntree [telerik]

1 Answer 33 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
ujjwal
Top achievements
Rank 1
ujjwal asked on 15 Nov 2014, 05:28 AM
hello There,
I just struck in the Issue regarding raddropdowntree [telerik]. I just used raddropdowntree to get the tree like structure within the combobox .I am unable to get the 'selectedValue' and 'selectedText' properties.I am using the 2013.1.220.45 version.I had purchased the Telerik RadControls.Do i have to upgrade the version.if so ,do i again have to pay for upgradation.

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 19 Nov 2014, 04:16 PM
Hi,

Here is how you can do that on the client:

<script>
    function OnClientEntryAdded(sender, args) {
        alert(args.get_entry().get_text());
    }
</script>
<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
<telerik:RadDropDownTree runat="server" ID="RadDropDownTree1" OnClientEntryAdded="OnClientEntryAdded"  ></telerik:RadDropDownTree>

and the server:

<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
   <telerik:RadDropDownTree runat="server" ID="RadDropDownTree1" OnEntryAdded="RadDropDownTree1_EntryAdded" ></telerik:RadDropDownTree>
protected void RadDropDownTree1_EntryAdded(object sender, DropDownTreeEntryEventArgs e)
{
    string selectedEntryText = e.Entry.Text;
}

I hope this helps. 

For any questions related to purchasing and upgrading please contact our Sales Team:
http://www.telerik.com/purchase.aspx


Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DropDownTree
Asked by
ujjwal
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or