Sequence Of web Service Method call.

Last post 08-28-2008 2:18 PM by atanu.podder. 1 replies.

Sort Posts:

  • Sequence Of web Service Method call.

    08-28-2008, 10:16 AM

    Hi i have  Three drop down  and i am using cascading dropdown

    this works fine.

    But it call GetCoutry and GetCity Method simultaneously and execute line by line from one method. eg one line from GetCountry then one line from Get city and repeate the process.

    Ideally it shold call GetCountry then GetState then GetCity.

    Please help me out regarding this problem.

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

    <asp:DropDownList ID="DropDownList1" runat="server">

    </asp:DropDownList>

    <cc1:CascadingDropDown ID="DropDownList1_CascadingDropDown" runat="server"

    Category="Country"

    PromptText="Select Cuountry"

    LoadingText="Country........"

    Enabled="True"

    ServiceMethod="GetCoutry"

    ServicePath="WebService.asmx"

    TargetControlID="DropDownList1">

    </cc1:CascadingDropDown>

     

    <asp:DropDownList ID="DropDownList2" runat="server">

    </asp:DropDownList>

    <cc1:CascadingDropDown ID="DropDownList2_CascadingDropDown" runat="server"

    Category="state"

    LoadingText="State........"

    ParentControlID="DropDownList1"

    PromptText="Select State"

    Enabled="True"

    ServiceMethod="GetState"

    ServicePath="WebService.asmx"

    TargetControlID="DropDownList2">

    </cc1:CascadingDropDown>

    <asp:DropDownList ID="DropDownList3" runat="server">

    </asp:DropDownList>

    <cc1:CascadingDropDown ID="DropDownList3_CascadingDropDown" runat="server"

    Category="City"

    LoadingText="City........"

    ParentControlID="DropDownList2"

    PromptText="Select State"

    Enabled="True"

    ServiceMethod="GetCity"

    ServicePath="WebService.asmx"

    TargetControlID="DropDownList3">

    </cc1:CascadingDropDown>

    <cc1:DynamicPopulateExtender ID="DropDownList1_DynamicPopulateExtender"

    runat="server" Enabled="True" PopulateTriggerControlID="DropDownList3"

    ClearContentsDuringUpdate="true" ContextKey=""

    ServiceMethod="DynamicPopulateMethod"

    ServicePath="WebService.asmx" BehaviorID="TextBox_Dyanmic"

    TargetControlID="Panel1">

    </cc1:DynamicPopulateExtender>

    Thanks and Regards
    Somnath
    http://silverlightcsharp.blogspot.com
    Please click “Mark as Answer” on the post if it helps you,
  • Re: Sequence Of web Service Method call.

    08-28-2008, 2:18 PM
    Answer
    • Participant
      1,274 point Participant
    • atanu.podder
    • Member since 08-20-2008, 7:40 AM
    • Bangalore
    • Posts 191

    I have tried your code and it seems things r alright there. It looks like its issue with you web service method implementation, can you share ur web service code?

    Thanks,
    Atanu, Symphony Services

    P.S. Dont forget to mark this as answer, if you have got resolution to your problem from this post.
Page 1 of 1 (2 items)