how can we stop a page (or all its controls) to be autoposted?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarswatnitesh
    New Member
    • Nov 2012
    • 1

    how can we stop a page (or all its controls) to be autoposted?

    i am tring to update a sql database table, first i select the values from database after it i display them into text boxes and drop dwon lists.and then i make required changes to values but when i click on update button the page is post backed and all values are set as they were already in database. can anyone help me.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Are you calling the DataBind method in your Page Load event?

    Performing a DataBind in Page Load is typically what causes this type of problem.

    -Frinny

    Comment

    Working...