G
Guest
Hi,
I am trying to resize a HTML table through Javascript. When the user control
loads the first time, the table is resized, but then it doesn't anymore. I am
using the following code in the Load event of the web user control:
if ( [expression] )
this.Page.RegisterStartupScript("CallBothGrids", "<script
language=javascript> { showBothGrids(); }</script>");
else
this.Page.RegisterStartupScript("CallFundsOnly", "<script
language=javascript> { showFundsOnly(); }</script>");
The "CallFundsOnly is executed (the first time), but the "CallBothGrids" is
not. I don't see any error message when the page is rendered in Internet
Explorer.
Any idea of what could be wrong?
Thanks.
Mike
I am trying to resize a HTML table through Javascript. When the user control
loads the first time, the table is resized, but then it doesn't anymore. I am
using the following code in the Load event of the web user control:
if ( [expression] )
this.Page.RegisterStartupScript("CallBothGrids", "<script
language=javascript> { showBothGrids(); }</script>");
else
this.Page.RegisterStartupScript("CallFundsOnly", "<script
language=javascript> { showFundsOnly(); }</script>");
The "CallFundsOnly is executed (the first time), but the "CallBothGrids" is
not. I don't see any error message when the page is rendered in Internet
Explorer.
Any idea of what could be wrong?
Thanks.
Mike