jQWidgets Forums

This topic contains 5 replies, has 2 voices, and was last updated by  Nadezhda 10 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Input source not working #63013

    Sayan
    Participant

    The Input source is not working . It displays the error “Microsoft JScript runtime error: Object doesn’t support property or method ‘toUpperCase'” var source = {
    datatype: “json”,
    datafields: [
    { name: ‘ID’, type: ‘number’ },
    ],

    url: ‘/Controller/Method’;(The data is getting bound in the method)
    };
    var IDAdapter = new $.jqx.dataAdapter(source);
    $(“#Textbox ID”).jqxInput({
    placeHolder: “Enter ID”,
    height: 25,
    width: 199,
    source: IDAdapter,
    displayMember: “ID”, valueMember: “ID”,
    theme: ‘energyblue’
    });

    Input source not working #63023

    Nadezhda
    Participant

    Hello Sayan,

    You are using incorrect jQuery selection. Could you try with id selector which contains only one word for example TextboxID.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Input source not working #63056

    Sayan
    Participant

    Hi Nadezhda,
    I have replaced the ID with Textbox_ID still it shows the same error

    Input source not working #63067

    Nadezhda
    Participant

    Hi Sayan,

    Please, provide a full sample which illustrates this issue.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Input source not working #63089

    Sayan
    Participant

    var Asso_source = {
    datatype: “json”,
    datafields: [
    { name: ‘Asso_ID’},
    ],

    url: pro + ‘//’ + host + ‘/Client_Upload/CU_get_BFS_Asso_ID’
    };
    var AssoAdapter = new $.jqx.dataAdapter(Asso_source);

    $(“#Asso_ID_TB”).jqxInput({
    placeHolder: “Enter an associate ID”,
    height: 25,
    width: 199,
    source: AssoAdapter,
    displayMember: “Asso_ID”, valueMember: “Asso_ID”,
    // searchMode:’startswithignorecase’
    });

    Do I need to change something as the ID is an integer?

    Input source not working #63132

    Nadezhda
    Participant

    Hi Sayan,

    If your ID is a number, please, set the type to ‘string’ in your datafield members when you initialize your dataAdapter instance. For more information go on http://www.jqwidgets.com/community/topic/dropdownlist-has-valid-source-but-no-items/.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.