Hi,
I have built in a RadComboBox in a .net-Controltemplate with the following code:
I found the following thread: http://www.telerik.com/community/forums/aspnet-ajax/odata-datasource/no-data-from-odata.aspx
but this did not help.
My Result (Fiddler) looks like this:
Does anybody know, why my Combobox does not show any values to choose?
Kind Regards,
Markus
I have built in a RadComboBox in a .net-Controltemplate with the following code:
<telerik:RadODataDataSource runat="server" ID="RadODataDataSource1" > <Transport> <Read Url="http://sharepoint/_vti_bin/ListData.svc/" DataType="XML" /> </Transport> <Schema> <telerik:DataModel ModelID="Steuerkennzeichen" Set="Steuerkennzeichen"> <telerik:DataModelField FieldName="Titel" /> <telerik:DataModelField FieldName="Display_Text" /> </telerik:DataModel> </Schema></telerik:RadODataDataSource><telerik:RadComboBox ID="RadComboBox1" runat="server" EnableLoadOnDemand="true" ODataDataSourceID="RadODataDataSource1" DataModelID="Steuerkennzeichen" DataTextField="Display_Text" DataValueField="Titel" ShowMoreResultsBox="true" ItemsPerRequest="4"></telerik:RadComboBox>I found the following thread: http://www.telerik.com/community/forums/aspnet-ajax/odata-datasource/no-data-from-odata.aspx
but this did not help.
My Result (Fiddler) looks like this:
<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xml:base="http://sharepoint/_vti_bin/ListData.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> <title type="text">Steuerkennzeichen</title> <updated>2012-12-20T08:34:35Z</updated> <link rel="self" title="Steuerkennzeichen" href="Steuerkennzeichen" /> <entry m:etag="W/"1""> <title type="text">19%</title> <updated>2012-11-07T16:45:48+01:00</updated> <author> <name /> </author> <link rel="edit" title="SteuerkennzeichenItem" href="Steuerkennzeichen(1)" /> <category term="Microsoft.SharePoint.DataService.SteuerkennzeichenItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/xml"> <m:properties> <d:Steuerkennzeichen>50</d:Steuerkennzeichen> <d:Display_Text>50 / 19%</d:Display_Text> </m:properties> </content> </entry> <entry m:etag="W/"1""> <title type="text">7%</title> <updated>2012-11-07T16:45:57+01:00</updated> <author> <name /> </author> <link rel="edit" title="SteuerkennzeichenItem" href="Steuerkennzeichen(2)" /> <category term="Microsoft.SharePoint.DataService.SteuerkennzeichenItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/xml"> <m:properties> <d:Steuerkennzeichen>51</d:Steuerkennzeichen> <d:Display_Text>51 / 7%</d:Display_Text> </m:properties> </content> </entry> <entry m:etag="W/"1""> <title type="text">0</title> <updated>2012-11-07T16:46:07+01:00</updated> <author> <name /> </author> <link rel="edit" title="SteuerkennzeichenItem" href="Steuerkennzeichen(3)" /> <category term="Microsoft.SharePoint.DataService.SteuerkennzeichenItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/xml"> <m:properties> <d:Steuerkennzeichen>0</d:Steuerkennzeichen> <d:Display_Text>0 / 0</d:Display_Text> </m:properties> </content> </entry></feed>Does anybody know, why my Combobox does not show any values to choose?
Kind Regards,
Markus