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. changing the screen color at runtime in asp.net

changing the screen color at runtime in asp.net

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

    Hi, I want to change my screen color at runtime,help me..

    A B 2 Replies Last reply
    0
    • J jaraldumary

      Hi, I want to change my screen color at runtime,help me..

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      jaraldumary wrote:

      I want to change my screen color at runtime,

      which screen color ? are you talking about theme change ? if yes the try to learn about css and skin in asp.net. There are lots of link will be available on that in google .

      cheers, Abhijit

      J 1 Reply Last reply
      0
      • A Abhijit Jana

        jaraldumary wrote:

        I want to change my screen color at runtime,

        which screen color ? are you talking about theme change ? if yes the try to learn about css and skin in asp.net. There are lots of link will be available on that in google .

        cheers, Abhijit

        J Offline
        J Offline
        jaraldumary
        wrote on last edited by
        #3

        yes theme color,how to change the color of the form in runtime, or else send some links to learn..

        C A 2 Replies Last reply
        0
        • J jaraldumary

          yes theme color,how to change the color of the form in runtime, or else send some links to learn..

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          your basic issue is that you need to understand ASP.NET. It's an engine for HTML, HTML is what the browser shows. So, you need to learn how to set the color of a page of HTML. The web abounds with such info.

          Christian Graus Driven to the arms of OSX by Vista.

          1 Reply Last reply
          0
          • J jaraldumary

            Hi, I want to change my screen color at runtime,help me..

            B Offline
            B Offline
            Brij
            wrote on last edited by
            #5

            do you want ot change it on any event?

            Cheers!! Brij

            J 1 Reply Last reply
            0
            • J jaraldumary

              yes theme color,how to change the color of the form in runtime, or else send some links to learn..

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              jaraldumary wrote:

              ,how to change the color of the form in runtime

              Yaa..if this is single page application, that can be done easily, but for applying to all over the sites you need to learn about HTTPHandler. Search google. Lots of example are there .

              cheers, Abhijit

              1 Reply Last reply
              0
              • B Brij

                do you want ot change it on any event?

                Cheers!! Brij

                J Offline
                J Offline
                jaraldumary
                wrote on last edited by
                #7

                when the page is loading, the color of the form should be changed..

                B 1 Reply Last reply
                0
                • J jaraldumary

                  when the page is loading, the color of the form should be changed..

                  B Offline
                  B Offline
                  Brij
                  wrote on last edited by
                  #8

                  for changing the color at runtime If your body tag defined as runat="server" then you can change the style of that screen by accessing the id of body tag at server side code.if you want change it on any event then code like this body1.Style.Add("background-color","color id"); you can also change it on Page_Load event

                  Cheers!! Brij

                  J 1 Reply Last reply
                  0
                  • B Brij

                    for changing the color at runtime If your body tag defined as runat="server" then you can change the style of that screen by accessing the id of body tag at server side code.if you want change it on any event then code like this body1.Style.Add("background-color","color id"); you can also change it on Page_Load event

                    Cheers!! Brij

                    J Offline
                    J Offline
                    jaraldumary
                    wrote on last edited by
                    #9

                    thank you

                    B 1 Reply Last reply
                    0
                    • J jaraldumary

                      thank you

                      B Offline
                      B Offline
                      Brij
                      wrote on last edited by
                      #10

                      :) :)

                      Cheers!! Brij

                      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