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. How Redirecting Page to same...

How Redirecting Page to same...

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
5 Posts 4 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
    Sam M
    wrote on last edited by
    #1

    Hi there,.. I'm using ASP.NET 2.0 and also applied Ajax Concept. Now in one page(MyAccount.aspx), if i click enter with focus on one Textbox this is redirecting to home page that is first page. I also using Master page. Why it's happening. It should redirect to that same page(i.e) My Account Page.. Please Help me Regards n Thks Sam.M

    Regards n Thks Sam.M

    V W E 3 Replies Last reply
    0
    • S Sam M

      Hi there,.. I'm using ASP.NET 2.0 and also applied Ajax Concept. Now in one page(MyAccount.aspx), if i click enter with focus on one Textbox this is redirecting to home page that is first page. I also using Master page. Why it's happening. It should redirect to that same page(i.e) My Account Page.. Please Help me Regards n Thks Sam.M

      Regards n Thks Sam.M

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Could please post the HTML sources? If you have written code for the TextBox, then post it also...

      Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group

      S 1 Reply Last reply
      0
      • V Venkatesh Mookkan

        Could please post the HTML sources? If you have written code for the TextBox, then post it also...

        Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group

        S Offline
        S Offline
        Sam M
        wrote on last edited by
        #3

        This is the HTML Source for textbox i created.. asp:TextBox ID="TxtCode" runat="server" Width="105px" /asp:TextBox Thks

        Regards n Thks Sam.M

        1 Reply Last reply
        0
        • S Sam M

          Hi there,.. I'm using ASP.NET 2.0 and also applied Ajax Concept. Now in one page(MyAccount.aspx), if i click enter with focus on one Textbox this is redirecting to home page that is first page. I also using Master page. Why it's happening. It should redirect to that same page(i.e) My Account Page.. Please Help me Regards n Thks Sam.M

          Regards n Thks Sam.M

          W Offline
          W Offline
          Walter_H
          wrote on last edited by
          #4

          by pressing enter normally the default-control's event is fired. i.e if you have a submit-button on your site then probably this one is pressed. -walter

          1 Reply Last reply
          0
          • S Sam M

            Hi there,.. I'm using ASP.NET 2.0 and also applied Ajax Concept. Now in one page(MyAccount.aspx), if i click enter with focus on one Textbox this is redirecting to home page that is first page. I also using Master page. Why it's happening. It should redirect to that same page(i.e) My Account Page.. Please Help me Regards n Thks Sam.M

            Regards n Thks Sam.M

            E Offline
            E Offline
            Electronic Screw
            wrote on last edited by
            #5

            Are you handling any keyevent (enter) for the textbox? If not your default button on the page will get fired. Thanks

            Its not so easy to do... So are you here!

            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