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. bind css to web user control

bind css to web user control

Scheduled Pinned Locked Moved ASP.NET
csstutorial
3 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.
  • S Offline
    S Offline
    Spurple
    wrote on last edited by
    #1

    can anybody tell me how to bind css file to web user control! as if im using master page,i can bind css file but i want to know if there is any way to add tag for css in web user control!

    A B 2 Replies Last reply
    0
    • S Spurple

      can anybody tell me how to bind css file to web user control! as if im using master page,i can bind css file but i want to know if there is any way to add tag for css in web user control!

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

      Spurple wrote:

      i want to know if there is any way to add tag for css in web user control!

      You are talking about Custom user control? You can simple add the css reference like you did in same other page. Please correct me if my understanding of your question is wrong.

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net My Latest Article : IIS Remote Debugging

      1 Reply Last reply
      0
      • S Spurple

        can anybody tell me how to bind css file to web user control! as if im using master page,i can bind css file but i want to know if there is any way to add tag for css in web user control!

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

        you need to bind the css once in a page.just include it in the master page that will be available in the entire page.i e you webusercontrol will also be able access the css if master page is applied on the page.

        Cheers!! Brij Check My Latest Article

        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