Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript c# and SQL

Status
Not open for further replies.

silvercrow99

Programmer
Oct 16, 2006
1
ZA
How do you call a stored procedure (which is called from C# module) from javascript?

in other words
I need some way to call the c# code from the javascript button

the button is on a custom javascript messagebox
and the c# code that should be called is not from the same aspx page of the calling function

help?

thanx
 
You need AJAx, check out a FAQ I wrote. It's in VB, but still applicable...

faq855-6414
 
Nah man.... hidden iframes are the way to go.

-kaht

[small](All puppies have now found loving homes, thanks for all who showed interest)[/small]
 
You could always spend some time looking into the feasability of regular HTML frames (watch out not to set the height of the frame to 0 - in Netscape 4 it won't work properly... and make sure you have at least 2 frames in the frameset or it won't work in IE4.01 for the Mac). You can probably achieve everything that AJAX or that hidden iframe solution does... plus you'd be using frames!

Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top