On Feb 15, 8:15 am, "Garg" <shivaniga...@gmail.com> wrote:
> How do I hide a paricular tablerow during run time?
>
> I have two table rows with ids row1 and row2.
> I want that if a particualr condition is true, then row 1 should be
> displayed on the web page, otherwise row2 should be dispalyed.
>
> I tried following code, but it is not working:
>
> row1.Style.Value = "block"
> row2.Style.Value="None"
row1.Style.Add("display", "none"); for instance...!
But for this operation you would normally want to build that table
dynamically and then DON'T build the rows that's not supposed to be
shown...
Preferable with some Ajax Framework...!!
..t
--
http://ajaxwidgets.com
Free ASP.NET Ajax Widgets NOW!