.NET Framework Bookmark and Share   
 index > JScript for the .NET Framework > calling .net dll method from javascript.
 

calling .net dll method from javascript.

hi all,

i have a .net dll that has to be called from javascript.

im able to call the method sucessfully.

but several properties are not assigning to the dll from js before calling the method.

i found this by debugging the javascript.

imnot able to find whysome properties are not assigning while other properties are...

can any one help me find this issue..

thanks in advance.!

Ulab_newbie

hey i got the solution.

i have checked the " Make assembly COM visible " in assembly settings and it works...!

Ulab_newbie

What are the data types of the properties that don't work?

What names have you given the properties that don't work?

Anthony Jones

hey i got the solution.

i have checked the " Make assembly COM visible " in assembly settings and it works...!

Ulab_newbie

hey i got the solution.

i have checked the " Make assembly COM visible " in assembly settings and it works...!


Can you please post the JavaScript code which is used toinstantiate the .Net class and invoke the methods? I have posted my query here at: http://social.msdn.microsoft.com/Forums/en-US/jscript/thread/dd128a17-2fb7-4c6f-bca2-3c61443d4be9
Satish.J
Satish.J

You can use google to search for other answers

Custom Search

More Threads

• Automation server can't create with visual studio .net 2005
• How do I set a table's visible property to false, and with javascript set it back to visible.
• Individual Frame Loading
• Deleting empty folders with recursive JScript
• How to add an application mapping in IIS programmatically
• javaScript to validate fields.
• Height adjustment on window-Scroll and window-Resize
• Problem with Eval.JScriptEvaluate
• window.open JS doesn't work when running on IIS
• Newbie question