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

Discussion in '.NET' started by jason9364, Nov 19, 2007.

  1. jason9364

    jason9364

    Joined:
    Nov 19, 2007
    Messages:
    2
    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
    jason9364, Nov 19, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mihir
    Replies:
    1
    Views:
    11,078
    Bruce Barker
    Jan 5, 2006
  2. UJ
    Replies:
    0
    Views:
    449
  3. =?Utf-8?B?V2luRGV2?=

    enableEventValidation

    =?Utf-8?B?V2luRGV2?=, Feb 7, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    2,400
    bruce barker
    Feb 7, 2007
  4. =?Utf-8?B?V2luRGV2?=

    enableEventValidation

    =?Utf-8?B?V2luRGV2?=, Mar 9, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    6,025
    jpasp@hotmail.com
    Mar 13, 2007
  5. Lewis Holmes
    Replies:
    4
    Views:
    575
    Steven Cheng [MSFT]
    May 2, 2008
Loading...

Share This Page