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. AjaxModalPopup clicking OK button ,should reatin focus on textbox

AjaxModalPopup clicking OK button ,should reatin focus on textbox

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

    Hi All, I have a ModalPopextender control on my page. When I enter some value on the textbox i am calling one Javascript function to validate the value in the textbox with onBlur event. if the validation error rises i am showing that error on AjaxModalPopcontrol . and when i Press "ok" on that Control, i Should retain the Focus on The textBox agian. How to Achieve this?

    fttyhtrhyfytrytrysetyetytesystryrty

    N M 2 Replies Last reply
    0
    • Y yadlaprasad

      Hi All, I have a ModalPopextender control on my page. When I enter some value on the textbox i am calling one Javascript function to validate the value in the textbox with onBlur event. if the validation error rises i am showing that error on AjaxModalPopcontrol . and when i Press "ok" on that Control, i Should retain the Focus on The textBox agian. How to Achieve this?

      fttyhtrhyfytrytrysetyetytesystryrty

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

      yadlaprasad wrote:

      How to Achieve this?

      Sometimes you have to step away from drop & drag and actually do something yourself. Write the script for the button click event :rolleyes:


      only two letters away from being an asset

      1 Reply Last reply
      0
      • Y yadlaprasad

        Hi All, I have a ModalPopextender control on my page. When I enter some value on the textbox i am calling one Javascript function to validate the value in the textbox with onBlur event. if the validation error rises i am showing that error on AjaxModalPopcontrol . and when i Press "ok" on that Control, i Should retain the Focus on The textBox agian. How to Achieve this?

        fttyhtrhyfytrytrysetyetytesystryrty

        M Offline
        M Offline
        Muhammad Mazhar
        wrote on last edited by
        #3

        try putting some javascript to change foucs on OnClientClick event of OK button

        Share your experience with others Check my Blog...

        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