What I have?
I have a web part on which I am displaying a hierarchical diagram picking the information from a List. The diagram is drawn using Silverlight and HTML.
What I want to do?
I want to show Silverlight diagram if Silverlight is installed on the client machine otherwise I want to show HTML diagram.
What problem am I facing?
I want to check if Silverlight is installed or not on the server side and render the appropriate diagram. Basically, I don't want to use JavaScript to identify it and do a unnecessary post back for loading the diagram.
Is it possible to achieve this on the server side?
Thanks for your time!