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. Advertisements

  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. Advertisements

  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. Advertisements

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. doug albright
    Replies:
    0
    Views:
    557
    doug albright
    Aug 30, 2003
  2. Angela Chen
    Replies:
    3
    Views:
    9,358
    parshuram
    Dec 6, 2004
  3. Replies:
    4
    Views:
    1,169
    Zoe Brown
    Sep 12, 2005
  4. =?Utf-8?B?SmltIEhlYXZleQ==?=

    Textbox Readonly

    =?Utf-8?B?SmltIEhlYXZleQ==?=, Jun 30, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    645
    =?Utf-8?B?SmltIEhlYXZleQ==?=
    Jun 30, 2005
  5. =?Utf-8?B?THluZXJz?=

    conditional readonly textbox in a datagrid

    =?Utf-8?B?THluZXJz?=, Nov 11, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    3,418
    =?Utf-8?B?THluZXJz?=
    Nov 11, 2005
  6. ThunderMusic

    Disapearing cursor on some Readonly textbox

    ThunderMusic, Jan 23, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,043
    ThunderMusic
    Jan 23, 2006
  7. ShaneFowlkes
    Replies:
    9
    Views:
    9,767
    ShaneFowlkes
    Apr 12, 2006
  8. Jonathan Hyatt
    Replies:
    1
    Views:
    2,916
    Jonathan Hyatt
    Jun 8, 2004
Loading...