473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Hide Table Question

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("DisciplinaComentario s",
Container) <> "---" %>' ...

Thank You,
Miguel
Nov 18 '05 #1
2 864
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.
"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:#5**************@TK2MSFTNGP09.phx.gbl...
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("DisciplinaComentario s",
Container) <> "---" %>' ...

Thank You,
Miguel

Nov 18 '05 #2
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

"Darren Clark" <dc******@hotmail.com> wrote in message
news:ex**************@TK2MSFTNGP12.phx.gbl...
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.
"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:#5**************@TK2MSFTNGP09.phx.gbl...
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("DisciplinaComentario s", Container) <> "---" %>' ...

Thank You,
Miguel


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: KathyB | last post by:
Hi, totally new to the div show/hide thing. I have some rows in a table. When I first load the page, I only want to see divs where the divID=ForView. When I load now, I see BOTH rows...even...
2
by: John M | last post by:
I want to hide the first row in my table and if a user click on a show button than show it. If it is visible than user can hide it with click a hide button. In default I hide it with: <tr...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
10
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
5
by: dbuchanan | last post by:
Is it possible to detect the SQLS2K column level permission for the logged in user. I want to be able to hide a control or Button based on user permission to edit that column. Can anyone...
11
by: jimstruckster | last post by:
I have a table with 10 rows, I want all rows except for the first to be hidden when the page first opens up. If the user puts a value in a text box in the first row then I want the second row to...
2
by: Advo | last post by:
Basically, ive got information in a table for the layout purposes, as its text for a questionnaire What i Need, is for instance when the user click a radio button, that information can be...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
0
by: mswhiteside | last post by:
Hello Everybody, Im Trying to hide my tables so that they can't be imported/linked from another database. i've searched, and searched, and i have a question that i haven't found already asked...
7
by: mswhiteside | last post by:
Hello Everybody, Im Trying to hide my tables so that they can't be imported/linked from another database. i've searched, and searched, and i have a question that i haven't found already asked...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.