In a aspx page I have table as container and tds have different Repeaters in it.
I know table is not a databound control but was wondering there may be a way to use data from dt to control visibility of a tr or any other html control ?
I just tried Page.Databind() but it was not successful and there was an error “Table is not a data bound control”
Please guide.
Thanks
You should use DISPLAY property to ensure that a blank space is not left by the row that is hidden instead of the VISIBLE property.
With out knowing or seeing your code block for a a sible gle its difficult to second guess but if your using “Show” or Hide” as the swutches to decide wether to show or hide a row………
maybe your code should read as follows…..
where switch is either “show” or “hide” and your SERVERSIDE function to get the display status should be as follows..
Please let me know if that works for you.