Exforsys

Free Training

How to run an external script from a C# behind?

This is a discussion on How to run an external script from a C# behind? within the Microsoft .NET forums, part of the Programming Talk category; Hi, I will try to make my question as simple as possible. I have a website build in .NET (using ...

Go Back   Exforsys > Programming Talk > Microsoft .NET

Exforsys.com

  #1 (permalink)  
Old 01-30-2009, 12:04 PM
Junior Member
 
Join Date: Jan 2009
Posts: 1
dotnetcy is on a distinguished road
How to run an external script from a C# behind?

Hi,

I will try to make my question as simple as possible.

I have a website build in .NET (using C#). It displays a list of products that are retrieved from a DB. Within the itemtemplate of that Datalist (that displays the products) I also put a LinkButon that executes a code and this Linkbutton acts as an ADD to Cart button. The code that is being executed retrieves the product's name and price and saves these values into 2 session variables.


Then I have the following HTML tag that puts the values (name, price -now saved in the Session Variables) into a Button:





a Javascript then executes an external code (since I am using an external Shopping Cart):






My problem is that I can click on the LinkButton that I created but I also have to click on the button I just pasted above.. only then will my 'name and price' values be passed to the external shopping cart.

What I want to do is automatically call this Javascript from C# behind (After the 'Add to Cart' Linkbutton is executed)


Please I need this urgently, any help will be very much appreciated.

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Request for interview question for Testing (QA) wildkid98 Testing Tutorials 18 09-10-2009 07:33 AM
recovery manager and Startup Script for Custom objects numbsyd Software Testing 0 01-04-2008 03:54 AM
How to Schedule My Script Ralph Shell Programming 1 06-12-2007 10:49 AM
Tutorial on Silk Test spriya279 Testing Tutorials 2 02-15-2007 07:31 PM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 08:26 AM


All times are GMT -4. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.