Click here to Skip to main content
15,890,947 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: html Pin
Not Active12-May-10 2:36
mentorNot Active12-May-10 2:36 
QuestionASP.NET with sliver light Pin
Satish_S11-May-10 23:58
Satish_S11-May-10 23:58 
AnswerRe: ASP.NET with sliver light Pin
Jamil Hallal12-May-10 0:09
professionalJamil Hallal12-May-10 0:09 
AnswerRe: ASP.NET with sliver light Pin
#realJSOP12-May-10 2:11
mve#realJSOP12-May-10 2:11 
GeneralRe: ASP.NET with sliver light Pin
The Man from U.N.C.L.E.12-May-10 2:37
The Man from U.N.C.L.E.12-May-10 2:37 
GeneralRe: ASP.NET with sliver light Pin
Satish_S14-May-10 2:06
Satish_S14-May-10 2:06 
AnswerRe: ASP.NET with sliver light Pin
The Man from U.N.C.L.E.14-May-10 3:16
The Man from U.N.C.L.E.14-May-10 3:16 
AnswerRe: ASP.NET with sliver light Pin
The Man from U.N.C.L.E.12-May-10 2:48
The Man from U.N.C.L.E.12-May-10 2:48 
You can test for it on the client side using JavaScript

One way to test is demonstrated here[^].
Basically you test for being able to create the AgControl.AgControl ActiveX Component:

if ((navigator.userAgent.indexOf('Windows') != -1) &&
    (navigator.appVersion.indexOf('MSIE') != -1) )
{
  try
  {
    var AgControl = new ActiveXObject("AgControl.AgControl"); 
    agVersion = AgControl.settings.version;
    AgControl = null;
  }
  catch (e)
  {
    agVersion = -1;
  }
} 
alert(agVersion);


Alternatively, this guide[^] shows best practice for testing for Silverlight and installing it if it is missing.

When referencing the Silverlight.js script you can then test the Silverlight.available property in your JavaScript to see if Silverlight is installed, and follow up with a call to Silverlight.isInstalled(version) to test for the correct version.

I can't see any way of detecting Silverlight on the client when running server-side code.
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

Questionasp:ButtonColumn Text Pin
garfield18511-May-10 23:37
garfield18511-May-10 23:37 
AnswerRe: asp:ButtonColumn Text Pin
Jamil Hallal12-May-10 0:13
professionalJamil Hallal12-May-10 0:13 
GeneralRe: asp:ButtonColumn Text Pin
garfield18512-May-10 0:20
garfield18512-May-10 0:20 
QuestionTracking users using sessions Pin
Khaja A. Imtiaz11-May-10 22:23
Khaja A. Imtiaz11-May-10 22:23 
AnswerRe: Tracking users using sessions Pin
Abhijit Jana11-May-10 22:39
professionalAbhijit Jana11-May-10 22:39 
GeneralRe: Tracking users using sessions Pin
Khaja A. Imtiaz11-May-10 22:46
Khaja A. Imtiaz11-May-10 22:46 
GeneralRe: Tracking users using sessions Pin
Brij11-May-10 23:04
mentorBrij11-May-10 23:04 
GeneralRe: Tracking users using sessions Pin
Khaja A. Imtiaz11-May-10 23:08
Khaja A. Imtiaz11-May-10 23:08 
AnswerRe: Tracking users using sessions Pin
Venkatesh Mookkan11-May-10 23:09
Venkatesh Mookkan11-May-10 23:09 
GeneralRe: Tracking users using sessions Pin
Khaja A. Imtiaz11-May-10 23:29
Khaja A. Imtiaz11-May-10 23:29 
GeneralRe: Tracking users using sessions Pin
Venkatesh Mookkan12-May-10 0:34
Venkatesh Mookkan12-May-10 0:34 
QuestionBinding DataList inside FormView Pin
K V Sekhar11-May-10 22:22
K V Sekhar11-May-10 22:22 
QuestionSPAM Problem Pin
Blikkies11-May-10 21:24
professionalBlikkies11-May-10 21:24 
AnswerRe: SPAM Problem Pin
Michel Godfroid11-May-10 23:23
Michel Godfroid11-May-10 23:23 
Questionexport gridview to excel in asp.net Pin
jadhavShubhangi11-May-10 20:00
jadhavShubhangi11-May-10 20:00 
AnswerRe: export gridview to excel in asp.net Pin
Brij11-May-10 20:09
mentorBrij11-May-10 20:09 
GeneralRe: export gridview to excel in asp.net Pin
jadhavShubhangi11-May-10 20:25
jadhavShubhangi11-May-10 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.