ASP.NET with sliver light
-
Hi i have given a small functionality of sliverlight based in my website but when the website launched in client system , client system not showing sliver light functionaliy because of sliver light is not installed. i need to know whether user can view the functionality with out installing sliver light.
-
Hi i have given a small functionality of sliverlight based in my website but when the website launched in client system , client system not showing sliver light functionaliy because of sliver light is not installed. i need to know whether user can view the functionality with out installing sliver light.
Hi, This is not possible.
Regards, Jamil
-
Hi i have given a small functionality of sliverlight based in my website but when the website launched in client system , client system not showing sliver light functionaliy because of sliver light is not installed. i need to know whether user can view the functionality with out installing sliver light.
This is officially a stupid question. How can someone possibly view Silverlight content without having Silverlight installed?
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
This is officially a stupid question. How can someone possibly view Silverlight content without having Silverlight installed?
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001Not a stupid question, but a reasonably stupid response. I suggest a closer reading of the question before commenting on it. They want to test for Silverlight being installed, and therefore probably show some alternative content if it is not. How many times have we all done a similar test for JavaScript enabled? Admittedly, usually to show a message telling the user to enable it.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]
-
Hi i have given a small functionality of sliverlight based in my website but when the website launched in client system , client system not showing sliver light functionaliy because of sliver light is not installed. i need to know whether user can view the functionality with out installing sliver light.
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 toSilverlight.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]
-
Not a stupid question, but a reasonably stupid response. I suggest a closer reading of the question before commenting on it. They want to test for Silverlight being installed, and therefore probably show some alternative content if it is not. How many times have we all done a similar test for JavaScript enabled? Admittedly, usually to show a message telling the user to enable it.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]
-
Hi thanks you understood my question, but i am sorry all if i didnt raised it in a manner.
Your welcome. It had to be detection of silverlight installed because otherwise the question made no sense. But then we get a lot of questions here that don't make much sense. Glad I could help.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]