Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Silverlight – Silverlight plugin installed but not recognized as installed

This issue relates to Internet Explorer only. This problem does not affect Chrome or Firefox.

First, try this:

http://support.microsoft.com/kb/2608523

If that does not work or you get an error stating permission issues with AgControl.AgControl, then try this:

1. Run regedit …

Microsoft Silverlight 2.0 Beta 2 – Setting Initial Focus on Silverlight Control (Textbox)

(The initial discussion was for Silverlight 2.0 Beta 1)

Step #1

Create a dummy textbox for your initial SL XAML and set the following properties as follows:

Opacity="0" IsReadOnly="True" TabIndex="0"

Step #2

In the ‘loaded’ event of your initial SL …

Microsoft Silverlight 2.0 Beta 2 – InvalidOperationException occurred

Private WithEvents mylogonService As NewsrLogon.IwcfLogonServiceClient

Error:

Could not find default endpoint element that references contract
‘SilverlightApplication.srLogon.IwcfLogonService’ in the ServiceModel
client configuration section. This might be because no configuration file was
found for your application, or because no endpoint element matching …

Microsoft Silverlight 2.0 Beta 2 – How to navigate between xaml pages

Add the following to the app.xaml.vb:

 Dim mainUI As Grid = New Grid()

In Private Sub Application_Startup

 Me.RootVisual = mainUI

Add sub:

 Public Sub GoToPage(ByVal nextPg As UserControl)
      Dim app As App = CType(Application.Current, App)
      ' Remove the displayed page
      

Microsoft Silverlight – Resize controls in a canvas within the web browser

Using the ‘Canvas.RenderTransform’ in your base Silverlight XAML, along with some resizing logic in the base Silverlight .vb class, the controls within your browser will resize as you change the size of the browser.

In this scenario, the App.xaml Application_Startup …

Microsoft Silverlight – Error Logging to Isolated Storage

Isolated storage location is under

C:Users*username*AppDataLocalLowMicrosoftSilverlightis

To handle error logging in Silverlight, create a clsIsolatedStorage.vb

Imports System.IO
Imports System.Xml
Imports System.IO.IsolatedStorage
Imports MyApplication.clsApplicationGlobal
    Public Class clsIsolatedStorage
        Shared Sub ErrorHandler(ByVal mMode As String, ByVal Procedure As String, ByVal e As Exception)
            

Microsoft Silverlight – Error Handling in Silverlight

If you have an unhandled error sometimes Silverlight will just disappear from IE and leave a blank screen. In the App.xaml.vb under Application_UnhandledException add

e.Handled = True 

SAMPLE:

Private Sub Application_UnhandledException(ByVal sender As Object, ByVal e As ApplicationUnhandledExceptionEventArgs) Handles Me.UnhandledException