Databinding to dropdowntree is not working

2 posts, 0 answers
  1. Justin
    Justin avatar
    8 posts
    Member since:
    Jul 2008

    Posted 01 May 2013 Link to this post

    Here's my code:

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
                If Not IsPostBack Then
                End If
            End Sub
    Private Sub Load_ddlGroupName()
                ddlGroupName.DataTextField = "FinanceNumberName"
                ddlGroupName.DataValueField = "FinanceNumberName"
                ddlGroupName.DataFieldParentID = "VP"
                ddlGroupName.DataFieldID = "FinanceNumberName"
                ddlGroupName.DataSource = (From d In DbContext.FPRDropDownLists Select d).ToList() 'verified datasource is populated.
            End Sub

    What am I missing?

  2. Plamen
    Plamen avatar
    2723 posts

    Posted 06 May 2013 Link to this post


    You can refer to this help topic where is explained how to achieve similar functionality.

    Hope this will be helpful.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top