vb.net - Dynamically do postback -


is possible postback dynamically in vb.net or c#.net?

there asp button (let buttona) if click buttona has actions , trigger postback

postback should not triggered onclicking button . after performing actions has trigger postback

i have searched day couldnt find solution pls help

thanks lot caty

by deafult asp buttons postback. if want perform client side function before postback add onclientclick property , return true or false function depending if want postback or not.

<asp:button id="btn1" onclientclick="return myfunction();" />  function myfunction() {     alert('test');     return true; //do postback } 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -