Regstering a web services with Scriptmanager

A

Arne Garvander

The code below works fine in a sample test page. It stops working when I
apply a master page to my web page. What do I need to do different when I use
a master page?
(I am using Asp.net 3.5 sp1.)

<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<Services>
<asp:ServiceReference Path="~/BankService.asmx" />
</Services>
</asp:ScriptManagerProxy>
<script type="text/javascript">
function GetBank() {
var route = $get('Routing');
var bank = BankService.GetBank(route.value, onRequestComplete);
}
</script>
 
J

John Saunders

Arne Garvander said:
The code below works fine in a sample test page. It stops working when I
apply a master page to my web page. What do I need to do different when I
use
a master page?
(I am using Asp.net 3.5 sp1.)

Even though you are using the ScriptManager control in order to use a web
service, this question is not specific to web services. You would get a
faster answer by asking in the microsoft.public.dotnet.framework.aspnet
newsgroup.
 
A

Arne Garvander

I found my bug somewhere else in my code. There was nothing wrong with my
registration.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top