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. General Programming
  3. C#
  4. Searching for a windows form repeater-like method

Searching for a windows form repeater-like method

Scheduled Pinned Locked Moved C#
winformsquestioncsharpasp-netalgorithms
2 Posts 2 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.
  • W Offline
    W Offline
    WhoisUrBuddy
    wrote on last edited by
    #1

    I've been tasked with writing a windows application. On the asp.net side we can use repeaters to create user controls but I haven't found the equivalent for windows forms. I'm trying to create a group of comboboxes from an array of items. Do I need to make collection of them? And how do I position them on the form? All I see is the absolute X Y coordinates, but what if you have 10 or 20 of these items? Thanks

    A 1 Reply Last reply
    0
    • W WhoisUrBuddy

      I've been tasked with writing a windows application. On the asp.net side we can use repeaters to create user controls but I haven't found the equivalent for windows forms. I'm trying to create a group of comboboxes from an array of items. Do I need to make collection of them? And how do I position them on the form? All I see is the absolute X Y coordinates, but what if you have 10 or 20 of these items? Thanks

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      u will have to draw them dynamically through frm.controls.add(controlname) if you want exactly similar to web, use WPF instead of ordinary Windows applications.

      Abhishek Sur

      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