Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have grid n textbox when i select grid row that time the value is displaying in textbox but when i click on button which in main master page that time textbox box value goes which is in content page .textbox disply blank value?help me?
Posted
Updated 18-Oct-12 18:15pm
v2
Comments
vivektiwari97701 18-Oct-12 5:47am    
where is ur code????provide me ur code..

use ajax partial postback. use update panel
 
Share this answer
 
rebind the textbox in grid after button click fires...
you can write below code after binding grid
((TextBox)gridview1.HeaderRow.FindControl("tbSearch")).Text = "yourtext";
 
Share this answer
 
Comments
Er. Gayatri 19-Oct-12 0:29am    
Is your textbox inside grid or outside?
manak chand 19-Oct-12 1:03am    
inside the grid

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