Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Custom Control-DropDown+ASP.net

Custom Control-DropDown+ASP.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwpfwcfhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chetan_agarwal
    wrote on last edited by
    #1

    Hi All, I am trying to bind data to a custom control-dropdown.I created class file for control.Then made a DLL file and include that control in my website.I placed 2 dropdowns.1 for State and other for country.I want to populate both drop downs accordingly.I had written 2 SUBs-1 for state binding and other for Country Binding in class file. Code for State Binding dropdown:- Public Sub BindingDataState() Dim MultiList As New DropDownList() Dim ar As New ArrayList ar.Add("Jan") ar.Add("Feb") ar.Add("Mar") MultiList.DataSource = ar MultiList.DataBind() End Sub Please do help me..I am not getting data in dropdowns on browsing the page.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups