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 call code behind using javascript

how to call code behind using javascript

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminhelptutorialquestion
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.
  • M Offline
    M Offline
    max_dev2006 yahoo com
    wrote on last edited by
    #1

    hi I have a datalist. Linkbuttuon inside it. On clikc of which i need to fll up a data repeater with images of particular id .(commandargument of linkbutton is id) Now I need to do this same with href. Means I want to put href instead of linkbutton .so I want fun() calls the codebehind method which fills up datarepeater with images of particular id. But I dont want this to be ajax method as it wont access server controls in code behind. means if fun('id') calls FillUp() in code behind which is declared as ajax method then i wont be able to get repeater access in it . Now i m trapped here. Neither I can use ajax nor I want to use linkbutton as on its mouseover i get javascript_dopostback() comes which need to be removed. so plz suggest any alternative ? Prob 1 : put linkbutton but remove javascript_dopostback() from status bar on mouseover. Prob 2 : If use anchor instead linkbutton then how to fill up repeater with javascript method. plz help . regards, max

    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