Click here to Skip to main content
15,799,398 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
I have IFrame in my Main Page.This IFrame contain Html Table Tag that contain TD tag, its attribute is set as runat "server".My Main Page Contain one HTML Reset Button and one HTML Submit Button.
When I click on Reset button I want to clear TD tag value from javascript.
Do any one have any idea about this as it is getting cleared in javascript but still seen its value on server side for submit button click .
Ed Nutting 7-Mar-12 2:30am    
Seen where? If you see it in the Page_Load after the submit then this isn't surprising - look up the ASP>Net Page Life Cycle in Google (MSDN is the best) - it will explain why this happens. If you are actually seeing it in the button click method itself then that is surprising and I can't say I have any ideas on what could be causing it...

Hope this helps,
ZurdoDev 7-Mar-12 8:04am    
You could share some code and then we can look.

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