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. OnServerClick in asp.net 2.0 hyperlink control

OnServerClick in asp.net 2.0 hyperlink control

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
3 Posts 3 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.
  • U Offline
    U Offline
    Uma Kameswari
    wrote on last edited by
    #1

    Tell me how to call a serverside function on the click of a hyperlink because in asp:hyperlink there is no such method called as onclick There is a method called onserverclick method in hyperlink a href but it is not calling the serverside function I need to call a serverside function Thanks in advacne Regards, Uma

    N S 2 Replies Last reply
    0
    • U Uma Kameswari

      Tell me how to call a serverside function on the click of a hyperlink because in asp:hyperlink there is no such method called as onclick There is a method called onserverclick method in hyperlink a href but it is not calling the serverside function I need to call a serverside function Thanks in advacne Regards, Uma

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Why you are so specific to call server side function from hyperlink. Try using linkbutton instead of that. Or use AJAX to call server side function from hyperlink button


      printf("Navaneeth!!") www.w3hearts.com

      1 Reply Last reply
      0
      • U Uma Kameswari

        Tell me how to call a serverside function on the click of a hyperlink because in asp:hyperlink there is no such method called as onclick There is a method called onserverclick method in hyperlink a href but it is not calling the serverside function I need to call a serverside function Thanks in advacne Regards, Uma

        S Offline
        S Offline
        Sathesh Sakthivel
        wrote on last edited by
        #3

        Better to go with Ajax or Link Button.Hyperlink is not the good method to follow on the OnServerClick event.

        Regards, Satips.

        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