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. group buttons

group buttons

Scheduled Pinned Locked Moved ASP.NET
10 Posts 5 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.
  • J Offline
    J Offline
    jashimu
    wrote on last edited by
    #1

    Hi all, I am trying to group regular buttons like we can do radiobuttons. is there any way we can group regular buttons like radio buttons. thanks,

    N G D 3 Replies Last reply
    0
    • J jashimu

      Hi all, I am trying to group regular buttons like we can do radiobuttons. is there any way we can group regular buttons like radio buttons. thanks,

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Group them how? You can place the buttons in a div, a table, a repeater, or any number of ways. Please be a little more specific.


      I know the language. I've read a book. - _Madmatt

      J 1 Reply Last reply
      0
      • J jashimu

        Hi all, I am trying to group regular buttons like we can do radiobuttons. is there any way we can group regular buttons like radio buttons. thanks,

        G Offline
        G Offline
        gavindon
        wrote on last edited by
        #3

        I agree with Mark, more information is needed. What are you trying to achieve with grouping buttons? Are you just trying to group for looks or are you trying to achieve some sort of functionality with the grouping?

        Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.

        1 Reply Last reply
        0
        • N Not Active

          Group them how? You can place the buttons in a div, a table, a repeater, or any number of ways. Please be a little more specific.


          I know the language. I've read a book. - _Madmatt

          J Offline
          J Offline
          jashimu
          wrote on last edited by
          #4

          Sorry I forgot to mention that I am truely new to web app. I don't know which one is the best approch, but the way I have is I have a table and put a button in a cell. For example, in a row I have two cell and both the cell have a button called "back" and "next" when I run the app these two buttons are little far from each other. even though I align them to right. what I want is to put the buttons side by side.

                          ;
          
          N 1 Reply Last reply
          0
          • J jashimu

            Sorry I forgot to mention that I am truely new to web app. I don't know which one is the best approch, but the way I have is I have a table and put a button in a cell. For example, in a row I have two cell and both the cell have a button called "back" and "next" when I run the app these two buttons are little far from each other. even though I align them to right. what I want is to put the buttons side by side.

                            ;
            
            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            So you are not really concerned with grouping buttons as much as positioning them. Table layouts should not be used for positioning nor should inline styles be used. Use CSS in an external file for positioning and applying other styles. This way you can apply the style to an entire class, button, and have it apply to all, not set each button individually. The CSS class are also reusable across your project. If you are unfamiliar with this then you need to step back and do some research before diving into the technology.


            I know the language. I've read a book. - _Madmatt

            J 1 Reply Last reply
            0
            • N Not Active

              So you are not really concerned with grouping buttons as much as positioning them. Table layouts should not be used for positioning nor should inline styles be used. Use CSS in an external file for positioning and applying other styles. This way you can apply the style to an entire class, button, and have it apply to all, not set each button individually. The CSS class are also reusable across your project. If you are unfamiliar with this then you need to step back and do some research before diving into the technology.


              I know the language. I've read a book. - _Madmatt

              J Offline
              J Offline
              jashimu
              wrote on last edited by
              #6

              Thaks for your feedback. I will try my best to learn ASAP.

              L 1 Reply Last reply
              0
              • J jashimu

                Hi all, I am trying to group regular buttons like we can do radiobuttons. is there any way we can group regular buttons like radio buttons. thanks,

                D Offline
                D Offline
                Dalek Dave
                wrote on last edited by
                #7

                Create a DIV and place them in there using CSS, that way you can manipulate as you see fit, and have it repeatable on many pages.

                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                1 Reply Last reply
                0
                • J jashimu

                  Thaks for your feedback. I will try my best to learn ASAP.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  If you google something like "blueprint css" there is a site that has developed a .css framework that I found quite useful when initially figuring out layouts by divs rather than tables. It has for download various .css files and example pages that are a good way for the uninitiated to examine various layouts by use of divs and css etc. May be worth a look. The css files are a useful basis, with a bit of modification, for a lot of what I typically want to do.

                  N 1 Reply Last reply
                  0
                  • L Lost User

                    If you google something like "blueprint css" there is a site that has developed a .css framework that I found quite useful when initially figuring out layouts by divs rather than tables. It has for download various .css files and example pages that are a good way for the uninitiated to examine various layouts by use of divs and css etc. May be worth a look. The css files are a useful basis, with a bit of modification, for a lot of what I typically want to do.

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #9

                    davidnz wrote:

                    If you google something like "blueprint css" there is a site...

                    Good information but would it have hurt you to do this http://www.blueprintcss.org/[^] ?


                    I know the language. I've read a book. - _Madmatt

                    L 1 Reply Last reply
                    0
                    • N Not Active

                      davidnz wrote:

                      If you google something like "blueprint css" there is a site...

                      Good information but would it have hurt you to do this http://www.blueprintcss.org/[^] ?


                      I know the language. I've read a book. - _Madmatt

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Trust me, if I bother coming on this site again I wouldn't bother saying anything instead.

                      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