locked
sharepoint usercontrol RRS feed

  • Question

  • Hi friends...i had created the user control and i deployed it in the server..but how to apply different css to the usecontrol...iam using vs2008 and moss 2007

    i need to chage the complete look and feel of the usercontrol

    any related links..

    thaks in advance...


    aruna
    • Moved by Mike Walsh FIN Friday, July 29, 2011 2:51 PM customization (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Friday, July 29, 2011 1:02 PM

Answers

  • you can deploy your JS file

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\YouFolderName\JS

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\YouFolderName\CSS

     

    and in user control you can use reference  as below

    <script src ="/_layouts/yourfoldername/js/yourjs.js"/>

    <Link href="/_layouts/yourfoldername/css/style.css" type="stylesheet">


    Rahul Sharma -------------------------- Coding is all about passion !!!!!!
    Friday, July 29, 2011 7:57 PM