|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hide show asp tableHi!
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 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... -- Show quoteHide quotePatrice "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 > > > 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 >> >> >> > >
These controls are a real mess
DataSourceID '<NewDataSource ...>' not working in composite contro Global Themes Folder Missing .NET multi-column listbox for webpages? Gridview not updating database row DropDown List TreeView Security error Catching event in Menu control when bound with sitemap Script edit server control multiview |
|||||||||||||||||||||||