1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to set field values null when coming back from another page in asp.net

Discussion in 'C#' started by urvinit, May 14, 2010.

  1. #1
    I have created a page in asp.net in which there are some textboxes, after filling the values when user sumbmit the data, it redirect to another page.

    My problem is that when user comes back to the page through browser's back button the values in the textboxes is already filled,which user had filled before submitting the page.

    My requirement is that when user comes back, field values should be null.

    Vinit Singh
    http://forum.cosprotechnology.com/
     
    urvinit, May 14, 2010 IP
  2. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    You can clear all the values of the text box before navigate to the next page.
     
    bibinsmk, May 14, 2010 IP
  3. gangwisch

    gangwisch Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes in your code under the form load event you should place the following
    This should do it for you
     
    gangwisch, May 15, 2010 IP