Click here to Skip to main content
15,886,052 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
there is a problem a faced, situation like that.

in my solution there are one main project and many UserControl projects. main project use those UserControl projects for displaying on different part of its UI.

there are WCF services defined and when I use the service in main project it is ok. but when I use service in UserControl Project it throw exception like"can not find config.. ".

there are five UserControl projects , in which I may use WCF service, but that problem blocks my way to do it. WCF service only be correctly called in Main project.

how can I able to call WCF service in UserControl projects ? should I call WCF service in different sub projects (how if I should do that) or put WCF services together and all projects call it from one source? if I put them together, how can I do that?

thanks in advance!
Posted
Updated 27-Sep-11 1:25am
v2

1 solution

Hello Friend try to call service method using jquery or ajax,
try this, i think it will solve your problem...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900