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. Validate jQuery Modal ?

Validate jQuery Modal ?

Scheduled Pinned Locked Moved ASP.NET
questionjavascriptdesignsysadmin
6 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.
  • Z Offline
    Z Offline
    zeego
    wrote on last edited by
    #1

    How can I get server side validators to work with JQuery UI Modal with validation groups ? :(

    N 1 Reply Last reply
    0
    • Z zeego

      How can I get server side validators to work with JQuery UI Modal with validation groups ? :(

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Query has nothing to do with server side code. If you want they server side validation events to fire then have the page do a post back.


      I know the language. I've read a book. - _Madmatt

      Z 1 Reply Last reply
      0
      • N Not Active

        Query has nothing to do with server side code. If you want they server side validation events to fire then have the page do a post back.


        I know the language. I've read a book. - _Madmatt

        Z Offline
        Z Offline
        zeego
        wrote on last edited by
        #3

        Actually the problem was modal being attached outside of

        tag. Can you suggest any other jquery validation plugin which emulates validation groups on asp.net webforms ?

        N 1 Reply Last reply
        0
        • Z zeego

          Actually the problem was modal being attached outside of

          tag. Can you suggest any other jquery validation plugin which emulates validation groups on asp.net webforms ?

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          If the controls are not inside a form tag it doesn't matter, the validators won't work anyway. Is there a reason you need to use a server validation method? You can't use Page_Vaiidate("validation group name") within javascript?


          I know the language. I've read a book. - _Madmatt

          Z 1 Reply Last reply
          0
          • N Not Active

            If the controls are not inside a form tag it doesn't matter, the validators won't work anyway. Is there a reason you need to use a server validation method? You can't use Page_Vaiidate("validation group name") within javascript?


            I know the language. I've read a book. - _Madmatt

            Z Offline
            Z Offline
            zeego
            wrote on last edited by
            #5

            I have different jQuery UI Modal dialogs on a webform. I need to emulate validation groups on each UI Modal so I was trying server side validators because I could not emulate validation groups with jQuery. I did not knew about page_validate previously. What do you suggest ? Should I just fire the server validation groups with Page_Validate or do I use a separate plugin ? :sigh:

            N 1 Reply Last reply
            0
            • Z zeego

              I have different jQuery UI Modal dialogs on a webform. I need to emulate validation groups on each UI Modal so I was trying server side validators because I could not emulate validation groups with jQuery. I did not knew about page_validate previously. What do you suggest ? Should I just fire the server validation groups with Page_Validate or do I use a separate plugin ? :sigh:

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              Page_Validate will not fire server validation methods, it will perform the validations on the client.


              I know the language. I've read a book. - _Madmatt

              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