Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen 204 posts 246 karma points
    Nov 27, 2011 @ 20:10
    Stephen
    0

    Create a dropdown list in my user control based on a doc type

    Hopefully the title explains it all...looking to show a drop down list in a user control i'm creating which diplays on the exisitng items in under a certain doc type.

    Are there any VB examples out there?

    S

  • Stephen 204 posts 246 karma points
    Nov 27, 2011 @ 20:18
    Stephen
    0

    I have this code so far...

    Protected Sub Page_Load(sender As Object, e As EventArgs)
            If Not IsPostBack Then
                Dim node = New Node(nodeId)
                For Each childNode As Node In node.Children
                    Dim child = childNode
                    'Do something
                    cboService.Items.Add(New ListItem(node("Name"), node("ID")))
                Next
            End If
        End Sub
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies