Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to set path to the scriptreference in ScriptManager

how to set path to the scriptreference in ScriptManager

Scheduled Pinned Locked Moved ASP.NET
helpjavascripttutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lovedotnet
    wrote on last edited by
    #1

    hi...i need to give the path of the webservice(which is running in another machine) in the serviceReference....if the webservice is in our solution then we use the following code asp:servicereference path="~/WebServices/MySampleService.asmx" but now my webservice is in another machine which is published.... i have written code like this... asp:servicereference path="http://12.18.15.17/WebServices/MySampleService.asmx" but the javascript throws error "Mysampleservice" is undefined... ..can anyone suggest me how to fix this?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups