Dump any empty (not text propery specified ) LinkButton on the form and
check out generated HTML.
You will see somehting like OnClick="__doPo stBack('$LinkBu tton1');"
that is the way :)
George.
"Paul" <Paul@discussio ns.microsoft.co mwrote in message
news:47CA3788-B545-4A86-8C0F-A3C2C9D0A571@mi crosoft.com...
Just wondering if there is a way to cause a post back with a javascript
function?
Thanks.
--
Paul G
Software engineer.
Paul:
You can get the script to cause a postback with this method:
Page.ClientScri pt.GetPostBackE ventReference.
Other way to do this is adding a button to the page and calling it from
JS:
string strJavaScript = button1.ClientI D + ".click();" ;
Good luck!
Gustavo A. Cantero
CEO - Scientia® Soluciones Informáticas
MCP - MCSD - MCTS
thanks for the responses, I need to pass parameters to the URL string on the
post back so thinking a few of these methods should work.
--
Paul G
Software engineer.
"Gustavo Cantero" wrote:
Paul:
You can get the script to cause a postback with this method:
Page.ClientScri pt.GetPostBackE ventReference.
Other way to do this is adding a button to the page and calling it from
JS:
>
string strJavaScript = button1.ClientI D + ".click();" ;
>
Good luck!
>
Gustavo A. Cantero
CEO - Scientia® Soluciones Informáticas
MCP - MCSD - MCTS
Comment