[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"/2025/09/16-html-object-tag-and-silverlight-plugin-reload":3},{"id":4,"title":5,"body":6,"date":51,"description":44,"extension":52,"meta":53,"navigation":54,"path":55,"robots":56,"seo":57,"stem":58,"__hash__":59},"posts/2025/09/16 HTML-object-tag-and-silverlight-plugin-reload.md","16 HTML Object Tag And Silverlight Plugin Reload",{"type":7,"value":8,"toc":48},"minimark",[9,18,25,28,31,45],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"html-object-tag-and-silverlight-plugin-reload","HTML Object Tag and Silverlight Plugin Reload",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 10/6/2016.",[26,27],"br",{},[22,29,30],{},"I have a Silverlight plugin that I don't want it to be refreshed or reloaded. But in my case, it always reloaded itself though nothing on the page caused a postback. Later on, I found out that I have a javascript code that hide and show the container of the plugin (div with id of someDiv in the code below).",[32,33,34],"code-block",{},[35,36,41],"pre",{"className":37,"code":39,"language":40},[38],"language-text","\u003Cdiv id=\"someDiv\">\n  \u003Cobject data=\"data:application/x-silverlight-2,\" type=\"application/x-silverlight-2\">\n  ...\n  \u003C/object>\n\u003C/div>\n","text",[42,43,39],"code",{"__ignoreMap":44},"",[22,46,47],{},"Apparently that causes the object tag to reload the plugin. My workaround thus is to set the height of the object tag to 0 px, that solves the problem.",{"title":44,"searchDepth":49,"depth":49,"links":50},2,[],"2025-09-16T00:00:00.000Z","md",{},true,"/2025/09/16-html-object-tag-and-silverlight-plugin-reload",null,{"title":5,"description":44},"2025/09/16 HTML-object-tag-and-silverlight-plugin-reload","ZAIjLdXTNFzAm-RIiIUzkSJmIWiTtKJbBL0X-cWoA-U",1785167453150]