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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to call a javascript function from a linkbutton which is not in grid

how to call a javascript function from a linkbutton which is not in grid

Scheduled Pinned Locked Moved ASP.NET
javascriptcsstutorial
5 Posts 4 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.
  • A Offline
    A Offline
    anushh
    wrote on last edited by
    #1

    how to call a javascript function from a linkbutton which is not in grid

    C A 2 Replies Last reply
    0
    • A anushh

      how to call a javascript function from a linkbutton which is not in grid

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      At this time, every day, a ton of questions start getting posted. Most of them make no sense. How do you call a javascript function from a link button ? You call it. How does it matter that it's not in a grid ? What are you trying to do exactly ? What have you written and what is going wrong ? I can't work out how your question makes sense.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • A anushh

        how to call a javascript function from a linkbutton which is not in grid

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        What is the problem?? use <asp:linkbutton OnClientClick="javascript:yourfunction()" ... >

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        A 1 Reply Last reply
        0
        • A Abhishek Sur

          What is the problem?? use <asp:linkbutton OnClientClick="javascript:yourfunction()" ... >

          Abhishek Sur


          My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

          **Don't forget to click "Good Answer" if you like to.

          A Offline
          A Offline
          anushh
          wrote on last edited by
          #4

          Thanks for ur reply. I got the solution

          S 1 Reply Last reply
          0
          • A anushh

            Thanks for ur reply. I got the solution

            S Offline
            S Offline
            sashidhar
            wrote on last edited by
            #5

            when u got the solution mark it as answer for him

            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