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

I am using an Update Panel in web control in C# asp.net for updating one section of my web page. Web control is placed in web page. I have submit button to update the content.

Problem is it updates the content on first click of submit button, but then after it stops refreshing the panel. Even though it is updating the data in database changes is not being reflected in page. When i do complete refresh (CTR+F5) it again works fine for 1 time.

Can some body Help.

I am new to asp.net programming.

To give you the idea my page looks like this (which is a content of Master Page)


C#
<form>
<webcontrol goes="" some="" where="" here="" in="" table="">
</form>
</webcontrol>



web control looks like this
C#
<updatepanel>
<repeater>
<itemtemplate>
<submit button="" ...="" which="" fires="" click="" event="">
</submit></itemtemplate>
</repeater>
</updatepanel>



Hope this will help you to understand my problem.

Any help will be highly appreciated.
Posted
Comments
Toniyo Jackson 1-Aug-11 5:44am    
OP: Yes submit button is in Update Panel and it is updating the panel first time but not then after

1 solution

Thw submit buttom should be placed in the updatepanel then the panel will be refreshed
 
Share this answer
 
Comments
Toniyo Jackson 1-Aug-11 5:44am    
OP: Yes submit button is in Update Panel and it is updating the panel first time but not then after
premalvala 2-Aug-11 3:18am    
Yes submit button is in Update Panel and it is updating the panel first time but not then after

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