Home All Groups Group Topic Archive Search About
Author
26 Jan 2006 3:08 PM
Rod
Hi!
I have the following <table> in my webform.aspx :

<table id="Tbllist" border="0" style="Display: none"></table>
In the form there is a button called "btnlist".
On the "btn_list_click" event I would to "show" the table above.

Could anyone help me, please ?

Antonio

Author
26 Jan 2006 7:02 PM
Patrice
Client side or server side ?

Server side adds runat="server", suppress the style and use the Visible
property (if false the control is not rendered at all i.e. you won't have
any HTML markup for this when using "view source").
Client side change the display property when the button is clicked...

--
Patrice

Show quoteHide quote
"Rod" <camino.ap***@tiscali.it> a écrit dans le message de
news:%23%23FaFpoIGHA.3036@tk2msftngp13.phx.gbl...
> Hi!
> I have the following <table> in my webform.aspx :
>
> <table id="Tbllist" border="0" style="Display: none"></table>
> In the form there is a button called "btnlist".
> On the "btn_list_click" event I would to "show" the table above.
>
> Could anyone help me, please ?
>
> Antonio
>
>
>
Author
27 Jan 2006 7:48 AM
Rod
Thanks a lot!
Could you write the code for change display in Client side ?
I tried with :
  "........documenti.getelementbyid('TBllist').style('diplay') = inline "
and with
" ........documenti.getelementbyid('TBllist').style.diplay. = inline"
But I have error.


Show quoteHide quote
"Patrice" <a@bc.c> ha scritto nel messaggio
news:unDPZsqIGHA.1032@TK2MSFTNGP11.phx.gbl...
> Client side or server side ?
>
> Server side adds runat="server", suppress the style and use the Visible
> property (if false the control is not rendered at all i.e. you won't have
> any HTML markup for this when using "view source").
> Client side change the display property when the button is clicked...
>
> --
> Patrice
>
> "Rod" <camino.ap***@tiscali.it> a écrit dans le message de
> news:%23%23FaFpoIGHA.3036@tk2msftngp13.phx.gbl...
>> Hi!
>> I have the following <table> in my webform.aspx :
>>
>> <table id="Tbllist" border="0" style="Display: none"></table>
>> In the form there is a button called "btnlist".
>> On the "btn_list_click" event I would to "show" the table above.
>>
>> Could anyone help me, please ?
>>
>> Antonio
>>
>>
>>
>
>