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. Apply them only in content page.

Apply them only in content page.

Scheduled Pinned Locked Moved ASP.NET
helpquestion
9 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.
  • P Offline
    P Offline
    pss srinivasan
    wrote on last edited by
    #1

    Hi i want to apply them in content page, where i want to write code. after register assembly i written code error coming, after content place holder i written there also error coming where i want to write that code, this code where i want to write? plz replay me.

    C R 2 Replies Last reply
    0
    • P pss srinivasan

      Hi i want to apply them in content page, where i want to write code. after register assembly i written code error coming, after content place holder i written there also error coming where i want to write that code, this code where i want to write? plz replay me.

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

      I'm not sure I understand. What error ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      P 1 Reply Last reply
      0
      • C Christian Graus

        I'm not sure I understand. What error ?

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        P Offline
        P Offline
        pss srinivasan
        wrote on last edited by
        #3

        Sample Code of my Content page <%@ Page Language="C#" MasterPageFile="~/common/MasterPage.master" AutoEventWireup="true" CodeFile="AdminSetting.aspx.cs" Inherits="admin_AdminSetting" %> <%@ Register TagPrefix="igtbl" Namespace="Infragistics.WebUI.UltraWebGrid" Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %> in this page where i want to apply them?

        S 1 Reply Last reply
        0
        • P pss srinivasan

          Sample Code of my Content page <%@ Page Language="C#" MasterPageFile="~/common/MasterPage.master" AutoEventWireup="true" CodeFile="AdminSetting.aspx.cs" Inherits="admin_AdminSetting" %> <%@ Register TagPrefix="igtbl" Namespace="Infragistics.WebUI.UltraWebGrid" Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %> in this page where i want to apply them?

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          If You Dont Know Where to write ..!I think this is style sheet..! So Go to the design view of the required page drag and drop the style sheet on the page..! If i Misunderstood please explain in detail..! Exactly what do u want to do? What did you do? When is the error comming..?

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          P 1 Reply Last reply
          0
          • P pss srinivasan

            Hi i want to apply them in content page, where i want to write code. after register assembly i written code error coming, after content place holder i written there also error coming where i want to write that code, this code where i want to write? plz replay me.

            R Offline
            R Offline
            RajpootRohan
            wrote on last edited by
            #5

            Hi, You can write this in <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> of the content page.

            cheers, sneha

            P 1 Reply Last reply
            0
            • S sashidhar

              If You Dont Know Where to write ..!I think this is style sheet..! So Go to the design view of the required page drag and drop the style sheet on the page..! If i Misunderstood please explain in detail..! Exactly what do u want to do? What did you do? When is the error comming..?

              LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

              P Offline
              P Offline
              pss srinivasan
              wrote on last edited by
              #6

              thnx a lot friend

              So Go to the design view of the required page drag and drop the style sheet on the page..!

              it is working for me.

              S 1 Reply Last reply
              0
              • P pss srinivasan

                thnx a lot friend

                So Go to the design view of the required page drag and drop the style sheet on the page..!

                it is working for me.

                S Offline
                S Offline
                sashidhar
                wrote on last edited by
                #7

                pss.srinivasan wrote:

                thnx a lot friend

                Any Time..!:thumbsup:

                LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

                1 Reply Last reply
                0
                • R RajpootRohan

                  Hi, You can write this in <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> of the content page.

                  cheers, sneha

                  P Offline
                  P Offline
                  pss srinivasan
                  wrote on last edited by
                  #8

                  hi what u send like that i written code but this error coming Error 40 Cannot switch views: Validation (XHTML 1.0 Transitional): Element 'link' cannot be nested within element 'td'. my code is like this <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" > <link href="../App_Themes/Blue/DefStyles.css" rel="stylesheet" type="text/css" /> </asp:Content>

                  R 1 Reply Last reply
                  0
                  • P pss srinivasan

                    hi what u send like that i written code but this error coming Error 40 Cannot switch views: Validation (XHTML 1.0 Transitional): Element 'link' cannot be nested within element 'td'. my code is like this <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" > <link href="../App_Themes/Blue/DefStyles.css" rel="stylesheet" type="text/css" /> </asp:Content>

                    R Offline
                    R Offline
                    RajpootRohan
                    wrote on last edited by
                    #9

                    Hi, You must be having a ContentPlaceHolder tag in the of the master page, you are using. Then in the content page there must be content tag having that contentPlaceHolderID. You can put the link tag in that .

                    cheers, sneha

                    modified on Tuesday, November 17, 2009 6:14 AM

                    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