Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone

Need cotnrol that should not clear when postback
I developented a web page that contain two panel controls
Every panel has html table inside, runtime I add row in side table every row I create lable control. When I create execute one panel so other panel become clear
Can any onle sugges me how can handel this situation I have so many questions.
1.while loading form I want to create some control in web page according to that I search value inside the database and result in my grid.
2.Can we put frame/panel/any other control that should not clear at the time of post ?
3.I need several panel inside my page that should not be clear can I do this?

thanks
best regards


[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 29-Jun-11 4:19am
v2
Comments
OriginalGriff 29-Jun-11 10:19am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Simon_Whale 29-Jun-11 10:36am    
Without seeing a code sample we can't really see what is going wrong

You may use AJAX Updatepanel

AJAX multiple Update Panel, Triggers in ASP.NET[^]
 
Share this answer
 
hi,

html table is not server control so when postback happen it will clear pls use updatepanel
 
Share this answer
 
If you are adding control dynamically, it will not retain its state. On every postback you have to add the controls in the panels again. To use frame is not the solution of your problem. I believe you should explain more about your problem what you want to exactly. You can add as many panels as you want. Question is about what you are doing with all these panels.
 
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