Click here to Skip to main content
15,902,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I did a registration form with two modes.
One for registration,And another for edit registration,.;
When i am doing edition, i gets already entered values of A Particular Person details in corresponding
controls from database.i have a button for check availability,By clicking this my page get reloaded and
filling database values again instead of changed value,I want a solution for keeping last entered value
in particular controls or give me any other idea for not refreshing changed controls....... Thanks in Advance
Posted

You must have written the code of filling the textbox value from database outside the "IsPostBack" check.

Add a condition of "if (!Page.IsPostBack)" while filling values of textbox from database.

Note: I hope this is Asp.Net
 
Share this answer
 
Comments
Monjurul Habib 1-Nov-11 5:51am    
nice answer
Hi,

use Update panel for this...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900