panel = contentplaceholder

Last post 08-31-2007 7:39 PM by gunteman. 7 replies.

Sort Posts:

  • panel = contentplaceholder

    08-31-2007, 2:24 PM
    • Member
      348 point Member
    • andreas123
    • Member since 11-02-2006, 10:01 PM
    • In you source code, and i am messing it up
    • Posts 164

    can i make a panel act like a contentplaceholder in a master page ?

    -ande--rap-***.net--ande.somee.com--
  • Re: panel = contentplaceholder

    08-31-2007, 5:11 PM
    • All-Star
      21,648 point All-Star
    • gunteman
    • Member since 07-11-2007, 12:57 PM
    • Norrköping, Sweden
    • Posts 3,177

     More specifically, what functionality do you want?

    -- "Mark As Answer" if my reply helped you --
  • Re: panel = contentplaceholder

    08-31-2007, 5:20 PM
    • Member
      348 point Member
    • andreas123
    • Member since 11-02-2006, 10:01 PM
    • In you source code, and i am messing it up
    • Posts 164
    well i got this site that is have a bit spesiale form so if i cold make a panel work like a contentplaceholder then i cold make it in any size and shape i wont :D
    -ande--rap-***.net--ande.somee.com--
  • Re: panel = contentplaceholder

    08-31-2007, 5:29 PM
    • All-Star
      21,648 point All-Star
    • gunteman
    • Member since 07-11-2007, 12:57 PM
    • Norrköping, Sweden
    • Posts 3,177

    Well, you could always put the contentplaceholder inside a panel, if that's what you want.

    -- "Mark As Answer" if my reply helped you --
  • Re: panel = contentplaceholder

    08-31-2007, 5:41 PM
    • Member
      348 point Member
    • andreas123
    • Member since 11-02-2006, 10:01 PM
    • In you source code, and i am messing it up
    • Posts 164

    yes i know that but i wont to make the panel to be a contentplaceholder becouse the contentplaceholdedr is so hard to work with

    -ande--rap-***.net--ande.somee.com--
  • Re: panel = contentplaceholder

    08-31-2007, 6:18 PM
    • All-Star
      21,648 point All-Star
    • gunteman
    • Member since 07-11-2007, 12:57 PM
    • Norrköping, Sweden
    • Posts 3,177

     Hard to work with? The ContentPlaceHolder can't do anything, except provide a place for a Content element. Putting a ContentPlaceHolder inside a Panel is basically the same thing as giving the contentplaceholder all the properties of a Panel.

    -- "Mark As Answer" if my reply helped you --
  • Re: panel = contentplaceholder

    08-31-2007, 6:37 PM
    • Member
      348 point Member
    • andreas123
    • Member since 11-02-2006, 10:01 PM
    • In you source code, and i am messing it up
    • Posts 164

    yesyesyes i know that is a ok sulotion but the contentplaceholder is one size so if i stretch the panel bigger then the placeholder it wil not work.....

    -ande--rap-***.net--ande.somee.com--
  • Re: panel = contentplaceholder

    08-31-2007, 7:39 PM
    Answer
    • All-Star
      21,648 point All-Star
    • gunteman
    • Member since 07-11-2007, 12:57 PM
    • Norrköping, Sweden
    • Posts 3,177

    The ContentPlaceHolder doesn't have any size at all. It's just a......placeholder. The fact that it may look a bit strange in the VS master page editor has no impact on the result.

    -- "Mark As Answer" if my reply helped you --
Page 1 of 1 (8 items)