how to get the value of a method from business layer to the javascript function.

Posted by Nerdanalysis under C# on 5/10/2012 | Points: 10 | Views : 774 | Status : [Member] | Replies : 0
Hi All,

how to get the value of a method from business layer to the javascript function.

eg. document.write(<%=Link.ToSubCategory("1","1")%>);

Here link is the class and toSubCategory is a static method. This method doesnt write anything, however, this is get the value when i write the code in code behind file. eg.
Response.Write(Link.ToSubCategory("1","1"))

Kind regards
Nerd




Responses

(No response found.)

Login to post response