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. ASP.Net button appears twice in run time

ASP.Net button appears twice in run time

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

    I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.

    Your help is much appreciated. Thanks Happy Coding!

    J L 2 Replies Last reply
    0
    • S sudevsu

      I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.

      Your help is much appreciated. Thanks Happy Coding!

      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      How did you make the button? In Code behind or using the Web form, perhaps Javascript? Is this a ASP.Net Object Button?

      S 1 Reply Last reply
      0
      • S sudevsu

        I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.

        Your help is much appreciated. Thanks Happy Coding!

        L Offline
        L Offline
        loben3
        wrote on last edited by
        #3

        Try to check your detailed button click-event in code behind if you have declare the button in The second button click-event that will happened ,or if declare your button in The page-load event That will happened tow if it does not work try to post your code

        S 1 Reply Last reply
        0
        • J jkirkerx

          How did you make the button? In Code behind or using the Web form, perhaps Javascript? Is this a ASP.Net Object Button?

          S Offline
          S Offline
          sudevsu
          wrote on last edited by
          #4

          It is

          Your help is much appreciated. Thanks Happy Coding!

          1 Reply Last reply
          0
          • L loben3

            Try to check your detailed button click-event in code behind if you have declare the button in The second button click-event that will happened ,or if declare your button in The page-load event That will happened tow if it does not work try to post your code

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

            I got this solved. I have two update panels and so it behaves weird ... I arranged them properly in one update panel and works good. Thank you all

            Your help is much appreciated. Thanks Happy Coding!

            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