Completed
Last Updated: 02 Oct 2019 14:33 by ADMIN
ADMIN
Peter Milchev
Created on: 21 Jul 2017 11:21
Category: UI for ASP.NET AJAX
Type: Bug Report
0
Batch editing not updating correctly from dropdown when items have trailing whitespace
 https://www.screencast.com/t/UgqUZbqenpj5
3 comments
ADMIN
Marin Bratanov
Posted on: 31 Jul 2017 11:03
The ItemDataBound event does not cause unnecessary data binding, it would fire for each data bound item anyway.
Robert
Posted on: 22 Jul 2017 03:55
Please fix this bug asap, as in my project i am generating all dropdowns dynamically and its not good to have databind all the time unnecessary.
ADMIN
Peter Milchev
Posted on: 21 Jul 2017 11:23
A workaround is trimming the items in the ItemDataBound event of the DropDownList:

protected void CategoryIDDropDown_ItemDataBound(object sender, DropDownListItemEventArgs e)
{
    e.Item.Text = e.Item.Text.Trim();
}