Hide Table Question

M

Miguel Dias Moura

Hello,

i am trying to show a table if a certain dynamic text is different from
"---".
However this is not working. When i i was comparing to "" it was working.
Can you please check my code?

<table visible='<%# dataSetExplicador.FieldValue("DisciplinaComentarios",
Container) <> "---" %>' ...

Thank You,
Miguel
 
D

Darren Clark

you could do it the other way

<table runat=server id="myTable">

then in code simply go

this.myTable.visable = false;

or even
this.myTable.attributes.add("style","display:none;")
or something like that.
 
M

Miguel Dias Moura

Yes that's it. In one page i had the runat=server but in this one i was
working i forgot it and that's why everything is going bad.
I figured out that yesterday.

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top