Paul:
You can get the script to cause a postback with this method:
Page.ClientScript.GetPostBackEventReference.
Other way to do this is adding a button to the page and calling it from
JS:
string strJavaScript = button1.ClientID + ".click();";
Good luck!
Gustavo A. Cantero
CEO - Scientia® Soluciones Informáticas
MCP - MCSD - MCTS
http://www.scientia.com.ar http://www.programandoamedianoche.com http://foro.scientia.com.ar
-----Mensaje original-----
De: Paul [mailto:Pa**@discussions.microsoft.com]
Expuesto a las: Miércoles, 29 de Octubre de 2008 07:30 p.m.
Expuesto en: microsoft.public.dotnet.framework.aspnet
Conversación: cause postback with javascript function
Asunto: cause postback with javascript function
Just wondering if there is a way to cause a post back with a javascript
function?
Thanks.
--
Paul G
Software engineer.