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. How to make a custom datalist control

How to make a custom datalist control

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
5 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.
  • A Offline
    A Offline
    Albert83
    wrote on last edited by
    #1

    Hi, I have datalist which is inside a rounded cornered table. How can I reuse the table for multiple datalists without recreating the table every time..i.e table, tr, td..... I was thinking about a custom datalist control but I don't know how to do it. Any help appreciated. Thank you.

    A 1 Reply Last reply
    0
    • A Albert83

      Hi, I have datalist which is inside a rounded cornered table. How can I reuse the table for multiple datalists without recreating the table every time..i.e table, tr, td..... I was thinking about a custom datalist control but I don't know how to do it. Any help appreciated. Thank you.

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      Albert83 wrote:

      I have datalist which is inside a rounded cornered table

      I think UserControl suits your requirement.Just think about a usercontrol. :)

      Arun Jacob http://codepronet.blogspot.com/

      A 1 Reply Last reply
      0
      • A Arun Jacob

        Albert83 wrote:

        I have datalist which is inside a rounded cornered table

        I think UserControl suits your requirement.Just think about a usercontrol. :)

        Arun Jacob http://codepronet.blogspot.com/

        A Offline
        A Offline
        Albert83
        wrote on last edited by
        #3

        Thanks. But how would I embed a general datalist inside the table? and then reuse it. The datalist id and contents will be different on various pages. The table is the same.

        A 1 Reply Last reply
        0
        • A Albert83

          Thanks. But how would I embed a general datalist inside the table? and then reuse it. The datalist id and contents will be different on various pages. The table is the same.

          A Offline
          A Offline
          Arun Jacob
          wrote on last edited by
          #4

          Make a usercontrol and embed the datalist inside the table.Thats all.Just try. :)

          Arun Jacob http://codepronet.blogspot.com/

          A 1 Reply Last reply
          0
          • A Arun Jacob

            Make a usercontrol and embed the datalist inside the table.Thats all.Just try. :)

            Arun Jacob http://codepronet.blogspot.com/

            A Offline
            A Offline
            Albert83
            wrote on last edited by
            #5

            Ok. I will try seems to be pretty simple. Thanks.

            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