Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sharad kumar rathore 3 posts 23 karma points
    Jun 21, 2013 @ 16:12
    sharad kumar rathore
    0

    How to add javascript and stylesheet in chaild page?

    how to add javascript and stylesheet in chaild page not a master page?

    and how to add refrence mater page to chaild page?

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Jun 21, 2013 @ 16:19
    David Brendel
    0

    If you use MVC then you can add an @RenderSection("CSS",false) in your master and than use it in your child view.

    If you use master pages then you can just create a new ContentPlaceholder and then use it in your child views. 

Please Sign in or register to post replies

Write your reply to:

Draft