Issue regarding raddropdowntree [telerik]

2 posts, 0 answers
  1. ujjwal
    ujjwal avatar
    1 posts
    Member since:
    Nov 2014

    Posted 14 Nov 2014 Link to this post

    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.
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Nov 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top