Monday, May 7, 2012

A page can have only one server-side Form tag.


Hi,
I have written ECMA script in the visual web part.
I have written the script to iterate list titles, id’s and should displayed this info on a pop up after button click.
After building successfully I deployed this web part on the page, then I got the below error


I removed the form tag as below screen shot which was above sharepoint scriptlink tag

Finally I got the result as per the expectations below after redeploying the solution