How to call C# dll from javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ambujnema
    New Member
    • Dec 2008
    • 5

    How to call C# dll from javascript

    Hi all

    I have to call my C# dll Into java script can u tell me any way to call that dll
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    what for? by the way, javascript has very limited (if at all) access to the local file system.

    regards

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      If it's on the server, use the XMLHttpRequest object, i.e. Ajax, or add the results during page load (if it's not required after page load).

      Comment

      • ambujnema
        New Member
        • Dec 2008
        • 5

        #4
        Can you please explain through coding

        I am a new bie in the .net ,

        DOn't have that much of knowledge

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          The first question is is this dll on the server? What exactly are you trying to achieve? What results do you expect from the C# dll and how will it be used in JavaScript? Post your code so far.

          Comment

          Working...