views:

81

answers:

1

Hi, I am doing development in sharepoint 2010. If I create a site page with the sharepoint look and feel for that site on save,i am getting this error:"Content in the embedded form may be changed by the the server to remove unsafe content.Do you want to reload your page to see the results of the save? " and when i say reload,the server removes some parts of my page, e.g onclick event of html,asp buttons.

I took a copy of 'How To Read Library' page just edited the text part of taht page,and when i try to save this error again comes up.

However,if i create a simple aspx page with only htmltags like head body,then thr is no problem ,everything works great. But sharepoint look and feel pages are giving troubles while saving.

has anybody seen this earlier,what could be the reason for this?

Thanks

A: 

did you ever get a resolution for this?

Which template did you use? I've had this same problem using the wiki site template, and found this link indicating you should use the blank site template:

http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/af116ce7-ba3b-4722-9d5e-6321ea323448

However, I'd hope there's a better solution

Felipe K