|
| akourkoumelis : On March 07, 2008 5:32 PM said: |
Hi,
Can I invoke server side calls from javascript without invoking a web service?
|
|
|
| JoeStagner : On March 15, 2008 12:48 PM said: |
Sure - you can use GET and OST directly.
|
|
|
| ShijuKadamala : On March 27, 2008 10:35 AM said: |
When you are calling web service class from JavaScript, remember to call with full qualifier for the web service class.
|
|
|
| darthocellaris : On March 28, 2008 12:12 PM said: |
my javascript is weak so correct me here. You misspelled 'return' in the script and the popup still shows. There is an error on the page still though. How is this possible? I would have expected no popup.
|
|
|
| eunicep : On April 07, 2008 12:42 AM said: |
darthocellaris: I had the same problem encountering javascript error stating 'SimpleService' is undefined. I figured out that a namespace is needed. Here, the namespace I used is AJAXEnabledWebSite1.
ret = AJAXEnabledWebSite1.SimpleService.SayHello(document.getElem entById('Text1').value, OnComplete, OnTimeOut, OnError);
|
|
|
| JoeStagner : On April 14, 2008 8:55 PM said: |
darth.... browsers handle JS errors differently but often try to keep going, especially if you have client errors turned off in the browser.
|
|
|
| anat2403 : On April 20, 2008 1:35 PM said: |
Suppose the Name entered is 'Anat' and I want to keep this value in a session field or somewhwere in the server. How can I use the web service to get this value?
Thankyou
Anat
|
|
|
| DarkKnight671 : On April 23, 2008 7:50 AM said: |
Anat raises an interesting point - is there a way to sync server-controls with what gets changed as a result of the callback? I.E. - if we change a list of values (say, a dropdownlist), viewstate is not updated on the server and any selections may no longer be valid...
|
|
|
| gladston_raj : On May 27, 2008 7:54 AM said: |
When i try to return a data table from the web service it is throwing a error "A circular reference has been detected while serializing an object of type 'System.Reflection.Module'
", why this error is comming and how can i over come this error
|
|
|
| JoeStagner : On May 27, 2008 1:42 PM said: |
You can't automagically pass all server side objects to your client side code.
Try manually serializing your Table to JSON or POX and then you can process the data sumply in your clint side Javascript code.
|
|
|
| hasan_houshmand : On June 01, 2008 11:29 AM said: |
Hi Sir!
I'm from Iran.
As you see my name is hasan.
These Videos are really helpfull.
Special Thanks to you.
But Ineed Your Help because really i want to learn AJAX.
When i need your help, Do you help me?
|
|
|
| ITSASPDOTNET : On June 24, 2008 9:34 PM said: |
JoeStagner, you have mentioned that we have to use GET and POST directly, to invoke invoke server side calls from javascript without invoking a web service.
Do you have any sample for this? or can you please let me know in detail how can I achieve this?
I would like to use it.
|
|
|
| Sarkie : On July 01, 2008 5:53 AM said: |
In 3.5 or 2008 it shows for the
var ret = SimpleService.SayHello(document.getElementById('Text1').val ue, OnSuccess,OnFailure, "UserContextDataHere");
Only OnSuccess and OnFailure, no OnTimeout and allows UserContext data being sent around etc.
This correct?
Sarkie
|
|