CascadingDropDown Problem

Last post 12-06-2006 2:58 PM by David Anson. 1 replies.

Sort Posts:

  • CascadingDropDown Problem

    11-30-2006, 6:07 PM

    Hi All

    I'm using the latest release of the toolkit.  I'm building a CascadingDropDown and am getting a 12030 method error when I use a remote service (rather than have the service in the same project).

     <cc1:CascadingDropDown ID="CascadingDropDown1" runat="server" TargetControlID="ddlMake" Category="Make"  PromptText="Please select a make"  LoadingText="[Loading makes...]"  ServicePath="~/../CarServiceLocal/CarService.asmx" ServiceMethod="GetDropDownContents"/>

    If I set the Service path to a local asmx file it works fine ServicePath="CarService.asmx"  

    But if I change it to be a remote service

     ServicePath="~/../CarServiceLocal/CarService.asmx"

    or

    ServicePath="http://localhost/CarServiceLocal/CarService.asmx" 

     Then I get the 12030 method error.

    Does anyone have any ideas?

    Cheers

     
    Craig


     

  • Re: CascadingDropDown Problem

    12-06-2006, 2:58 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    • AspNetTeam
    The CDD sample page uses the ~ syntax, so I'm reasonably confident it works in general. Your use of it with ".." makes me wonder if it works like you think it does. I'd say to double-check that the final path that gets used is correct.

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (2 items)