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. problem related to RadioButtonList

problem related to RadioButtonList

Scheduled Pinned Locked Moved ASP.NET
help
7 Posts 3 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.
  • M Offline
    M Offline
    Member_3259094
    wrote on last edited by
    #1

    hi to all i am using a radiobutton list ,and want to change the back ground color of the select item text. please help me some one.

    rajeev kumar sharma vri software pvt. ltd. new delhi India

    I 1 Reply Last reply
    0
    • M Member_3259094

      hi to all i am using a radiobutton list ,and want to change the back ground color of the select item text. please help me some one.

      rajeev kumar sharma vri software pvt. ltd. new delhi India

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      set AutoPostBack="True" and try following code

      protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
      {
      RadioButtonList1.SelectedItem.Attributes.Add("style","background-color:Black");
      }

      please don't forget to vote on the post that helped you.

      M K 2 Replies Last reply
      0
      • I Imran Khan Pathan

        set AutoPostBack="True" and try following code

        protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
        {
        RadioButtonList1.SelectedItem.Attributes.Add("style","background-color:Black");
        }

        please don't forget to vote on the post that helped you.

        M Offline
        M Offline
        Member_3259094
        wrote on last edited by
        #3

        very very thank sir

        rajeev kumar sharma vri software pvt. ltd. new delhi India

        1 Reply Last reply
        0
        • I Imran Khan Pathan

          set AutoPostBack="True" and try following code

          protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
          {
          RadioButtonList1.SelectedItem.Attributes.Add("style","background-color:Black");
          }

          please don't forget to vote on the post that helped you.

          K Offline
          K Offline
          Karthic M
          wrote on last edited by
          #4

          how to change the forecolor of selected radiobuttonlist...

          I 1 Reply Last reply
          0
          • K Karthic M

            how to change the forecolor of selected radiobuttonlist...

            I Offline
            I Offline
            Imran Khan Pathan
            wrote on last edited by
            #5

            RadioButtonList.SelectedItem.Attributes.Add("style", "color:red;"); bEst rEgard pAthan

            please don't forget to vote on the post that helped you.

            K 2 Replies Last reply
            0
            • I Imran Khan Pathan

              RadioButtonList.SelectedItem.Attributes.Add("style", "color:red;"); bEst rEgard pAthan

              please don't forget to vote on the post that helped you.

              K Offline
              K Offline
              Karthic M
              wrote on last edited by
              #6

              Thanx ya! Its working!:)

              1 Reply Last reply
              0
              • I Imran Khan Pathan

                RadioButtonList.SelectedItem.Attributes.Add("style", "color:red;"); bEst rEgard pAthan

                please don't forget to vote on the post that helped you.

                K Offline
                K Offline
                Karthic M
                wrote on last edited by
                #7

                how to integrate more than one clipping in a single mediaplayer using html

                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