473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to call a serverside function through javascript

9
Hi,
I dont know "how to call a serverside function through javascript".When i tried to call the function like this:

<%=FillAnmID() %>

where FillAnmID is the server side function.

I got a compilation error like this " Overload resolution failed because no accessible 'Write' can be called with these arguments".

Is there any solution for it . plz inform me. I need it.
Thanks in advance.
Nov 27 '07 #1
1 1735
acoder
16,027 Expert Mod 8TB
Use Ajax for this. Make a small script which has this function and make a request to this script using Ajax. See this example.

PS. I've moved this from the Articles section. Please don't post questions in the Articles section.
Nov 27 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Robert Mark Bram | last post by:
Hi All! I have some server side vbscript that I very much want to use in my serverside javascript. Can I do this? Specifically, I am attempting to integrate this into my javascript asp pages:...
39
by: Randell D. | last post by:
Folks, I'm sure this can be done legally, and not thru tricks of the trade - I hope someone can help. I'm writing a 'tool' (a function) which can be used generically in any of my projects. ...
2
by: Chris Tillotson | last post by:
Hello, I just wanted to suggest this as an idea and get feedback if it is a lame. I had a simple challenge. In my app a client can upload a file and it took a while and I wanted to indicate to the...
3
by: Robin Day | last post by:
I run some code on the changed event of checkbox lists. Its quite simple, nothing more than showing / hiding some other parts of the page. Using Autopostback and Server side code works fine, but is...
4
by: Rob Shorney | last post by:
Hi, I am using .Net 2003 , c# asp.net. The situation i have is this. I have a asp.net page which in the codebehind maintains an xml document in memory. The user can click on a button to popup a...
1
by: Dinçer | last post by:
I have three TextBoxes. Say, txtValue1, txtValue2 and txtValue3... After the user enters something into the txtValue1 and tabs; I want to go to the serverside, call a method(which will take...
10
by: Daniel | last post by:
Hi all, Have any ideas for the above question? for example, in pageA, i call pageB's buttonA.visible=false. thank you in advance. best regards, GL
3
by: Angus | last post by:
I have a web page with a toolbar containing a Save button. The Save button can change contextually to be a Search button in some cases. Hence the button name searchsavechanges. The snippet of...
2
by: vinodkus | last post by:
dear sir/madam 1 I want to call an asp function through onclick method of button. 2I want to call an asp function through javaScript Thanks in advance
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.