Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. MaintainScrollPositionOnPostback, EnableEventValidation and IE5

MaintainScrollPositionOnPostback, EnableEventValidation and IE5

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-nettools
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Praveen Nayak
    wrote on last edited by
    #1

    Hi, I have an ASP.Net application and I have enabled the above two properties on my page. Everything works fine on every OS-Browser combination, but on Windows 2000, with IE5, 1. As soon as the page opens up, I get a JavaScript error "Object doesn't support this property or method". I identified the problem is because of enabling MaintainScrollPositionOnPostBack, which tries to change the submit property of the page: I set the property to false and all works fine even on IE5 theForm.submit = WebForm_SaveScrollPositionSubmit; 2. The page implements ICallbackEventHandler, and has script callbacks at various intervals on the page. When the page submits, I get the error "Invalid Postback or callback argument...use ClientScriptManager.RegisterForEventValidation in order to register the postback or callback data for validation" As I said, this problem only occurs on IE5, but I searched around and there are not a lot of people complaining about this. Has anyone else faced this problem with IE5 before, or can I avoid this problem somehow? Thanks, Praveen

    There has to be more to life than just this

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups