I am attempting to create a web service using the signature found in your example:
[ScriptService]
public class WebServiceName : WebService
{
[WebMethod]
public RadComboBoxItemData[] WebServiceMethodName(object context)
{
// We cannot use a dictionary as a parameter, because it is only supported by script services.
// The context object should be cast to a dictionary at runtime.
IDictionary<string, object> contextDictionary = (IDictionary<string, object>) context;
//...
}
}
As I understand it, the web service must return a RadComboBoxItemData array. However, when creating a web service using the above signature, I get an error saying the RadComboBoxItemData implements IDictionary and therefore can not be serialized. I'm sure I'm doing something wrong - but can't figure it out.
I even took your sample code and compiled and got the same error!
Regards,
Ken

-- The javascript uxRadGrid_MasterTable_row.get_cell("ContactId").innerText-- the column def<telerik:GridTemplateColumn DataField="ContactId" HeaderText="Contact" UniqueName="ContactId" ><ItemTemplate><%# Eval("Name")%></ItemTemplate><EditItemTemplate><span><telerik:RadComboBox ID="uxContactId" Runat="server" .....></telerik:RadComboBox></span></EditItemTemplate></telerik:GridTemplateColumn>

