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

Iam working with registration form.I kept registration form in asp.net panel for set the default button for that registration form. Due to this some javascript function is not working.If i delete panel that javascript function is working fine. but i want to set some default button for that page.The page is content page not a normal page.


Any suggestions or solutions helpful to me.

Thank You
Posted
Comments
Syed Salman Raza Zaidi 7-Dec-11 6:51am    
Share some code

You can use
in place of Panel. For visibility,
use at cs page - divAnc.attributes.add("Style", "block") and divAnc.attributes.add("Style", "none")
 
Share this answer
 
try using getelementbyid(controlname.clientid) instead of getelementbyid(controlname) in the javascript where u r using the controls.
Hope it works.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900