ASP.NET Writeback Issues in IE8

I work locally on an ASP.NET site and am experiencing problems with postbacks in IE8 .

I have a page with repeater that builds a table, and each row has a LinkButton on it, which is used to delete this row.

In FireFox and Chrome button works as expected - the forms are sent back, and all values ​​from the form are available for processing. In IE8, the form is submitted back, but the collection of forms is empty, with the exception of the button that triggered the postback .

This is a problem because

  • It's weird and I don't understand and
  • I use the values ​​from the published reverse form to restore some business objects (I do not store them in viewstate or session , but rebuild them from scratch based on the values ​​entered by the user in the form). When I send a message from FF/Chrome , the full form is displayed here (for example, Request.Form.AllKeys has, say, 60 elements), and I can get the values ​​for my business object. When I send a message from IE, my form is almost empty and my recovery code does not work (for example, Request.Form.AllKeys has, say, only 9 elements instead of the expected 60).

I find it difficult to explain why there is such a difference in the content of the postback form collection between FF/Chrome and IE and would greatly appreciate any insight / help in this regard.

I tried to break the problem as I see it - if any additional information is required, let me know. Thank you for your help.

0
source share
3 answers

I decided this - it turns out I had a form embedded in the main form on my main page. Deleted, and all is well.

+2
source

Your problem sounds unusual and not what I have ever met. Although I cannot help directly, I would recommend using Fiddler, a proxy server for web debugging , to check HTTP traffic as a diagnostic tool for what's ongoing. For example, "Fiddler" is free and can debug traffic from almost any application, including Internet Explorer, Mozilla Firefox, Opera and thousands of others ... "

+2
source

We had a similar problem in IE8 in Windows 2008, and the solution was to escalate user rights.

In Windows 2008 Machine, I had to go to:

Start> Administrative Tools> Local Security Policy> Local Policies> Security Option

then select "User Account Control: Admin Approval Mode for Embedded System Administrator Account"

Select Enable, and then Apply.

Thanks Anugrah

0
source

Source: https://habr.com/ru/post/1402735/


All Articles