Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET with sliver light

ASP.NET with sliver light

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Satish_S
    wrote on last edited by
    #1

    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.

    J realJSOPR T 3 Replies Last reply
    0
    • S Satish_S

      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.

      J Offline
      J Offline
      Jamil Hallal
      wrote on last edited by
      #2

      Hi, This is not possible.

      Regards, Jamil

      1 Reply Last reply
      0
      • S Satish_S

        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.

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        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

        T 1 Reply Last reply
        0
        • realJSOPR realJSOP

          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

          T Offline
          T Offline
          The Man from U N C L E
          wrote on last edited by
          #4

          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]

          S 1 Reply Last reply
          0
          • S Satish_S

            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.

            T Offline
            T Offline
            The Man from U N C L E
            wrote on last edited by
            #5

            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]

            1 Reply Last reply
            0
            • T The Man from U N C L E

              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]

              S Offline
              S Offline
              Satish_S
              wrote on last edited by
              #6

              Hi thanks you understood my question, but i am sorry all if i didnt raised it in a manner.

              T 1 Reply Last reply
              0
              • S Satish_S

                Hi thanks you understood my question, but i am sorry all if i didnt raised it in a manner.

                T Offline
                T Offline
                The Man from U N C L E
                wrote on last edited by
                #7

                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]

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups