Result from wsdl (web service) to Telerik Grid

2 Answers 29 Views
Ajax Grid
Aleksander
Top achievements
Rank 1
Iron
Aleksander asked on 22 Oct 2021, 10:27 AM

Hello

I have problem i have one wsdl that is connected with Visual Studio. And i need add result of one get methode to table. My question is how, it is possible? I have any svc file, any asmx only wsdl https://www.um.poznan.pl/web-service/news?wsdl

I tried it


<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="AskingTheWB._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <h3>RadGrid bound to Web Service</h3>
        <telerik:RadGrid RenderMode="Lightweight" runat="server" ID="RadGrid2" AllowPaging="true" AllowSorting="true"
            AllowFilteringByColumn="true" PageSize="1">
            <MasterTableView DataKeyNames="ProductID" ClientDataKeyNames="ProductID">
                <PagerStyle Mode="NumericPages" />
                <Columns>
                    <telerik:GridBoundColumn DataField="News" HeaderText="News" DataType="System.String">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <DataBinding SelectMethod="getNews" Location="https://www.um.poznan.pl/web-service/news" SortParameterType="Linq"
                    FilterParameterType="Linq">
                </DataBinding>
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>

but my table is empty. 

2 Answers, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 27 Oct 2021, 09:51 AM

Hi Aleksander,

RadGrid supports only ADONet, Odata Service Types, or XML-based WCF/ASMX WebServices.

 

RadClientDataSource supports JSON, OData and XML.

At the moment there is no support for WSDL, but you could submit a feature request in our Feedback Portal at https://feedback.telerik.com/aspnet-ajax

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Aleksander
Top achievements
Rank 1
Iron
answered on 03 Nov 2021, 12:23 PM
Oh okey i understand. Thank you for your answer! 
Tags
Ajax Grid
Asked by
Aleksander
Top achievements
Rank 1
Iron
Answers by
Attila Antal
Telerik team
Aleksander
Top achievements
Rank 1
Iron
Share this question
or