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 using panels

Problem using panels

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

    Hi Friends I am using Textbox inside a panel. And the Textbox has Validator. The Validator is not getting fired? Its pretty strange. If i keep the panel in Visible = true on pageload. I see the Validator works. But once i make its Visible = false and then again Visible = true. Thereafter the Validators dont work. Any idea friends. Any suggestions would be appreciated. Thanks Cheers Menon

    J 1 Reply Last reply
    0
    • M M_Menon

      Hi Friends I am using Textbox inside a panel. And the Textbox has Validator. The Validator is not getting fired? Its pretty strange. If i keep the panel in Visible = true on pageload. I see the Validator works. But once i make its Visible = false and then again Visible = true. Thereafter the Validators dont work. Any idea friends. Any suggestions would be appreciated. Thanks Cheers Menon

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      Are you making the panel visible true, false on the client-side using Javascript?

      Regards
       - J O N -


      M 1 Reply Last reply
      0
      • J John ph

        Are you making the panel visible true, false on the client-side using Javascript?

        Regards
         - J O N -


        M Offline
        M Offline
        M_Menon
        wrote on last edited by
        #3

        Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon

        I J 2 Replies Last reply
        0
        • M M_Menon

          Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          mady1380 wrote:

          On click method of button

          On Click Method???:confused:

          mady1380 wrote:

          if(panel.visible) panel.visible=true; else panel.visible=false;

          Can you tell me when your panel will be visible false?

          mady1380 wrote:

          my table is inside UpdatePanel

          where is panel and button? best regard pathan

          please don't forget to vote on the post that helped you.

          M 1 Reply Last reply
          0
          • M M_Menon

            Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon

            J Offline
            J Offline
            John ph
            wrote on last edited by
            #5

            try adding the below code to the IF statement if the panel visbility true...It may work. Not sure...jus check... if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();

            Regards
             - J O N -


            M 1 Reply Last reply
            0
            • I Imran Khan Pathan

              mady1380 wrote:

              On click method of button

              On Click Method???:confused:

              mady1380 wrote:

              if(panel.visible) panel.visible=true; else panel.visible=false;

              Can you tell me when your panel will be visible false?

              mady1380 wrote:

              my table is inside UpdatePanel

              where is panel and button? best regard pathan

              please don't forget to vote on the post that helped you.

              M Offline
              M Offline
              M_Menon
              wrote on last edited by
              #6

              button is in one row, and the Panel is in Row below it.. Cheers Menon

              1 Reply Last reply
              0
              • J John ph

                try adding the below code to the IF statement if the panel visbility true...It may work. Not sure...jus check... if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();

                Regards
                 - J O N -


                M Offline
                M Offline
                M_Menon
                wrote on last edited by
                #7

                Hi Jon Thanks. I just had a look at the CollapsiblePanel in AjaxToolkit. It works fine for me. Still thanks for you suggestion. Cheers Menon

                J 1 Reply Last reply
                0
                • M M_Menon

                  Hi Jon Thanks. I just had a look at the CollapsiblePanel in AjaxToolkit. It works fine for me. Still thanks for you suggestion. Cheers Menon

                  J Offline
                  J Offline
                  John ph
                  wrote on last edited by
                  #8

                  you are most welcome

                  Regards
                   - J O N -


                  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