Click here to Skip to main content
15,889,838 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It's very similar to this post:
http://stackoverflow.com/questions/11062006/mvc-action-getting-called-twice[^]

all elements are loaded twice, when i refresh the page, its loaded once only.

Close all IE-9 windows, open the network tab and see that every resource is asked twice from the server. refersh - it will be only once.

All other browsers load everything only once.
i think it is related to the RunAt=Server, but im not sure why.

Can anyone shed some light here?
thanks.

====================
30/9/2013 Update

i think it's because i get the following warning: "Document mode restart from Quirks to IE9", i tried playing with the DOCTYPE tag, but it still occurs. nothing seems to help.

I Can't remove the RunAt Server (as i'm doing a mandatory server side code), and i must support IE9
Posted
Updated 29-Sep-13 23:44pm
v3
Comments
Sampath Lokuge 29-Sep-13 11:38am    
Have you tried the solution given by SOF link?
arielb 29-Sep-13 11:42am    
sadly i cant, as i need this rendering (because i'm doing some server side code for each element)
Sampath Lokuge 29-Sep-13 13:49pm    
It seems the problem with IE 9.So why don't you update it into IE 10 and check ?
You can download any latest browser from below mentioned link and it's free. Check that.
http://browsehappy.com/
Dholakiya Ankit 30-Sep-13 2:49am    
That person got his answer did you see that post?
arielb 30-Sep-13 3:41am    
This is not a solution to "upgrade to ie10", we need to support all browsers (we can't tell our clients to not use IE9).


and which post are you talking about?

1 solution

i've managed to do a workaround, since IE was probably developed by amoebas, i've made the server return "edge" header by:
XML
<httpProtocol>
   <customHeaders>
      <clear />
      <add name="X-UA-Compatible" value="IE=edge" />
   </customHeaders>
</httpProtocol>


that fixed it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900