New bug for items that end with a space

4 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 27 May 2010 Link to this post

    Hi,

    I've managed to find a bug with the combo boxes.  It appears that if the Item text ends with a space (and possibly certain other characters) then javascript and server side code cannot get the selected value from a combo box.

    I combine first and surname fields using the following:
    COALESCE(FirstName+' ','') + COALESCE(Surname,'')
    on some entries there is only a first name and for these the combo box fails.

    When testing I found that if I then added a space after the surname then these would fail as well.

    Sample code follows:

    <telerik:RadComboBox ID="uxContact" Runat="server"  EmptyMessage=" - Select a Client - " AllowCustomText="true" CssClass="fullWidthComboBoxSP" onclientselectedindexchanging="LoadContactChildren" onitemsrequested="uxContact_ItemsRequested" OnClientItemsRequested="DropDownLoaded" MarkFirstMatch="True"></telerik:RadComboBox> 
     
    JS  
    uxContact = $find('uxFormView_uxContact');  
    alert(uxContact.get_value());  
     
    VB.NET  
    DirectCast(uxFormView.FindControl("uxContact"), RadComboBox).SelectedValue 
    I am currently using version 2010.1.519.35

    I can get a partial work around by changing by SQL for the time being but obviously this is a problem with the control itself.  It's only started happening since I applied the latest update.

    Any idea when a fix can be made (or if indeed a fix has been made on a more recent compilation).

    Regards,

    Jon


  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 28 May 2010 Link to this post

    Hi Jon,

    I was unable to recreate the issue with the latest version of Telerik.Web.UI.

    Please see my test page which I attached to this message. Can you reproduce the issue with it on your side? If so, how?

    All the best,
    Simon
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Thai Thuong
    Thai Thuong avatar
    5 posts
    Member since:
    Jan 2010

    Posted 28 Jul 2010 Link to this post

    i have got this error too.  In client-side, i can alert the selected value, but in server-side it return empty "".
    But everything well when i put the properties "AutoPostback=true".
    Im using version 2010.1.519.35
    Please help...
  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 29 Jul 2010 Link to this post

    Hello Thai Thuong,

    Please see my previous response. Can you reproduce the issue with the latest version of Telerik.Web.UI?

    Best wishes,
    Simon
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top