Hello,
I have a script written in C# (.NET) and within this script I have an
IF statement and when this IF statement is TRUE I want to execute the
following external script that I placed just under the of my page:
The external script is currently executed when I click on a button that passes some values to the external script
How can I do that?
Thank you in Advance
Loading
GPosted Jan 31, 2009, 6:10 AM
I tried using your script but it didn't help me in terms of auto-submitting my button.
The following code is the button that I currently have that passes some information onto an external shopping cart:
And the following is the script that displays the external shopping cart on my page:
Finally, This is how I tried to implement my button with your given script:
public void Page_Load(Object sender, EventArgs e)
{
if (!this.IsStartupScriptRegistered("Startup"))
{
// Form the script to be registered at client side.
String scriptString = "
"20" leftmargin="10" onload="Page_Load()">