Calling two methods in a buttonClicked
-
Hi everyone I'm writing a web application which has a button called 'go', when it's clicked it takes long to execute, so I want to play a flash file while it's being executed, so I want to call two methods playflash function(written in javascript in the header of aspx file) and run(written with c# placed in the aspx.cs file), when this button is clicked how should I do this? I tried the following code but it didn't work onButtonClicked="playflash();run();" Please help me.
-
Hi everyone I'm writing a web application which has a button called 'go', when it's clicked it takes long to execute, so I want to play a flash file while it's being executed, so I want to call two methods playflash function(written in javascript in the header of aspx file) and run(written with c# placed in the aspx.cs file), when this button is clicked how should I do this? I tried the following code but it didn't work onButtonClicked="playflash();run();" Please help me.
You can use some AJAX calls to do this. Look at the AJAX toolkit.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Hi everyone I'm writing a web application which has a button called 'go', when it's clicked it takes long to execute, so I want to play a flash file while it's being executed, so I want to call two methods playflash function(written in javascript in the header of aspx file) and run(written with c# placed in the aspx.cs file), when this button is clicked how should I do this? I tried the following code but it didn't work onButtonClicked="playflash();run();" Please help me.
Instead of onButtonClick, use onClientClick.
Nirandas, a developer from India. http://www.nirandas.com