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. Control to use

Control to use

Scheduled Pinned Locked Moved ASP.NET
questioncsslearning
4 Posts 4 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.
  • H Offline
    H Offline
    hrishiS
    wrote on last edited by
    #1

    Hi to All I just wanted to know what is the control actually we should use, to have something like 1. scrapbook of orkut...where we can have picture, text etc for every users or many users... 2. like the one in codeproject...where we all submit question..then answers in hierarchical way.. is it a data grid?

    ----------------------------- I am a beginner

    S C S 3 Replies Last reply
    0
    • H hrishiS

      Hi to All I just wanted to know what is the control actually we should use, to have something like 1. scrapbook of orkut...where we can have picture, text etc for every users or many users... 2. like the one in codeproject...where we all submit question..then answers in hierarchical way.. is it a data grid?

      ----------------------------- I am a beginner

      S Offline
      S Offline
      sashidhar
      wrote on last edited by
      #2

      hrishiS wrote:

      scrapbook of orkut...where we can have picture, text etc for every users or many users

      You can Go for Listview or repeater..!

      hrishiS wrote:

      like the one in codeproject...where we all submit question..then answers in hierarchical way..

      Try this link JumpyForum: Inspired by Code Project Forum / Discussion / Message board[^]

      MyFirstArticlePublished: MenuControlSelectedItem LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

      1 Reply Last reply
      0
      • H hrishiS

        Hi to All I just wanted to know what is the control actually we should use, to have something like 1. scrapbook of orkut...where we can have picture, text etc for every users or many users... 2. like the one in codeproject...where we all submit question..then answers in hierarchical way.. is it a data grid?

        ----------------------------- I am a beginner

        C Offline
        C Offline
        compninja25
        wrote on last edited by
        #3

        I don't know if I am interperting the question correctly, but on occasion for projects that involve having different pictures and text for users/products I use a panel or div control and then just dynamically place the controls per each data row in there. So, assume I have a panel control named "panel1" on the aspx file, I would then use something like this in my code behind:

        DataReader dr1 = Connection1.Read()

        While (dr1.Read)
        {
        Image pictureBox1 = new Image();
        TextBox tb1 = new TextBox();

        pictureBox1.ImageURL = dr1["imageLocation"].toString();
        tb1.Text = dr1["textBlurb"].toString();

        panel1.Controls.Add(pictureBox1);
        panel1.Controls.Add(tb1);
        }

        Then I just work on formatting the layout using the css. Hope this helps! :)

        Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.

        1 Reply Last reply
        0
        • H hrishiS

          Hi to All I just wanted to know what is the control actually we should use, to have something like 1. scrapbook of orkut...where we can have picture, text etc for every users or many users... 2. like the one in codeproject...where we all submit question..then answers in hierarchical way.. is it a data grid?

          ----------------------------- I am a beginner

          S Offline
          S Offline
          shashankbv
          wrote on last edited by
          #4

          Hello, I would recomend a ListView http://msdn.microsoft.com/en-us/library/bb515102.aspx[^] Use this Link for a walkthrough on how to use a List View.

          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