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. Button Click Event Dosen't work inside TabContainer

Button Click Event Dosen't work inside TabContainer

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 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.
  • T Offline
    T Offline
    treuveni
    wrote on last edited by
    #1

    Hi, I have a TabContainer on my page that has 4 TabPanel, i've placed in each TabPanel a button with a click event, but only in the first TabPanel the event is fired. Note, also if i placed a button outside the TabPanel the event isn't working. Can someone please help me? 10x

    T 1 Reply Last reply
    0
    • T treuveni

      Hi, I have a TabContainer on my page that has 4 TabPanel, i've placed in each TabPanel a button with a click event, but only in the first TabPanel the event is fired. Note, also if i placed a button outside the TabPanel the event isn't working. Can someone please help me? 10x

      T Offline
      T Offline
      treuveni
      wrote on last edited by
      #2

      Solved!!! I had a RequiredFieldValidator at the first tab and when i pressed a button inside a diffrent tab the code-

      if (!Page.IsValid)
      return;

      stopped the event. To solved it i needed to give a validationGroup to the button in the first tab. :doh:

      B 1 Reply Last reply
      0
      • T treuveni

        Solved!!! I had a RequiredFieldValidator at the first tab and when i pressed a button inside a diffrent tab the code-

        if (!Page.IsValid)
        return;

        stopped the event. To solved it i needed to give a validationGroup to the button in the first tab. :doh:

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

        You can also view one of my Article Exploring ASP.NET Validators on ASP.NET validators. Hope you will like it.

        Cheers!! Brij My Blog:http://brijbhushan.wordpress.com
        Check my latest Article :ViewState - Various ways to reduce performance overhead

        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