469,279 Members | 2,250 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,279 developers. It's quick & easy.

Javascript - c# class

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

Jan 25 '08 #1
1 1343
5,390 Expert Mod 4TB
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.

Similar topics

6 posts views Thread by Alex Fitzpatrick | last post: by
8 posts views Thread by chrisdude911 | last post: by
7 posts views Thread by Wm.M.Thompson | last post: by
8 posts views Thread by rajesh | last post: by
1 post views Thread by pbmods | last post: by
2 posts views Thread by sorobor | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.