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. Custom Control Troubles

Custom Control Troubles

Scheduled Pinned Locked Moved ASP.NET
questioncsharpjavascriptasp-netvisual-studio
2 Posts 2 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.
  • B Offline
    B Offline
    bigmacrox
    wrote on last edited by
    #1

    How can I create a control or object in asp.net whose public methods I can access through javascript? I tried creating a web user control, but that didn't work. I don't know if COM objects is the way to go or not. I know this covers a lot of area, but if you know of any tutorial websites or articles at codeproject that may help, please include them in your reply. I'm using MS VS 2005 and .net 2.0. thanks.

    G 1 Reply Last reply
    0
    • B bigmacrox

      How can I create a control or object in asp.net whose public methods I can access through javascript? I tried creating a web user control, but that didn't work. I don't know if COM objects is the way to go or not. I know this covers a lot of area, but if you know of any tutorial websites or articles at codeproject that may help, please include them in your reply. I'm using MS VS 2005 and .net 2.0. thanks.

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      The server-side public methods are not directly accessible from the client-side javascript. However, Atlas (http://www.asp.net/default.aspx?tabindex=9&tabid=47[^]) or Ajax.NET (http://ajax.schwarz-interactive.de/csharpsample/default.aspx[^]) might be a possible solution.

      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