Skip to main content

Search and Top Navigation

#15133 closed bug (notabug)

Opened February 01, 2017 06:16AM UTC

Closed February 21, 2017 06:52PM UTC

Combobox Selection is not readable when the combobox has ascented characters

Reported by: Madasamya Owned by: Madasamya
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

In my combo box i have used an item name as Template Stéréo. When selecting this string the selected value is not readable. If i have chinese and japanese characters it works fine. It doesn't work for the characters like this é.

My code as below.

#!text/html
<div class="ui-widget">
<input id="ddlTemplateHybrid" runat="server" class="dropDownCustomFullWide inputHalfWidth inputTextBox" />
<asp:DropDownList ID="ddlTemplate" Visible="true" style="visibility:hidden" Width="0px" class="form-control" runat="server"   CssClass="dropDownCustomFullWide inputHalfWidth inputTextBox">
</asp:DropDownList>
</div>


	    function pageLoad() {
	        $(function () {
	            $("[id$=ddlTemplateHybrid]").combobox({
	                src: "ProfileEditorQC.aspx/GetProfileListForDropDown",
	                sel: "ProfileEditorQC.aspx/SetProfileListForDropDown"
	            });

	        });
	    }

	    function GetSelectedTemplateDropDownValue() {
//Below statement return 0 when the string has such characters 
	        var dropdownValue = $('#<%=ddlTemplate.ClientID%>').val();
	        return dropdownValue;
	    }
Attachments (0)
Change History (3)

Changed February 01, 2017 08:24AM UTC by rjollos comment:1

description: In my combo box i have used an item name as "Template Stéréo". When selecting this string the selected value is not readable. If i have chinese and japanese characters it works fine. It doesn't work for the characters like this "é". \ My code as below. \ \ <div class="ui-widget"> \ <input id="ddlTemplateHybrid" runat="server" class="dropDownCustomFullWide inputHalfWidth inputTextBox" /> \ <asp:DropDownList ID="ddlTemplate" Visible="true" style="visibility:hidden" Width="0px" class="form-control" runat="server" CssClass="dropDownCustomFullWide inputHalfWidth inputTextBox"> \ </asp:DropDownList> \ </div> \ \ \ function pageLoad() { \ $(function () { \ $("[id$=ddlTemplateHybrid]").combobox({ \ src: "ProfileEditorQC.aspx/GetProfileListForDropDown", \ sel: "ProfileEditorQC.aspx/SetProfileListForDropDown" \ }); \ \ }); \ } \ \ function GetSelectedTemplateDropDownValue() { \ //Below statement return 0 when the string has such characters \ var dropdownValue = $('#<%=ddlTemplate.ClientID%>').val(); \ return dropdownValue; \ } \ \ In my combo box i have used an item name as `Template Stéréo`. When selecting this string the selected value is not readable. If i have chinese and japanese characters it works fine. It doesn't work for the characters like this `é`. \ \ My code as below. \ \ {{{#!text/html \ <div class="ui-widget"> \ <input id="ddlTemplateHybrid" runat="server" class="dropDownCustomFullWide inputHalfWidth inputTextBox" /> \ <asp:DropDownList ID="ddlTemplate" Visible="true" style="visibility:hidden" Width="0px" class="form-control" runat="server" CssClass="dropDownCustomFullWide inputHalfWidth inputTextBox"> \ </asp:DropDownList> \ </div> \ \ \ function pageLoad() { \ $(function () { \ $("[id$=ddlTemplateHybrid]").combobox({ \ src: "ProfileEditorQC.aspx/GetProfileListForDropDown", \ sel: "ProfileEditorQC.aspx/SetProfileListForDropDown" \ }); \ \ }); \ } \ \ function GetSelectedTemplateDropDownValue() { \ //Below statement return 0 when the string has such characters \ var dropdownValue = $('#<%=ddlTemplate.ClientID%>').val(); \ return dropdownValue; \ } \ }}}

Changed February 01, 2017 01:06PM UTC by scottgonzalez comment:2

owner: → Madasamya
status: newpending

Please provide a reduced test case as requested in the red box. Snippets of ASP code aren't helpful to us.

Also, 1.10.3 is no longer supported. When building your reduced test case, make sure to use the latest version.

Changed February 21, 2017 06:52PM UTC by scottgonzalez comment:3

resolution: → notabug
status: pendingclosed

Closing due to inactivity.