locked
How to classify gender by using Checkbox in AutoCompleteExtender RRS feed

  • Question

  • User-582711651 posted

    Dear Experts,

    I am getting a struggle in AutoCompleteExtender, am using and getting rows well without any trouble, but I would like to classify gender wise details by using two Checkboxes viz, ID="Chk_Gender_Male" ID="Chk_Gender_FeMale". When <g class="gr_ gr_11 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" id="11" data-gr-id="11">client</g> clicks Chk_Gender_Male then corresponding Male rows only to be displayed and the same should be displayed in another <g class="gr_ gr_8 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" id="8" data-gr-id="8">check box</g>.  <g class="gr_ gr_9 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" id="9" data-gr-id="9">Incase</g> when <g class="gr_ gr_12 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" id="12" data-gr-id="12">client</g> checks both checkboxes then both Male & Female rows needs to have appeared.

    MyQuery: Let me know how do I transpose checkbox click details to context Key, please share your inputs with examples

    My Script:

    <asp:TextBox ID="Txt_Emp_Name" runat="server" autocomplete="off"  Width="200px" BackColor="#A4D1FF" ></asp:TextBox>

    <cc1:AutoCompleteExtender ID="autoComplete1" runat="server" BehaviorID="AutoCompleteEx" CompletionInterval="100" CompletionListCssClass="autocomplete_completionListElement" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" CompletionListItemCssClass="autocomplete_listItem" CompletionSetCount="20"  DelimiterCharacters=";, :" EnableCaching="true" MinimumPrefixLength="2"

    ServiceMethod="Get_Pending_BranchNameList_Txn" ServicePath="AutoComplete.asmx" ShowOnlyCurrentWordInCompletionListItem="true" UseContextKey = "true" TargetControlID="Txt_Emp_Name"></cc1:AutoCompleteExtender>

    Thanks in advance.

    Saturday, June 30, 2018 2:55 PM

Answers

All replies