Backspace in Readonly Textbox

Discussion in 'ASP .Net Web Controls' started by John Walker, Oct 27, 2005.

  1. John Walker

    John Walker Guest

    Hi,
    I have a textbox in a datagrid and on an onchange event that field may
    become readonly. The problem is when the user highlights the text in that
    box and presses the backspace button because Explorer with recognize that as
    a user request to go to the previous web page. Is there a was to
    programmatically disable backspace as a "go to last past" request?

    Thanks,
    John
     
    John Walker, Oct 27, 2005
    #1
    1. Advertising

  2. I usually disable the browser page cache. This link from 4guysfromrolla is a
    helpful reference: http://www.4guysfromrolla.com/webtech/111500-1.shtml

    --
    HTH,
    Phillip Williams
    http://www.societopia.net
    http://www.webswapp.com


    "John Walker" wrote:

    > Hi,
    > I have a textbox in a datagrid and on an onchange event that field may
    > become readonly. The problem is when the user highlights the text in that
    > box and presses the backspace button because Explorer with recognize that as
    > a user request to go to the previous web page. Is there a was to
    > programmatically disable backspace as a "go to last past" request?
    >
    > Thanks,
    > John
     
    Phillip Williams, Oct 27, 2005
    #2
    1. Advertising

  3. John Walker

    John Walker Guest

    Thanks!

    "Phillip Williams" wrote:

    > I usually disable the browser page cache. This link from 4guysfromrolla is a
    > helpful reference: http://www.4guysfromrolla.com/webtech/111500-1.shtml
    >
    > --
    > HTH,
    > Phillip Williams
    > http://www.societopia.net
    > http://www.webswapp.com
    >
    >
    > "John Walker" wrote:
    >
    > > Hi,
    > > I have a textbox in a datagrid and on an onchange event that field may
    > > become readonly. The problem is when the user highlights the text in that
    > > box and presses the backspace button because Explorer with recognize that as
    > > a user request to go to the previous web page. Is there a was to
    > > programmatically disable backspace as a "go to last past" request?
    > >
    > > Thanks,
    > > John
     
    John Walker, Oct 27, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sara
    Replies:
    0
    Views:
    670
  2. John Saunders
    Replies:
    0
    Views:
    484
    John Saunders
    Jul 28, 2004
  3. Cowboy \(Gregory A. Beamer\) [MVP]

    Re: How do I Stop the Backspace from Navigating Backwards?

    Cowboy \(Gregory A. Beamer\) [MVP], Jul 28, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    387
    Cowboy \(Gregory A. Beamer\) [MVP]
    Jul 28, 2004
  4. Cal Lidderdale

    HTML backspace

    Cal Lidderdale, Jul 21, 2006, in forum: HTML
    Replies:
    1
    Views:
    8,990
    Toby Inkster
    Jul 22, 2006
  5. Jonathan Hyatt
    Replies:
    1
    Views:
    1,964
    Jonathan Hyatt
    Jun 8, 2004
Loading...

Share This Page