Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: RES: Re: postback


Message #1 by "Welliton Toledo (welliton@r... on Wed, 31 Jul 2002 18:57:02 -0300
Thanks, Sean

	But I need to call __doPostBack() after my function. I need that my
function only display a window with message "Wait...", and it is fired where
user change a textbox AutoPostBack=True.



-----Mensagem original-----
De: Sean Marchiafava [mailto:smarch@c...]
Enviada em: quarta-feira, 31 de julho de 2002 11:58
Para: ASPX_Professional
Assunto: [aspx_professional] Re: postback


This is how I do it:

Attach a handler to the to object that submits form, like a button.

btnSubmit.Attributes.Add("onclick", "YourFunction(Function Parameters)")

<script language="JavaScript

Function YourFunction(Params){
Your Function Code Here
Then submit form with the line following

		document.FormName.submit();
		}
		
</script>

> I have a textbox with property AutoPostBack=True, ok.
B> ut I need to call another javascript function before function 
_> _doPostBack(...). How I can do that, or add code to function 
_> _doPostBack?  

> Sorry my english, I'm learning.

> welliton

  Return to Index