Hello,
I'm trying to use RadNotification with WcfService. My WcfService is in an separeted project file. I've added an 'Service Reference' ni my current project to the Web Service. I'm trying to implement this service om my RadNotification but Im receiving to following error:
XmlHttpPanel loading error:
Exception=Method Not Allowed
My RadNotication:
Javascript
WcfService:
Can someone help me???
Regards,
Jos Meerkerk
I'm trying to use RadNotification with WcfService. My WcfService is in an separeted project file. I've added an 'Service Reference' ni my current project to the Web Service. I'm trying to implement this service om my RadNotification but Im receiving to following error:
XmlHttpPanel loading error:
Exception=Method Not Allowed
My RadNotication:
<
telerik:RadNotification
ID
=
"RadNotification1"
runat
=
"server"
Width
=
"320"
Animation
=
"Fade"
EnableRoundedCorners
=
"true"
Skin
=
"Windows7"
EnableShadow
=
"true"
Style
=
"z-index: 35000"
LoadContentOn
=
"TimeInterval"
OffsetX
=
"-20"
OffsetY
=
"-20"
VisibleTitlebar
=
"true"
WcfRequestMethod
=
"POST"
WcfServicePath
=
"~/Service References/ProcessLogServiceRef/Reference.svcmap"
WcfServiceMethod
=
"GetLogData"
UpdateInterval
=
"5000"
OnClientUpdating
=
"RadNotificationUpdating"
>
</
telerik:RadNotification
>
Javascript
<telerik:RadScriptBlock ID=
"RadScriptBlock1"
runat=
"server"
>
<script type=
"text/javascript"
>
function
RadNotificationUpdating(sender, args) {
//alert('Hallo');
}
</script>
</telerik:RadScriptBlock>
WcfService:
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Runtime.Serialization;
using
System.ServiceModel;
using
System.Text;
using
System.ServiceModel.Activation;
namespace
YBS.Services.SYS
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "ProcessLog" in both code and config file together.
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public
class
ProcessLog : IProcessLog
{
public
void
GetLogData(
string
sTimeStamp)
{
}
}
}
Can someone help me???
Regards,
Jos Meerkerk