Hello we actually moving all our "asmx" to "svc (WCF)" webservice, but some Telerik controls such as Tooltip does'nt work.
When i go in debug mode the method is called, but the "object" paramters is a string valus "{object}" instead of a "IDictionary<string, object>" so we cannot get the values. The tooltip will show the "return string" but in reallity we need to got some data base on context parameters and we can't...
Does Telerik support WCF webservice?
Thanks
SimpleService.svc
-----------------------------
[ServiceContract]
[AspNetCompatibilityRequirements(
RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)]
public class SimpleService
{
[OperationContract]
public string GetToolTipData(object context)
{
return "Hello World My My";
}
}
Page.aspx
---------------------------
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="BottomRight"
Animation="Fade" Skin="Web20" Width="400px" Height="250px" Style="font-size: 18px;
text-align: center; font-family: Arial;" Sticky="true" AutoCloseDelay="500" BorderStyle="Dotted" ContentScrolling="Auto" ShowDelay="150" HideDelay="300" ManualClose="True">
<WebServiceSettings Method="GetToolTipData" Path="SimpleService.svc" />
<TargetControls>
<telerik:ToolTipTargetControl TargetControlID="Button1" Value="1" />
<telerik:ToolTipTargetControl TargetControlID="Button2" Value="2"/>
</TargetControls>
</telerik:RadToolTipManager>
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:Button ID="Button2" runat="server" Text="Button" />
SimpleSerc
When i go in debug mode the method is called, but the "object" paramters is a string valus "{object}" instead of a "IDictionary<string, object>" so we cannot get the values. The tooltip will show the "return string" but in reallity we need to got some data base on context parameters and we can't...
Does Telerik support WCF webservice?
Thanks
SimpleService.svc
-----------------------------
[ServiceContract]
[AspNetCompatibilityRequirements(
RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)]
public class SimpleService
{
[OperationContract]
public string GetToolTipData(object context)
{
return "Hello World My My";
}
}
Page.aspx
---------------------------
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="BottomRight"
Animation="Fade" Skin="Web20" Width="400px" Height="250px" Style="font-size: 18px;
text-align: center; font-family: Arial;" Sticky="true" AutoCloseDelay="500" BorderStyle="Dotted" ContentScrolling="Auto" ShowDelay="150" HideDelay="300" ManualClose="True">
<WebServiceSettings Method="GetToolTipData" Path="SimpleService.svc" />
<TargetControls>
<telerik:ToolTipTargetControl TargetControlID="Button1" Value="1" />
<telerik:ToolTipTargetControl TargetControlID="Button2" Value="2"/>
</TargetControls>
</telerik:RadToolTipManager>
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:Button ID="Button2" runat="server" Text="Button" />
SimpleSerc