hi ,
I want calling wcf Serices by javascript in DNN Contol so i have Add in Page Load of control in .vb File :
Dim strProtocol As String = ConfigurationManager.AppSettings("WebProtocol")
Dim objScriptManager As ScriptManager = ScriptManager.GetCurrent(Me.Page)
Dim objServiceReference As ServiceReference
objServiceReference = New ServiceReference
objServiceReference.Path = strProtocol + Request.Url.Authority + "
http://test.com/WCFServices/SearchWeb..."
objScriptManager.Services.Add(objServiceReference)
DotNetNuke.Framework.AJAX.RegisterScriptManager()
And .ascx page in line coding : Access the methode of Wcf file
WebServiceSmartEditor.AddIntoProactive(UserId.value, selectedPatient,
toProactive, isFVHighRisk, isProviderIdentified, isHighPriorityPatient,
toReactive, isEdDischargeCensus, isIPDischargeCensus, dateAdmit, dateDischarge,
isNonFvPCP, pcpSID, pcpName,
isNonFvLoc, patientLocationID, patientLocationName, LocationId.value,
addToProactiveSuccess, OnFailure);
Show the javascript Error :
WebServiceSmartEditor. not define the methode .....
So please help me if this methode is wong calling the wcf in Dnn
and give me answer how to call wcf services in javascript in DNN
this is urgent