Invalid client service command. What am i doing wrong?

3 replies. Last post: February 8, 2010 10:42 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Shawn CraigMember

When trying to following the help topic "Advanced Client-Server Interaction Sample" I recieve the follow error when trying to execute a "SendCustomRequest": 

{ if (va9767.indexOf("ClientService")==-1) throw new Error("Invalid client service command.");

FYI: va9767 = "custom"

I'm guessing that its doing this because I'm ClientBinding to a WCF Service???

 

This is my webgrid code:

 

    <ISWebGrid:WebGrid ID="wgProps" runat="server" Height="100%" UseDefaultStyle="True"
        Width="100%" BindingOperationMode="ClientBinding" 
        oninitializepostback="wgProps_InitializePostBack">
        <RootTable>
            <Columns>
                <ISWebGrid:WebGridColumn Caption="FedAppsID" DataMember="FedAppsID" 
                    DataType="System.Int32" Name="FedAppsID" Width="100px" Visible="false">
                </ISWebGrid:WebGridColumn>
                <ISWebGrid:WebGridColumn Caption="Name" DataMember="Name" Name="colName" 
                    Width="100px">
                </ISWebGrid:WebGridColumn>
                <ISWebGrid:WebGridColumn Caption="Manufacturer" DataMember="Manufacturer" 
                    Name="colManufacturer" Width="100px">
                </ISWebGrid:WebGridColumn>
            </Columns>
        </RootTable>
        <ClientBindingSettings DataSourceType="WcfService"            
            ServiceUrl="~/FedWCFService.svc">
            <ServiceMethods SelectMethod="GetPropList" />
        </ClientBindingSettings>
    </ISWebGrid:WebGrid>
All times are GMT -5. The time now is 11:40 PM.
Previous Next