By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,362 Members | 3,489 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,362 IT Pros & Developers. It's quick & easy.

Javascript - c# class

P: 18
Hi. Not sure if this is in the right forum!

I have some classes written in c# and compiled into a dll. Basically the classes read from a database so the values are available in the class.

I am writing a web page which uses a treeview. I want to be able to click on a node, which will fire some AJAX. The AJAX which will use one the classes to read the data, and update the web page.

Is this possible? If so, could someone point me in the right direction of how to access the external class from within the Javascript.

Many thanks

B
Jan 25 '08 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,333
hi ...

ajax is basically a javascript triggered XMLHttpRequest, so for your purpose you need a method that may invoke your dll somewhere. so you may create an asp or asp.net page that calls your dll but i'm not familiar with that so may be you could ask in the asp-forum about invoking a dll from such a page?

kind regards
Jan 25 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.