Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 04-23-2007, 12:02 PM   #1
Default How to call C# function in javascript


hi ,

i got function name DeleteFormData() in C# and i want to call that in Javascript.

can anybody help me out...............

Thanks in advance......


visj4u
visj4u is offline   Reply With Quote
Old 04-23-2007, 01:44 PM   #2
unholy
Super Moderator
 
Join Date: Jun 2005
Location: Australia
Posts: 3,988
Send a message via MSN to unholy
Default
Convert it to Javascript, then u can use it. Otherwise it cannot.

Also don't post the code here, we dont want to convert a C# function to javascript, as far as i am concerned this is a very silly question. If u are infact writing a website, and using .NET to build it. Javascript cannot access Server Side Software its merely Client Side.


unholy
unholy is offline   Reply With Quote
Old 04-23-2007, 03:24 PM   #3
iamafreak
Junior Member
 
Join Date: Apr 2007
Posts: 4
Default
well as far as i know you can call the function by using this format :

<%CsharpFunction();%>;


iamafreak
iamafreak is offline   Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
max size javascript validation on multiline textbox behaves differently in IE and FF write2atif Software 0 04-30-2009 09:15 AM
Javascrip call interferes with OnClick settings MindofZiggi Software 1 07-25-2008 12:33 PM
TRADING FEMALE CELEB INTERVIEWS ON DVD stu DVD Video 1 05-26-2008 09:39 AM
How to assign a returns value of a javascript function to a hiddenfield in a webpart Chander Software 0 12-20-2007 09:14 AM
How i can populate all fileds dynamically in jsp using javascript? vijendra Software 1 10-06-2006 01:33 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46