Hi,
We have a LoadOnDemand ComboBox (2008.3.1114.35) with Header and ItemTemplates. When a user searches a text comprised of multiple words with space between words, spaces are encoded to %20 in text value of RadComboBoxItemsRequestedEventArgs object. Furthermore, this generates other ItemRequested events, only this time '%' is encoded as '%25.' and continues for some time. (i.e. sample text, generates event for sample%20text, then sample%2520text, then sample%252520text etc.)
Code snippet of ComboBox is included below, .cs file is not included as it only contains comparison of text to empty string.
This occurs only sometimes, sometimes spaces are not encoded. Are the users supposed to handle encoded chars separately or is this a bug ?
Thanks in advance,
Oner
*****************************************************************************************************************************
<telerik:RadComboBox ID="rcbCompanies" runat="server"
Skin="Hay" Width="158" DropDownWidth="360"
ShowToggleImage="False" AllowCustomText="True"
DataTextField="Name" DataValueField="ID"
EnableLoadOnDemand="True" OnItemsRequested="rcbCompanies_ItemsRequested"
>
<HeaderTemplate>
<table width="360px">
<tr>
<td align="left" style="width: 130px">
Company Name
</td>
<td align="left" style="width: 100px">
Category Name
</td>
<td align="left" style="width: 130px">
Parent Company Name
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table width="360px">
<tr>
<td align="left" style="width: 130px">
<%# DataBinder.Eval(Container.DataItem, "Name")%>
</td>
<td align="left" style="width: 100px">
<%# DataBinder.Eval(Container.DataItem, "CategoryName")%>
</td>
<td align="left" style="width: 130px">
<%# DataBinder.Eval(Container.DataItem, "ParentName")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
*****************************************************************************************************************************
We have a LoadOnDemand ComboBox (2008.3.1114.35) with Header and ItemTemplates. When a user searches a text comprised of multiple words with space between words, spaces are encoded to %20 in text value of RadComboBoxItemsRequestedEventArgs object. Furthermore, this generates other ItemRequested events, only this time '%' is encoded as '%25.' and continues for some time. (i.e. sample text, generates event for sample%20text, then sample%2520text, then sample%252520text etc.)
Code snippet of ComboBox is included below, .cs file is not included as it only contains comparison of text to empty string.
This occurs only sometimes, sometimes spaces are not encoded. Are the users supposed to handle encoded chars separately or is this a bug ?
Thanks in advance,
Oner
*****************************************************************************************************************************
<telerik:RadComboBox ID="rcbCompanies" runat="server"
Skin="Hay" Width="158" DropDownWidth="360"
ShowToggleImage="False" AllowCustomText="True"
DataTextField="Name" DataValueField="ID"
EnableLoadOnDemand="True" OnItemsRequested="rcbCompanies_ItemsRequested"
>
<HeaderTemplate>
<table width="360px">
<tr>
<td align="left" style="width: 130px">
Company Name
</td>
<td align="left" style="width: 100px">
Category Name
</td>
<td align="left" style="width: 130px">
Parent Company Name
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table width="360px">
<tr>
<td align="left" style="width: 130px">
<%# DataBinder.Eval(Container.DataItem, "Name")%>
</td>
<td align="left" style="width: 100px">
<%# DataBinder.Eval(Container.DataItem, "CategoryName")%>
</td>
<td align="left" style="width: 130px">
<%# DataBinder.Eval(Container.DataItem, "ParentName")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
*****************************************************************************************************************************