Posts

Showing posts from July, 2013

Silverlight Webpart 5 Second Timeout Error - Fix

Hi All, There is the way to set time out for Silverlight web part. This time out happens when web part can't load xap file. The value is hard-coded within web part and equal 5 sec which is not so much.   So, Just use the below snippet in the page <script type="text/javascript"> function _spCheckIfSilverlightPluginIsLoaded_WebPartctl00_m_g_0f7cd87d_f3fd_49d9_91ec_ad4b46cfe999(){} </script> And add the below snippet where the Silverlight Webpart hosted   <script type="text/javascript"> function _spSetSLPluginNotLoadedErrorMessage(wpId){  }  </script>  Now you wont face a timeout :) Regards Ratsub