Changing DIV visibility using inline code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • itaitai2003@yahoo.com

    Changing DIV visibility using inline code

    I'm attempting to configure the DISPLAY attribute using inline code
    but without success. (I don't want to use the Panel)

    Any ideas?

    <div id="panel" style="DISPLAY: <%# GetDisplayStatu s() %> ">
    Tnx

    -Itai.

  • Eliyahu Goldin

    #2
    Re: Changing DIV visibility using inline code

    Itai,

    Add runat="server".

    Eliyahu

    <itaitai2003@ya hoo.com> wrote in message
    news:1106287649 .983607.118550@ c13g2000cwb.goo glegroups.com.. .[color=blue]
    > I'm attempting to configure the DISPLAY attribute using inline code
    > but without success. (I don't want to use the Panel)
    >
    > Any ideas?
    >
    > <div id="panel" style="DISPLAY: <%# GetDisplayStatu s() %> ">
    > Tnx
    >
    > -Itai.
    >[/color]


    Comment

    Working...