Select node vaule dropdowntree from server side

2 posts, 0 answers
  1. Santosh
    Santosh avatar
    5 posts
    Member since:
    May 2014

    Posted 09 May 2014 Link to this post

    I want Select node value of dropdowntree at server side 
    for that I used dropdowntree.selectedvalue,dropdowntree.selectedvalue but it is not working
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 May 2014 in reply to Santosh Link to this post

    Hi Santosh,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

    ASPX:
    <telerik:RadDropDownTree ID="raddroptreeSelectValue" runat="server" DataFieldID="id" DataValueField="id" DataFieldParentID="parentid" DataTextField="text" DataSourceID="SqlDataSource1">
    </telerik:RadDropDownTree>
    <telerik:RadButton ID="radbtnSelectValue" runat="server" Text="Get SelectValue" OnClick="radbtnSelectValue_Click">
    </telerik:RadButton>

    C#:
    protected void radbtnSelectValue_Click(object sender, EventArgs e)
    {
        string value = raddroptreeSelectValue.SelectedValue;
    }

    Please provide your full code if it doesn't help.
    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top