Custom Control Troubles
-
How can I create a control or object in asp.net whose public methods I can access through javascript? I tried creating a web user control, but that didn't work. I don't know if COM objects is the way to go or not. I know this covers a lot of area, but if you know of any tutorial websites or articles at codeproject that may help, please include them in your reply. I'm using MS VS 2005 and .net 2.0. thanks.
-
How can I create a control or object in asp.net whose public methods I can access through javascript? I tried creating a web user control, but that didn't work. I don't know if COM objects is the way to go or not. I know this covers a lot of area, but if you know of any tutorial websites or articles at codeproject that may help, please include them in your reply. I'm using MS VS 2005 and .net 2.0. thanks.
The server-side public methods are not directly accessible from the client-side javascript. However, Atlas (http://www.asp.net/default.aspx?tabindex=9&tabid=47[^]) or Ajax.NET (http://ajax.schwarz-interactive.de/csharpsample/default.aspx[^]) might be a possible solution.