Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Page_load Fired Twice - XMLHttpRequest

$
0
0

Help me please

I added custom ribbon button into sharepoint  with code in element.xml

CommandAction="/_layouts/.../test.aspx?ListID={ListId}&...

I was debugging test.aspx page, when i noticed that its load event handlers are being called twice.

But is not Postback reason. I found first call is with Request.Headers["X-Requested-With"] = "XMLHttpRequest"

What is the reason ? I think previously worked it correctly for me (only once)

What I activated?

Thank you very much



Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>