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. Problem in onServerClick

Problem in onServerClick

Scheduled Pinned Locked Moved ASP.NET
helphtmlsysadminquestion
5 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.
  • S Offline
    S Offline
    slSoftware
    wrote on last edited by
    #1

    hi all im display some data asynchronously im home page (Form A),so i retrieve bunch of HTML of code from separate ASPX form (Form B),from (Form B) im having A tag and i have define event onserverClick there, but its not fire when its retrieve from the Form A, how can i fire that event, is there any different way to fire the server side event. Please help me to do this, Thanks

    B 1 Reply Last reply
    0
    • S slSoftware

      hi all im display some data asynchronously im home page (Form A),so i retrieve bunch of HTML of code from separate ASPX form (Form B),from (Form B) im having A tag and i have define event onserverClick there, but its not fire when its retrieve from the Form A, how can i fire that event, is there any different way to fire the server side event. Please help me to do this, Thanks

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      onserverClick will be called on click event else you have an option to call it by own.So I think when at your home page,you get the data then call it.

      Cheers!! Brij

      S 1 Reply Last reply
      0
      • B Brij

        onserverClick will be called on click event else you have an option to call it by own.So I think when at your home page,you get the data then call it.

        Cheers!! Brij

        S Offline
        S Offline
        slSoftware
        wrote on last edited by
        #3

        hi my code is like this outputText += ""; outputText += ""; protected void lnk_Click(object sender, EventArgs e) { } so this is not fire, could help me to fire this event.

        B S 2 Replies Last reply
        0
        • S slSoftware

          hi my code is like this outputText += ""; outputText += ""; protected void lnk_Click(object sender, EventArgs e) { } so this is not fire, could help me to fire this event.

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          where you have assigned this event lnk_Click on aspx page

          Cheers!! Brij

          1 Reply Last reply
          0
          • S slSoftware

            hi my code is like this outputText += ""; outputText += ""; protected void lnk_Click(object sender, EventArgs e) { } so this is not fire, could help me to fire this event.

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

            hi i solved my problem, i have put href for A tag with query string, from redirect page i retrieve that query string and do other stuff, when u put onclick also it wasn't work for me :( Thanks

            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