enableEventValidation and <form> causes web part modification buttons to fail

Joined
Nov 19, 2007
Messages
2
Reaction score
0
Hi - quite a newbie here, with a bit of a sharepoint problem that seems to be associated with the setting of enableEventValidation false in the web.config file.

I have a web part that generates HTML dynamically using a web service. The HTML contains a <form> that is swapped dynamically using javascript and ajax. This all works fine until I want to 'modify shared web parts'. Everything renders correctly, all the web part configuration data is available (including my own custom stuff), but the APPLY, CANCEL and OK button don't do anything - pressing any of them just leaves the display as was. This happens for ALL the web parts on the page.

If I remove the <form> element from the HTML, then the buttons work fine.

Any ideas? I have to have the enableEventValidation false otherwise the <form> will not let the modifiy shared web parts pane appear at all, giving the usual permissions error.

I was wondering if anyone could think of a reason the buttons would not work - the presence of a <form> element clearly buggers it

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top