I doubt it has anything to do with the code you have, might be the local machine browser issue.
Asheej T K
Put everything inside the modal popup's panel in a update panel.
Refer the below link :
Hope this will help you.
DNS Gold Member
"Failure is the path of least persistence"