Problem with HTML Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sweatha
    New Member
    • Mar 2008
    • 44

    #1

    Problem with HTML Table

    Hello Friends

    I have created the HTML Table with some asp controls inside. My dilemma is I have to make the visibility of the table as "False" (by default) at the time of form load. For this I have given the HTML coding as

    <table border="1" id="TicketType " visible=false>
    -----
    -----
    -----
    </table>

    But its not working.


    -Sweatha
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi Sweatha,

    Only server controls can have their Visible property set like this. If you wish to hide the table using server side code then you must add runat="server" to the table tag.

    Hope this helps,

    Dr B

    Comment

    Working...